ResponseInspectionJson
¶
Source code in docs_src/capo_wafv2/types/response_inspection_json.py
failure_values
instance-attribute
¶
failure_values: ResponseInspectionJsonFailureValues
Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt. To be counted as a failure, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "FailureValues": [ "False", "Failed" ]
identifier
instance-attribute
¶
identifier: FieldIdentifier
The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.
JSON examples: "Identifier": [ "/login/success" ] and "Identifier": [ "/sign-up/success" ]
success_values
instance-attribute
¶
success_values: ResponseInspectionJsonSuccessValues
Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt. To be counted as a success, the value must be an exact match, including case. Each value must be unique among the success and failure values.
JSON example: "SuccessValues": [ "True", "Succeeded" ]