/AWS1/CL_WA2RSPINSPECTIONSTA00¶
Configures inspection of the response status code.
This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet.
Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
it_successcodes TYPE /AWS1/CL_WA2RSPINSPECTIONSTA01=>TT_RSPINSPECTIONSTATCODESUCC00 TT_RSPINSPECTIONSTATCODESUCC00¶
Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.
JSON example:
"SuccessCodes": [ 200, 201 ]
it_failurecodes TYPE /AWS1/CL_WA2RSPINSPECTIONSTA02=>TT_RSPINSPECTIONSTATCODEFAIL00 TT_RSPINSPECTIONSTATCODEFAIL00¶
Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.
JSON example:
"FailureCodes": [ 400, 404 ]
Queryable Attributes¶
SuccessCodes¶
Status codes in the response that indicate a successful login or account creation attempt. To be counted as a success, the response status code must match one of these. Each code must be unique among the success and failure status codes.
JSON example:
"SuccessCodes": [ 200, 201 ]
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUCCESSCODES() |
Getter for SUCCESSCODES, with configurable default |
ASK_SUCCESSCODES() |
Getter for SUCCESSCODES w/ exceptions if field has no value |
HAS_SUCCESSCODES() |
Determine if SUCCESSCODES has a value |
FailureCodes¶
Status codes in the response that indicate a failed login or account creation attempt. To be counted as a failure, the response status code must match one of these. Each code must be unique among the success and failure status codes.
JSON example:
"FailureCodes": [ 400, 404 ]
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FAILURECODES() |
Getter for FAILURECODES, with configurable default |
ASK_FAILURECODES() |
Getter for FAILURECODES w/ exceptions if field has no value |
HAS_FAILURECODES() |
Determine if FAILURECODES has a value |