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)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 744

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)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 744

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:



744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 744

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)


744
745
746
747
748
749
750
751
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 744

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