Class: Aws::SecurityAgent::Types::NetworkTrafficRule

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

Overview

A rule that controls network traffic during penetration testing by allowing or denying traffic to specific URL patterns.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#effect ⇒ String

The effect of the rule. Valid values are ALLOW and DENY.

Returns:

  • (String)


6552
6553
6554
6555
6556
6557
6558
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 6552

class NetworkTrafficRule < Struct.new(
  :effect,
  :pattern,
  :network_traffic_rule_type)
  SENSITIVE = []
  include Aws::Structure
end

#network_traffic_rule_type ⇒ String

The type of the network traffic rule. Currently, only URL is supported.

Returns:

  • (String)


6552
6553
6554
6555
6556
6557
6558
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 6552

class NetworkTrafficRule < Struct.new(
  :effect,
  :pattern,
  :network_traffic_rule_type)
  SENSITIVE = []
  include Aws::Structure
end

#pattern ⇒ String

The URL pattern to match for the rule.

Returns:

  • (String)


6552
6553
6554
6555
6556
6557
6558
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 6552

class NetworkTrafficRule < Struct.new(
  :effect,
  :pattern,
  :network_traffic_rule_type)
  SENSITIVE = []
  include Aws::Structure
end