Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 834 Bytes

ApiGen_authorization.md

File metadata and controls

11 lines (8 loc) · 834 Bytes

ZAP 2.7.0 API

Component: authorization

Name Type Parameters Description
getAuthorizationDetectionMethod view contextId* Obtains all the configuration of the authorization detection method that is currently set for a context.
setBasicAuthorizationDetectionMethod action contextId* headerRegex bodyRegex statusCode logicalOperator Sets the authorization detection method for a context as one that identifies un-authorized messages based on: the message's status code or a regex pattern in the response's header or body. Also, whether all conditions must match or just some can be specified via the logicalOperator parameter, which accepts two values: "AND" (default), "OR".

Starred parameters are mandatory

Back to index