Class: Aws::NetworkFirewall::Types::RulesSourceList

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

Overview

Stateful inspection criteria for a domain list rule group.

For HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.

By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the HOME_NET rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see RuleVariables in this guide and Stateful domain list rule groups in Network Firewall in the Network Firewall Developer Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#generated_rules_typeString

Whether you want to apply allow, reject, alert, or drop behavior to the domains in your target list.

When logging is enabled and you choose Alert, traffic that matches the domain specifications generates an alert in the firewall's logs. Then, traffic either passes, is rejected, or drops based on other rules in the firewall policy.

Returns:

  • (String)


5221
5222
5223
5224
5225
5226
5227
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 5221

class RulesSourceList < Struct.new(
  :targets,
  :target_types,
  :generated_rules_type)
  SENSITIVE = []
  include Aws::Structure
end

#target_typesArray<String>

The protocols you want to inspect. Specify TLS_SNI for HTTPS. Specify HTTP_HOST for HTTP. You can specify either or both.

Returns:

  • (Array<String>)


5221
5222
5223
5224
5225
5226
5227
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 5221

class RulesSourceList < Struct.new(
  :targets,
  :target_types,
  :generated_rules_type)
  SENSITIVE = []
  include Aws::Structure
end

#targetsArray<String>

The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:

  • Explicit names. For example, abc.example.com matches only the domain abc.example.com.

  • Names that use a domain wildcard, which you indicate with an initial '.'. For example,.example.com matches example.com and matches all subdomains of example.com, such as abc.example.com and www.example.com.

Returns:

  • (Array<String>)


5221
5222
5223
5224
5225
5226
5227
# File 'gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/types.rb', line 5221

class RulesSourceList < Struct.new(
  :targets,
  :target_types,
  :generated_rules_type)
  SENSITIVE = []
  include Aws::Structure
end