ZAP API UI

Component: pscan

Views

currentRuleShow information about the passive scan rule currently being run (if any).
maxAlertsPerRuleGets the maximum number of alerts a passive scan rule should raise.
recordsToScanThe number of records the passive scanner still has to scan
scanOnlyInScopeTells whether or not the passive scan should be performed only on messages that are in scope.
scannersLists all passive scanners with its ID, name, enabled state and alert threshold.

Actions

disableAllScannersDisables all passive scanners
disableAllTagsDisables all passive scan tags.
disableScanners (ids* ) Disables all passive scanners with the given IDs (comma separated list of IDs)
enableAllScannersEnables all passive scanners
enableAllTagsEnables all passive scan tags.
enableScanners (ids* ) Enables all passive scanners with the given IDs (comma separated list of IDs)
setEnabled (enabled* ) Sets whether or not the passive scanning is enabled (Note: the enabled state is not persisted).
setMaxAlertsPerRule (maxAlerts* ) Sets the maximum number of alerts a passive scan rule should raise.
setScanOnlyInScope (onlyInScope* ) Sets whether or not the passive scan should be performed only on messages that are in scope.
setScannerAlertThreshold (id* alertThreshold* ) Sets the alert threshold of the passive scanner with the given ID, accepted values for alert threshold: OFF, DEFAULT, LOW, MEDIUM and HIGH