Class GetImageVulns
- java.lang.Object
-
- com.qualys.plugins.containerSecurity.GetImageVulns
-
public class GetImageVulns extends Object
-
-
Constructor Summary
Constructors Constructor Description GetImageVulns(com.qualys.plugins.common.QualysClient.QualysCSClient client, com.qualys.plugins.common.QualysAuth.QualysAuth auth, Run<?,?> run, TaskListener listener, int pollingIntervalForVulns, int vulnsTimeout, String webhookUrl, qshaded.com.google.gson.JsonObject criteria, boolean isFailConditionsConfigured, ProxyConfiguration proxyConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getAndProcessDockerImagesScanResult(HashMap<String,String> imageList, long taggingTime)
qshaded.com.google.gson.JsonObject
getTrendingForImage(String imageID, qshaded.com.google.gson.JsonObject reportObj)
qshaded.com.google.gson.JsonObject
makeFailReasonObject(String imageId, qshaded.com.google.gson.JsonObject scanReportObj)
qshaded.com.google.gson.JsonObject
makeWebhookDataObject(String imageId, qshaded.com.google.gson.JsonObject scanReportObj)
void
postWebhookData(Set<String> imageList, qshaded.com.google.gson.JsonObject scanReportObj)
void
processResult(HashMap<String,String> imageList, Map<String,Future<String>> list)
-
-
-
Constructor Detail
-
GetImageVulns
public GetImageVulns(com.qualys.plugins.common.QualysClient.QualysCSClient client, com.qualys.plugins.common.QualysAuth.QualysAuth auth, Run<?,?> run, TaskListener listener, int pollingIntervalForVulns, int vulnsTimeout, String webhookUrl, qshaded.com.google.gson.JsonObject criteria, boolean isFailConditionsConfigured, ProxyConfiguration proxyConfiguration)
-
-
Method Detail
-
getAndProcessDockerImagesScanResult
public void getAndProcessDockerImagesScanResult(HashMap<String,String> imageList, long taggingTime) throws AbortException, QualysEvaluationException
-
processResult
public void processResult(HashMap<String,String> imageList, Map<String,Future<String>> list) throws AbortException, QualysEvaluationException
-
getTrendingForImage
public qshaded.com.google.gson.JsonObject getTrendingForImage(String imageID, qshaded.com.google.gson.JsonObject reportObj)
-
postWebhookData
public void postWebhookData(Set<String> imageList, qshaded.com.google.gson.JsonObject scanReportObj)
-
makeFailReasonObject
public qshaded.com.google.gson.JsonObject makeFailReasonObject(String imageId, qshaded.com.google.gson.JsonObject scanReportObj)
-
makeWebhookDataObject
public qshaded.com.google.gson.JsonObject makeWebhookDataObject(String imageId, qshaded.com.google.gson.JsonObject scanReportObj)
-
-