ResponseInspectionBodyContains
¶
Source code in docs_src/capo_wafv2/types/response_inspection_body_contains.py
failure_strings
instance-attribute
¶
failure_strings: ResponseInspectionBodyContainsFailureStrings
Strings in the body of the response that indicate a failed login or account creation attempt. To be counted as a failure, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
JSON example: "FailureStrings": [ "Request failed" ]
success_strings
instance-attribute
¶
success_strings: ResponseInspectionBodyContainsSuccessStrings
Strings in the body of the response that indicate a successful login or account creation attempt. To be counted as a success, the string can be anywhere in the body and must be an exact match, including case. Each string must be unique among the success and failure strings.
JSON examples: "SuccessStrings": [ "Login successful" ] and "SuccessStrings": [ "Account creation successful", "Welcome to our site!" ]