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)


21847
21848
21849
21850
21851
21852
21853
21854
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21847

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)


21847
21848
21849
21850
21851
21852
21853
21854
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21847

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.



21847
21848
21849
21850
21851
21852
21853
21854
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21847

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)


21847
21848
21849
21850
21851
21852
21853
21854
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 21847

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