public class VMScanLauncher extends Object
| Constructor and Description |
|---|
VMScanLauncher(Run<?,?> run,
TaskListener listener,
String hostIp,
String ec2Id,
String ec2ConnName,
String ec2Endpoint,
String scannerName,
String scanName,
String optionProfile,
boolean isFailConditionsConfigured,
String pollingIntervalStr,
String vulnsTimeoutStr,
com.google.gson.JsonObject criteriaObject,
boolean useHost,
boolean useEc2,
QualysAuth auth,
String webhookUrl,
String byCvss,
String network) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonObject |
evaluateFailurePolicy(com.google.gson.JsonObject result) |
com.google.gson.JsonObject |
fetchScanResult(String scanIdRef) |
void |
getAndProcessLaunchScanResult() |
String |
getScanFinishedStatus(String scanIdRef) |
com.google.gson.JsonObject |
getScanResult(String scanIdRef) |
Map<String,String> |
launchScan() |
void |
postWebhookData(String machine,
com.google.gson.JsonObject scanReportObj) |
public VMScanLauncher(Run<?,?> run, TaskListener listener, String hostIp, String ec2Id, String ec2ConnName, String ec2Endpoint, String scannerName, String scanName, String optionProfile, boolean isFailConditionsConfigured, String pollingIntervalStr, String vulnsTimeoutStr, com.google.gson.JsonObject criteriaObject, boolean useHost, boolean useEc2, QualysAuth auth, String webhookUrl, String byCvss, String network)
public void getAndProcessLaunchScanResult()
throws Exception
Exceptionpublic com.google.gson.JsonObject evaluateFailurePolicy(com.google.gson.JsonObject result)
throws Exception
Exceptionpublic com.google.gson.JsonObject fetchScanResult(String scanIdRef) throws TimeOutException, Exception
TimeOutExceptionExceptionpublic com.google.gson.JsonObject getScanResult(String scanIdRef) throws Exception
Exceptionpublic void postWebhookData(String machine, com.google.gson.JsonObject scanReportObj)
Copyright © 2016–2022 Qualys Inc.. All rights reserved.