Class: Aws::NetworkFirewall::Types::RulesSource

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

Overview

The stateless or stateful rules definitions for use in a single rule group. Each rule group requires a single RulesSource. You can use an instance of this for either stateless rules or stateful rules.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#rules_source_listTypes::RulesSourceList

Stateful inspection criteria for a domain list rule group.



3375
3376
3377
3378
3379
3380
3381
3382
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 3375

class RulesSource < Struct.new(
  :rules_string,
  :rules_source_list,
  :stateful_rules,
  :stateless_rules_and_custom_actions)
  SENSITIVE = []
  include Aws::Structure
end

#rules_stringString

Stateful inspection criteria, provided in Suricata compatible rules. Suricata is an open-source threat detection framework that includes a standard rule-based language for network traffic inspection.

These rules contain the inspection criteria and the action to take for traffic that matches the criteria, so this type of rule group doesn't have a separate action setting.

You can't use the priority keyword if the RuleOrder option in StatefulRuleOptions is set to STRICT_ORDER.

Returns:

  • (String)


3375
3376
3377
3378
3379
3380
3381
3382
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 3375

class RulesSource < Struct.new(
  :rules_string,
  :rules_source_list,
  :stateful_rules,
  :stateless_rules_and_custom_actions)
  SENSITIVE = []
  include Aws::Structure
end

#stateful_rulesArray<Types::StatefulRule>

An array of individual stateful rules inspection criteria to be used together in a stateful rule group. Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options. For information about the Suricata Rules format, see Rules Format.

Returns:



3375
3376
3377
3378
3379
3380
3381
3382
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 3375

class RulesSource < Struct.new(
  :rules_string,
  :rules_source_list,
  :stateful_rules,
  :stateless_rules_and_custom_actions)
  SENSITIVE = []
  include Aws::Structure
end

#stateless_rules_and_custom_actionsTypes::StatelessRulesAndCustomActions

Stateless inspection criteria to be used in a stateless rule group.



3375
3376
3377
3378
3379
3380
3381
3382
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 3375

class RulesSource < Struct.new(
  :rules_string,
  :rules_source_list,
  :stateful_rules,
  :stateless_rules_and_custom_actions)
  SENSITIVE = []
  include Aws::Structure
end