Class: Aws::ObservabilityAdmin::Types::FieldToMatch

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb

Overview

Specifies a field in the request to redact from WAF logs, such as headers, query parameters, or body content.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#methodString

Redacts the HTTP method from WAF logs.

Returns:

  • (String)


752
753
754
755
756
757
758
759
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 752

class FieldToMatch < Struct.new(
  :single_header,
  :uri_path,
  :query_string,
  :method)
  SENSITIVE = []
  include Aws::Structure
end

#query_stringString

Redacts the entire query string from WAF logs.

Returns:

  • (String)


752
753
754
755
756
757
758
759
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 752

class FieldToMatch < Struct.new(
  :single_header,
  :uri_path,
  :query_string,
  :method)
  SENSITIVE = []
  include Aws::Structure
end

#single_headerTypes::SingleHeader

Redacts a specific header field by name from WAF logs.

Returns:



752
753
754
755
756
757
758
759
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 752

class FieldToMatch < Struct.new(
  :single_header,
  :uri_path,
  :query_string,
  :method)
  SENSITIVE = []
  include Aws::Structure
end

#uri_pathString

Redacts the URI path from WAF logs.

Returns:

  • (String)


752
753
754
755
756
757
758
759
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 752

class FieldToMatch < Struct.new(
  :single_header,
  :uri_path,
  :query_string,
  :method)
  SENSITIVE = []
  include Aws::Structure
end