Package com.vdoo.vision.plugin
Class ScannerAction
- java.lang.Object
-
- com.vdoo.vision.plugin.ScannerAction
-
- All Implemented Interfaces:
Action
,ModelObject
,Serializable
,RunAction2
public class ScannerAction extends Object implements RunAction2, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
REPORT_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, TaskListener listener, Run<?,?> run, FilePath workspace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArtifactName()
String
getDisplayName()
String
getFirmwareUUID()
String
getFwName()
int
getHighlightedCVEsCount()
int
getHighlightedExposuresCount()
int
getHighlightedIssuesCount()
String
getIconFileName()
int
getMaliciousFiles()
String
getReportLink()
Run
getRun()
String
getThreatLevel()
String
getUrlName()
Secret
getVdooToken()
Boolean
getWaitForResults()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
void
setFwName()
void
setReportLink()
-
-
-
Field Detail
-
REPORT_DIRECTORY_NAME
public static final String REPORT_DIRECTORY_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ScannerAction
public ScannerAction(Secret vdooToken, String failThreshold, String maxHighlightedIssues, String maxHighlightedExposures, String maxHighlightedCVEs, String maxMaliciousFiles, Integer artifactId, String firmwareLocation, String baseApi, Boolean waitForResults, TaskListener listener, Run<?,?> run, FilePath workspace) throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getArtifactName
public String getArtifactName()
-
getFwName
public String getFwName()
-
setFwName
public void setFwName()
-
getReportLink
public String getReportLink()
-
setReportLink
public void setReportLink()
-
getVdooToken
public Secret getVdooToken()
-
getFirmwareUUID
public String getFirmwareUUID()
-
getThreatLevel
public String getThreatLevel()
-
getHighlightedIssuesCount
public int getHighlightedIssuesCount()
-
getHighlightedExposuresCount
public int getHighlightedExposuresCount()
-
getHighlightedCVEsCount
public int getHighlightedCVEsCount()
-
getMaliciousFiles
public int getMaliciousFiles()
-
getWaitForResults
public Boolean getWaitForResults()
-
onAttached
public void onAttached(Run<?,?> run)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoad
in interfaceRunAction2
-
getRun
public Run getRun()
-
-