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 Boolean
generateVulnerResult(PrintStream ps)
List<AlertDto>
getAlertDtoResult()
Boolean
getAlertInfo(PrintStream ps)
String
getDisplayName()
String
getIconFileName()
List<ImageDto>
getImageDtoList()
String
getImageName()
void
getImageVulnerabilityReport(PrintStream ps)
Run
getRun()
String
getUrlName()
List<VulnerabilityEntity>
getVulnerResult()
Map<String,Integer>
getVulnerSummaryReport(ImageDto imageDto)
String
getWebImageVulnerabilityAddress()
String
getWebPolicyCicdAddress()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
void
setImageDtoList(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:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoad
in interfaceRunAction2
-
getIconFileName
@CheckForNull public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
@CheckForNull public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
@CheckForNull public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
-