Class: Aws::WAFV2::Types::ResponseInspectionJson
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::ResponseInspectionJson
- Defined in:
- gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb
Overview
Configures inspection of the response JSON. WAF can inspect the first
65,536 bytes (64 KB) of the response JSON. This is part of the
ResponseInspection configuration for AWSManagedRulesATPRuleSet and
AWSManagedRulesACFPRuleSet.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#failure_values ⇒ Array<String>
Values for the specified identifier in the response JSON that indicate a failed login or account creation attempt.
-
#identifier ⇒ String
The identifier for the value to match against in the JSON.
-
#success_values ⇒ Array<String>
Values for the specified identifier in the response JSON that indicate a successful login or account creation attempt.
Instance Attribute Details
#failure_values ⇒ Array<String>
Values for the specified identifier in the response JSON 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 example: "FailureValues": [ "False", "Failed" ]
8188 8189 8190 8191 8192 8193 8194 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 8188 class ResponseInspectionJson < Struct.new( :identifier, :success_values, :failure_values) SENSITIVE = [] include Aws::Structure end |
#identifier ⇒ String
The identifier for the value to match against in the JSON. The identifier must be an exact match, including case.
JSON examples: "Identifier": [ "/login/success" ] and
"Identifier": [ "/sign-up/success" ]
8188 8189 8190 8191 8192 8193 8194 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 8188 class ResponseInspectionJson < Struct.new( :identifier, :success_values, :failure_values) SENSITIVE = [] include Aws::Structure end |
#success_values ⇒ Array<String>
Values for the specified identifier in the response JSON 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 example: "SuccessValues": [ "True", "Succeeded" ]
8188 8189 8190 8191 8192 8193 8194 |
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 8188 class ResponseInspectionJson < Struct.new( :identifier, :success_values, :failure_values) SENSITIVE = [] include Aws::Structure end |