Package com.fortinet
Class VulnerabilityAction
- java.lang.Object
-
- com.fortinet.VulnerabilityAction
-
- All Implemented Interfaces:
Action,ModelObject,RunAction2
public class VulnerabilityAction extends Object implements RunAction2
-
-
Constructor Summary
Constructors Constructor Description VulnerabilityAction(CurrentBuildInfo currentBuildInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangenerateVulnerResult(PrintStream ps)List<AlertDto>getAlertDtoResult()BooleangetAlertInfo(PrintStream ps)StringgetDisplayName()StringgetIconFileName()List<ImageDto>getImageDtoList()StringgetImageName()voidgetImageVulnerabilityReport(PrintStream ps)RungetRun()StringgetUrlName()List<VulnerabilityEntity>getVulnerResult()Map<String,Integer>getVulnerSummaryReport(ImageDto imageDto)StringgetWebImageVulnerabilityAddress()StringgetWebPolicyCicdAddress()voidonAttached(Run<?,?> run)voidonLoad(Run<?,?> run)voidsetImageDtoList(List<ImageDto> imageDtoList)
-
-
-
Constructor Detail
-
VulnerabilityAction
public VulnerabilityAction(CurrentBuildInfo currentBuildInfo) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getWebPolicyCicdAddress
public String getWebPolicyCicdAddress()
-
getWebImageVulnerabilityAddress
public String getWebImageVulnerabilityAddress()
-
getRun
public Run getRun()
-
getImageName
public String getImageName()
-
getVulnerResult
public List<VulnerabilityEntity> getVulnerResult()
-
getImageVulnerabilityReport
public void getImageVulnerabilityReport(PrintStream ps) throws IOException
- Throws:
IOException
-
generateVulnerResult
public Boolean generateVulnerResult(PrintStream ps) throws IOException
- Throws:
IOException
-
getAlertInfo
public Boolean getAlertInfo(PrintStream ps) throws IOException
- Throws:
IOException
-
onAttached
public void onAttached(Run<?,?> run)
- Specified by:
onAttachedin interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoadin interfaceRunAction2
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
@CheckForNull public String getDisplayName()
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
@CheckForNull public String getUrlName()
- Specified by:
getUrlNamein interfaceAction
-
-