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 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)
-
-
-
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:
IOException
InterruptedException
-
-
Method Detail
-
getAndProcessLaunchReport
public void getAndProcessLaunchReport() throws Exception
- Throws:
Exception
-
waitForScanComplete
public String waitForScanComplete(String scanIdRef) throws TimeOutException, Exception
- Throws:
TimeOutException
Exception
-
updatePoliciesWithAssetGroup
public boolean updatePoliciesWithAssetGroup() throws Exception
- Throws:
Exception
-
-