Class GetImageVulns
java.lang.Object
com.qualys.plugins.containerSecurity.GetImageVulns
-
Constructor Summary
ConstructorsConstructorDescriptionGetImageVulns(QualysCSClient client, QualysAuth auth, Run<?, ?> run, TaskListener listener, int pollingIntervalForVulns, int vulnsTimeout, String webhookUrl, com.google.gson.JsonObject criteria, boolean isFailConditionsConfigured, ProxyConfiguration proxyConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAndProcessDockerImagesScanResult(HashMap<String, String> imageList, long taggingTime) com.google.gson.JsonObjectgetTrendingForImage(String imageID, com.google.gson.JsonObject reportObj) com.google.gson.JsonObjectmakeFailReasonObject(String imageId, com.google.gson.JsonObject scanReportObj) com.google.gson.JsonObjectmakeWebhookDataObject(String imageId, com.google.gson.JsonObject scanReportObj) voidpostWebhookData(Set<String> imageList, com.google.gson.JsonObject scanReportObj) void
-
Constructor Details
-
GetImageVulns
public GetImageVulns(QualysCSClient client, QualysAuth auth, Run<?, ?> run, TaskListener listener, int pollingIntervalForVulns, int vulnsTimeout, String webhookUrl, com.google.gson.JsonObject criteria, boolean isFailConditionsConfigured, ProxyConfiguration proxyConfiguration)
-
-
Method Details
-
getAndProcessDockerImagesScanResult
public void getAndProcessDockerImagesScanResult(HashMap<String, String> imageList, long taggingTime) throws AbortException, QualysEvaluationException -
processResult
public void processResult(HashMap<String, String> imageList, Map<String, throws AbortException, QualysEvaluationExceptionFuture<String>> list) -
getTrendingForImage
public com.google.gson.JsonObject getTrendingForImage(String imageID, com.google.gson.JsonObject reportObj) -
postWebhookData
-
makeFailReasonObject
public com.google.gson.JsonObject makeFailReasonObject(String imageId, com.google.gson.JsonObject scanReportObj) -
makeWebhookDataObject
public com.google.gson.JsonObject makeWebhookDataObject(String imageId, com.google.gson.JsonObject scanReportObj)
-