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

#method ⇒ String

Redacts the HTTP method from WAF logs.

Returns:

  • (String)


909
910
911
912
913
914
915
916
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 909

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

#query_string ⇒ String

Redacts the entire query string from WAF logs.

Returns:

  • (String)


909
910
911
912
913
914
915
916
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 909

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

#single_header ⇒ Types::SingleHeader

Redacts a specific header field by name from WAF logs.

Returns:



909
910
911
912
913
914
915
916
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 909

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

#uri_path ⇒ String

Redacts the URI path from WAF logs.

Returns:

  • (String)


909
910
911
912
913
914
915
916
# File 'gems/aws-sdk-observabilityadmin/lib/aws-sdk-observabilityadmin/types.rb', line 909

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