Class: Aws::WAFV2::Types::ResponseInspectionJson

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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`.

<note markdown=“1”> Response inspection is available only in web ACLs that protect Amazon CloudFront distributions.

</note>

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#failure_valuesArray<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” ]`

Returns:

  • (Array<String>)


7492
7493
7494
7495
7496
7497
7498
# File 'lib/aws-sdk-wafv2/types.rb', line 7492

class ResponseInspectionJson < Struct.new(
  :identifier,
  :success_values,
  :failure_values)
  SENSITIVE = []
  include Aws::Structure
end

#identifierString

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” ]`

Returns:

  • (String)


7492
7493
7494
7495
7496
7497
7498
# File 'lib/aws-sdk-wafv2/types.rb', line 7492

class ResponseInspectionJson < Struct.new(
  :identifier,
  :success_values,
  :failure_values)
  SENSITIVE = []
  include Aws::Structure
end

#success_valuesArray<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” ]`

Returns:

  • (Array<String>)


7492
7493
7494
7495
7496
7497
7498
# File 'lib/aws-sdk-wafv2/types.rb', line 7492

class ResponseInspectionJson < Struct.new(
  :identifier,
  :success_values,
  :failure_values)
  SENSITIVE = []
  include Aws::Structure
end