Package org.zaproxy.clientapi.gen
Class AccessControl
java.lang.Object
org.zaproxy.clientapi.gen.AccessControl
This file was automatically generated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetScanProgress
(String contextid) Gets the Access Control scan progress (percentage integer) for the given context ID.getScanStatus
(String contextid) Gets the Access Control scan status (description string) for the given context ID.scan
(String contextid, String userid, String scanasunauthuser, String raisealert, String alertrisklevel) Starts an Access Control scan with the given context ID and user ID.writeHTMLreport
(String contextid, String filename) Generates an Access Control report for the given context ID and saves it based on the provided filename (path).
-
Constructor Details
-
AccessControl
-
-
Method Details
-
getScanProgress
Gets the Access Control scan progress (percentage integer) for the given context ID.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
getScanStatus
Gets the Access Control scan status (description string) for the given context ID.This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
scan
public ApiResponse scan(String contextid, String userid, String scanasunauthuser, String raisealert, String alertrisklevel) throws ClientApiException 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.]This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-
writeHTMLreport
Generates an Access Control report for the given context ID and saves it based on the provided filename (path).This component is optional and therefore the API will only work if it is installed
- Throws:
ClientApiException
-