Package com.qualys.plugins.pc
Class PCScanLauncher
- java.lang.Object
-
- com.qualys.plugins.pc.PCScanLauncher
-
public class PCScanLauncher extends Object
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddAssetGroup()booleanaddAuthRecord()booleanaddHost()booleancheckScanResult(String scanRef)voidgetAndProcessLaunchReport()booleangetLaunchScanResult()StringgetScanFinishedStatus(String scanIdRef)Map<String,String>launchScan()booleanupdatePoliciesWithAssetGroup()StringwaitForScanComplete(String scanIdRef)
-
-
-
Constructor Detail
-
PCScanLauncher
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
- Throws:
IOExceptionInterruptedException
-
-
Method Detail
-
getAndProcessLaunchReport
public void getAndProcessLaunchReport() throws Exception- Throws:
Exception
-
waitForScanComplete
public String waitForScanComplete(String scanIdRef) throws TimeOutException, Exception
- Throws:
TimeOutExceptionException
-
updatePoliciesWithAssetGroup
public boolean updatePoliciesWithAssetGroup() throws Exception- Throws:
Exception
-
-