public class WASScanLauncher extends Object
| Constructor and 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) |
| Modifier and Type | Method and 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) |
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)
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 scanId) throws Exception
Exceptionpublic org.json.JSONObject getKbData(String qids)
public Boolean batchAndGetKbData(com.google.gson.JsonObject scanResult)
public com.google.gson.JsonObject getScanResult(String scanId)
Copyright © 2016–2024 Qualys Inc.. All rights reserved.