public class Pscan extends PscanDeprecated
| Modifier and Type | Method and Description |
|---|---|
ApiResponse |
disableAllScanners()
Disables all passive scanners
|
ApiResponse |
disableScanners(java.lang.String ids)
Disables all passive scanners with the given IDs (comma separated list of IDs)
|
ApiResponse |
enableAllScanners()
Enables all passive scanners
|
ApiResponse |
enableScanners(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 |
scanOnlyInScope()
Tells whether or not the passive scan should be performed only on messages that are in scope.
|
ApiResponse |
setEnabled(java.lang.String enabled)
Sets whether or not the passive scanning is enabled (Note: the enabled state is not persisted).
|
ApiResponse |
setScannerAlertThreshold(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
|
ApiResponse |
setScanOnlyInScope(java.lang.String onlyinscope)
Sets whether or not the passive scan should be performed only on messages that are in scope.
|
disableAllScanners, disableScanners, enableAllScanners, enableScanners, setEnabled, setScannerAlertThresholdpublic Pscan(ClientApi api)
public ApiResponse scanOnlyInScope() throws ClientApiException
ClientApiExceptionpublic ApiResponse recordsToScan() throws ClientApiException
ClientApiExceptionpublic ApiResponse scanners() throws ClientApiException
ClientApiExceptionpublic ApiResponse setEnabled(java.lang.String enabled) throws ClientApiException
ClientApiExceptionpublic ApiResponse setScanOnlyInScope(java.lang.String onlyinscope) throws ClientApiException
ClientApiExceptionpublic ApiResponse enableAllScanners() throws ClientApiException
ClientApiExceptionpublic ApiResponse disableAllScanners() throws ClientApiException
ClientApiExceptionpublic ApiResponse enableScanners(java.lang.String ids) throws ClientApiException
ClientApiExceptionpublic ApiResponse disableScanners(java.lang.String ids) throws ClientApiException
ClientApiExceptionpublic ApiResponse setScannerAlertThreshold(java.lang.String id, java.lang.String alertthreshold) throws ClientApiException
ClientApiException