Class: Aws::WAFV2::Types::ResponseInspection
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::ResponseInspection
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-wafv2/types.rb
Overview
The criteria for inspecting responses to login requests and account creation requests, used by the ATP and ACFP rule groups to track login and account creation success and failure rates.
<note markdown=“1”> Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.
</note>
The rule groups evaluates the responses that your protected resources send back to client login and account creation attempts, keeping count of successful and failed attempts from each IP address and client session. Using this information, the rule group labels and mitigates requests from client sessions and IP addresses with too much suspicious activity in a short amount of time.
This is part of the ‘AWSManagedRulesATPRuleSet` and `AWSManagedRulesACFPRuleSet` configurations in `ManagedRuleGroupConfig`.
Enable response inspection by configuring exactly one component of the response to inspect, for example, ‘Header` or `StatusCode`. You can’t configure more than one component for inspection. If you don’t configure any of the response inspection options, response inspection is disabled.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#body_contains ⇒ Types::ResponseInspectionBodyContains
Configures inspection of the response body for success and failure indicators.
-
#header ⇒ Types::ResponseInspectionHeader
Configures inspection of the response header for success and failure indicators.
-
#json ⇒ Types::ResponseInspectionJson
Configures inspection of the response JSON for success and failure indicators.
-
#status_code ⇒ Types::ResponseInspectionStatusCode
Configures inspection of the response status code for success and failure indicators.
Instance Attribute Details
#body_contains ⇒ Types::ResponseInspectionBodyContains
Configures inspection of the response body for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response body.
7362 7363 7364 7365 7366 7367 7368 7369 |
# File 'lib/aws-sdk-wafv2/types.rb', line 7362 class ResponseInspection < Struct.new( :status_code, :header, :body_contains, :json) SENSITIVE = [] include Aws::Structure end |
#header ⇒ Types::ResponseInspectionHeader
Configures inspection of the response header for success and failure indicators.
7362 7363 7364 7365 7366 7367 7368 7369 |
# File 'lib/aws-sdk-wafv2/types.rb', line 7362 class ResponseInspection < Struct.new( :status_code, :header, :body_contains, :json) SENSITIVE = [] include Aws::Structure end |
#json ⇒ Types::ResponseInspectionJson
Configures inspection of the response JSON for success and failure indicators. WAF can inspect the first 65,536 bytes (64 KB) of the response JSON.
7362 7363 7364 7365 7366 7367 7368 7369 |
# File 'lib/aws-sdk-wafv2/types.rb', line 7362 class ResponseInspection < Struct.new( :status_code, :header, :body_contains, :json) SENSITIVE = [] include Aws::Structure end |
#status_code ⇒ Types::ResponseInspectionStatusCode
Configures inspection of the response status code for success and failure indicators.
7362 7363 7364 7365 7366 7367 7368 7369 |
# File 'lib/aws-sdk-wafv2/types.rb', line 7362 class ResponseInspection < Struct.new( :status_code, :header, :body_contains, :json) SENSITIVE = [] include Aws::Structure end |