public class QualysCSClient extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PrintStream |
stream |
protected int |
timeout |
| Constructor and Description |
|---|
QualysCSClient(QualysAuth auth) |
QualysCSClient(QualysAuth auth,
PrintStream stream) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getAbsoluteUrl(String path) |
protected String |
getBasicAuthHeader() |
protected org.apache.http.impl.client.CloseableHttpClient |
getHttpClient() |
QualysCSResponse |
getScanDetails(String scanId) |
QualysCSResponse |
getScanResult(String scanId) |
QualysCSResponse |
getScanStatus(String scanId) |
QualysCSResponse |
getWebAppCount() |
QualysCSResponse |
getWebAppDetails(String webappId) |
QualysCSResponse |
launchWASScan(com.google.gson.JsonObject requestData) |
QualysCSResponse |
listAuthRecords(String xml) |
QualysCSResponse |
listOptionProfiles(String xml) |
QualysCSResponse |
listWebApps(String xml) |
void |
setTimeout(int timeout)
This method use to set connection timeout for http client.
|
void |
testConnection() |
protected PrintStream stream
protected int timeout
public QualysCSClient(QualysAuth auth)
public QualysCSClient(QualysAuth auth, PrintStream stream)
public QualysCSResponse getScanResult(String scanId)
public QualysCSResponse getScanDetails(String scanId)
public QualysCSResponse getWebAppCount()
public QualysCSResponse getScanStatus(String scanId)
public QualysCSResponse launchWASScan(com.google.gson.JsonObject requestData)
public QualysCSResponse getWebAppDetails(String webappId)
public QualysCSResponse listWebApps(String xml)
public QualysCSResponse listOptionProfiles(String xml)
public QualysCSResponse listAuthRecords(String xml)
public URL getAbsoluteUrl(String path) throws MalformedURLException
MalformedURLExceptionprotected String getBasicAuthHeader()
protected org.apache.http.impl.client.CloseableHttpClient getHttpClient()
throws KeyManagementException,
NoSuchAlgorithmException,
KeyStoreException
public void setTimeout(int timeout)
timeout - - int - in secsCopyright © 2016–2021 Qualys Inc.. All rights reserved.