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 BooleanbatchAndGetKbData(com.google.gson.JsonObject scanResult)com.google.gson.JsonObjectevaluateFailurePolicy(com.google.gson.JsonObject result)com.google.gson.JsonObjectfetchScanResult(String scanId)voidgetAndProcessLaunchScanResult()org.json.JSONObjectgetKbData(String qids)StringgetScanFinishedStatus(String scanId)com.google.gson.JsonObjectgetScanResult(String scanId)Map<String,String>getWebappDetails(String id)StringlaunchScan()BooleanprocessBatch(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)
-
-