public class Pscan
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
ApiResponse |
disableAllScanners(java.lang.String apikey)
Disables all passive scanners
|
ApiResponse |
disableScanners(java.lang.String apikey,
java.lang.String ids)
Disables all passive scanners with the given IDs (comma separated list of IDs)
|
ApiResponse |
enableAllScanners(java.lang.String apikey)
Enables all passive scanners
|
ApiResponse |
enableScanners(java.lang.String apikey,
java.lang.String ids)
Enables all passive scanners with the given IDs (comma separated list of IDs)
|
ApiResponse |
recordsToScan()
The number of records the passive scanner still has to scan
|
ApiResponse |
scanners()
Lists all passive scanners with its ID, name, enabled state and alert threshold.
|
ApiResponse |
setEnabled(java.lang.String apikey,
java.lang.String enabled)
Sets whether or not the passive scanning is enabled
|
ApiResponse |
setScannerAlertThreshold(java.lang.String apikey,
java.lang.String id,
java.lang.String alertthreshold)
Sets the alert threshold of the passive scanner with the given ID, accepted values for alert threshold: OFF, DEFAULT, LOW, MEDIUM and HIGH
|
public Pscan(ClientApi api)
public ApiResponse recordsToScan() throws ClientApiException
ClientApiException
public ApiResponse scanners() throws ClientApiException
ClientApiException
public ApiResponse setEnabled(java.lang.String apikey, java.lang.String enabled) throws ClientApiException
ClientApiException
public ApiResponse enableAllScanners(java.lang.String apikey) throws ClientApiException
ClientApiException
public ApiResponse disableAllScanners(java.lang.String apikey) throws ClientApiException
ClientApiException
public ApiResponse enableScanners(java.lang.String apikey, java.lang.String ids) throws ClientApiException
ClientApiException
public ApiResponse disableScanners(java.lang.String apikey, java.lang.String ids) throws ClientApiException
ClientApiException
public ApiResponse setScannerAlertThreshold(java.lang.String apikey, java.lang.String id, java.lang.String alertthreshold) throws ClientApiException
ClientApiException