ResponseInspectionStatusCode - AWS WAFV2

ResponseInspectionStatusCode

Configures inspection of the response status code. This is part of the ResponseInspection configuration for AWSManagedRulesATPRuleSet and AWSManagedRulesACFPRuleSet.

Note

Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.

Contents

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 ]

Type: Array of integers

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Valid Range: Minimum value of 0. Maximum value of 999.

Required: Yes

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 ]

Type: Array of integers

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Valid Range: Minimum value of 0. Maximum value of 999.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: