/AWS1/CL_WA2RSPINSPECTIONHEA00¶
Configures inspection of the response header.
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:¶
iv_name TYPE /AWS1/WA2RSPINSPECTIONHEADER00 /AWS1/WA2RSPINSPECTIONHEADER00¶
The name of the header to match against. The name must be an exact match, including case.
JSON example:
"Name": [ "RequestResult" ]
it_successvalues TYPE /AWS1/CL_WA2RSPINSPECTIONHEA01=>TT_RSPINSPECTIONHEADERSUCCVALS TT_RSPINSPECTIONHEADERSUCCVALS¶
Values in the response header with the specified name 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 examples:
"SuccessValues": [ "LoginPassed", "Successful login" ]and"SuccessValues": [ "AccountCreated", "Successful account creation" ]
it_failurevalues TYPE /AWS1/CL_WA2RSPINSPECTIONHEA02=>TT_RSPINSPECTIONHEADERFAILUR00 TT_RSPINSPECTIONHEADERFAILUR00¶
Values in the response header with the specified name 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 examples:
"FailureValues": [ "LoginFailed", "Failed login" ]and"FailureValues": [ "AccountCreationFailed" ]
Queryable Attributes¶
Name¶
The name of the header to match against. The name must be an exact match, including case.
JSON example:
"Name": [ "RequestResult" ]
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
SuccessValues¶
Values in the response header with the specified name 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 examples:
"SuccessValues": [ "LoginPassed", "Successful login" ]and"SuccessValues": [ "AccountCreated", "Successful account creation" ]
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUCCESSVALUES() |
Getter for SUCCESSVALUES, with configurable default |
ASK_SUCCESSVALUES() |
Getter for SUCCESSVALUES w/ exceptions if field has no value |
HAS_SUCCESSVALUES() |
Determine if SUCCESSVALUES has a value |
FailureValues¶
Values in the response header with the specified name 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 examples:
"FailureValues": [ "LoginFailed", "Failed login" ]and"FailureValues": [ "AccountCreationFailed" ]
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FAILUREVALUES() |
Getter for FAILUREVALUES, with configurable default |
ASK_FAILUREVALUES() |
Getter for FAILUREVALUES w/ exceptions if field has no value |
HAS_FAILUREVALUES() |
Determine if FAILUREVALUES has a value |