Package com.qualys.plugins.wasPlugin
Class WASScanLauncher
- java.lang.Object
-
- com.qualys.plugins.wasPlugin.WASScanLauncher
-
public class WASScanLauncher extends Object
-
-
Constructor Summary
Constructors Constructor Description WASScanLauncher(Run<?,?> run, TaskListener listener, String webAppId, String scanName, String scanType, String authRecord, String optionProfile, String cancelOptions, String authRecordId, String optionProfileId, String cancelHours, boolean isFailConditionsConfigured, String pollingIntervalStr, String vulnsTimeoutStr, com.google.gson.JsonObject criteriaObject, String apiServer, String apiUser, String apiPass, boolean useProxy, String proxyServer, int proxyPort, String proxyUsername, String proxyPassword, String portalUrl, boolean failOnScanError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
batchAndGetKbData(com.google.gson.JsonObject scanResult)
com.google.gson.JsonObject
evaluateFailurePolicy(com.google.gson.JsonObject result)
com.google.gson.JsonObject
fetchScanResult(String scanId)
void
getAndProcessLaunchScanResult()
org.json.JSONObject
getKbData(String qids)
String
getScanFinishedStatus(String scanId)
com.google.gson.JsonObject
getScanResult(String scanId)
Map<String,String>
getWebappDetails(String id)
String
launchScan()
Boolean
processBatch(String qids)
-
-
-
Constructor Detail
-
WASScanLauncher
public WASScanLauncher(Run<?,?> run, TaskListener listener, String webAppId, String scanName, String scanType, String authRecord, String optionProfile, String cancelOptions, String authRecordId, String optionProfileId, String cancelHours, boolean isFailConditionsConfigured, String pollingIntervalStr, String vulnsTimeoutStr, com.google.gson.JsonObject criteriaObject, String apiServer, String apiUser, String apiPass, boolean useProxy, String proxyServer, int proxyPort, String proxyUsername, String proxyPassword, String portalUrl, boolean failOnScanError)
-
-
Method Detail
-
getAndProcessLaunchScanResult
public void getAndProcessLaunchScanResult() throws Exception
- Throws:
Exception
-
evaluateFailurePolicy
public com.google.gson.JsonObject evaluateFailurePolicy(com.google.gson.JsonObject result) throws Exception
- Throws:
Exception
-
fetchScanResult
public com.google.gson.JsonObject fetchScanResult(String scanId) throws Exception
- Throws:
Exception
-
getKbData
public org.json.JSONObject getKbData(String qids)
-
batchAndGetKbData
public Boolean batchAndGetKbData(com.google.gson.JsonObject scanResult)
-
getScanResult
public com.google.gson.JsonObject getScanResult(String scanId)
-
-