Class: Aws::SecurityHub::Types::AwsWafRuleDetails

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

Overview

Provides information about a WAF rule. This rule specifies the web requests that you want to allow, block, or count.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_nameString

The name of the metrics for this rule.

Returns:

  • (String)


20759
20760
20761
20762
20763
20764
20765
20766
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 20759

class AwsWafRuleDetails < Struct.new(
  :metric_name,
  :name,
  :predicate_list,
  :rule_id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A descriptive name for the rule.

Returns:

  • (String)


20759
20760
20761
20762
20763
20764
20765
20766
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 20759

class AwsWafRuleDetails < Struct.new(
  :metric_name,
  :name,
  :predicate_list,
  :rule_id)
  SENSITIVE = []
  include Aws::Structure
end

#predicate_listArray<Types::AwsWafRulePredicateListDetails>

Specifies the ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, RegexMatchSet, GeoMatchSet, and SizeConstraintSet objects that you want to add to a rule and, for each object, indicates whether you want to negate the settings.



20759
20760
20761
20762
20763
20764
20765
20766
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 20759

class AwsWafRuleDetails < Struct.new(
  :metric_name,
  :name,
  :predicate_list,
  :rule_id)
  SENSITIVE = []
  include Aws::Structure
end

#rule_idString

The ID of the WAF rule.

Returns:

  • (String)


20759
20760
20761
20762
20763
20764
20765
20766
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 20759

class AwsWafRuleDetails < Struct.new(
  :metric_name,
  :name,
  :predicate_list,
  :rule_id)
  SENSITIVE = []
  include Aws::Structure
end