Package com.vdoo.vision.plugin
Class ScannerAction
java.lang.Object
com.vdoo.vision.plugin.ScannerAction
- All Implemented Interfaces:
Action,ModelObject,RunAction2
public class ScannerAction extends Object implements RunAction2
-
Field Summary
Fields Modifier and Type Field Description static StringREPORT_DIRECTORY_NAME -
Constructor Summary
Constructors Constructor Description ScannerAction(Secret vdooToken, String failThreshold, String maxHighlightedIssues, String maxHighlightedExposures, String maxHighlightedCVEs, String maxMaliciousFiles, Integer artifactId, String firmwareLocation, String baseApi, Boolean waitForResults, PrintStream logger, Run<?,?> run) -
Method Summary
Modifier and Type Method Description StringgetArtifactName()StringgetDisplayName()StringgetFirmwareUUID()StringgetFwName()intgetHighlightedCVEsCount()intgetHighlightedExposuresCount()intgetHighlightedIssuesCount()StringgetIconFileName()intgetMaliciousFiles()StringgetReportLink()RungetRun()StringgetThreatLevel()StringgetUrlName()SecretgetVdooToken()BooleangetWaitForResults()voidonAttached(Run<?,?> run)voidonLoad(Run<?,?> run)voidsetFwName()voidsetReportLink()
-
Field Details
-
REPORT_DIRECTORY_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ScannerAction
public ScannerAction(Secret vdooToken, String failThreshold, String maxHighlightedIssues, String maxHighlightedExposures, String maxHighlightedCVEs, String maxMaliciousFiles, Integer artifactId, String firmwareLocation, String baseApi, Boolean waitForResults, PrintStream logger, Run<?,?> run) throws IOException, InterruptedException- Throws:
IOExceptionInterruptedException
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getArtifactName
-
getFwName
-
setFwName
public void setFwName() -
getReportLink
-
setReportLink
public void setReportLink() -
getVdooToken
-
getFirmwareUUID
-
getThreatLevel
-
getHighlightedIssuesCount
public int getHighlightedIssuesCount() -
getHighlightedExposuresCount
public int getHighlightedExposuresCount() -
getHighlightedCVEsCount
public int getHighlightedCVEsCount() -
getMaliciousFiles
public int getMaliciousFiles() -
getWaitForResults
-
onAttached
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
- Specified by:
onLoadin interfaceRunAction2
-
getRun
-