public class PCScanLauncher extends Object
| Constructor and Description |
|---|
PCScanLauncher(Run<?,?> run,
TaskListener listener,
String hostIp,
String ec2Id,
String ec2ConnName,
String ec2Endpoint,
String ec2PrivateIpAddress,
String scannerName,
String scanName,
String optionProfile,
String pollingIntervalStr,
String vulnsTimeoutStr,
boolean useHost,
boolean useEc2,
QualysAuth auth,
org.json.JSONObject selectedPoliciesJson,
boolean stateFail,
boolean stateError,
boolean stateExceptions,
boolean criticalitySerious,
boolean criticalityUrgent,
boolean criticalityCritical,
boolean criticalityMedium,
boolean criticalityMinimal,
boolean failByAuth,
String excludedCids,
String unixAndWindowsCredentialsId,
String unixAndWindowsCredentials,
boolean failByStateAndCriticality,
boolean excludedCriteria) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAssetGroup() |
boolean |
addAuthRecord() |
boolean |
addHost() |
boolean |
checkScanResult(String scanRef) |
void |
getAndProcessLaunchReport() |
boolean |
getLaunchScanResult() |
String |
getScanFinishedStatus(String scanIdRef) |
Map<String,String> |
launchScan() |
boolean |
updatePoliciesWithAssetGroup() |
String |
waitForScanComplete(String scanIdRef) |
public PCScanLauncher(Run<?,?> run, TaskListener listener, String hostIp, String ec2Id, String ec2ConnName, String ec2Endpoint, String ec2PrivateIpAddress, String scannerName, String scanName, String optionProfile, String pollingIntervalStr, String vulnsTimeoutStr, boolean useHost, boolean useEc2, QualysAuth auth, org.json.JSONObject selectedPoliciesJson, boolean stateFail, boolean stateError, boolean stateExceptions, boolean criticalitySerious, boolean criticalityUrgent, boolean criticalityCritical, boolean criticalityMedium, boolean criticalityMinimal, boolean failByAuth, String excludedCids, String unixAndWindowsCredentialsId, String unixAndWindowsCredentials, boolean failByStateAndCriticality, boolean excludedCriteria) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void getAndProcessLaunchReport()
throws Exception
Exceptionpublic String waitForScanComplete(String scanIdRef) throws TimeOutException, Exception
TimeOutExceptionExceptionpublic boolean updatePoliciesWithAssetGroup()
throws Exception
ExceptionCopyright © 2016–2020 Qualys Inc.. All rights reserved.