ZAP API UI

Component: accessControl

Views

getScanProgress (contextId* ) Gets the Access Control scan progress (percentage integer) for the given context ID.
getScanStatus (contextId* ) Gets the Access Control scan status (description string) for the given context ID.

Actions

scan (contextId* userId* scanAsUnAuthUser raiseAlert alertRiskLevel ) Starts an Access Control scan with the given context ID and user ID. (Optional parameters: user ID for Unauthenticated user, boolean identifying whether or not Alerts are raised, and the Risk level for the Alerts.) [This assumes the Access Control rules were previously established via ZAP gui and the necessary Context exported/imported.]
writeHTMLreport (contextId* fileName* ) Generates an Access Control report for the given context ID and saves it based on the provided filename (path).