FlowLogCaptureFilterRuleDetails

class oci.core.models.FlowLogCaptureFilterRuleDetails(**kwargs)

Bases: object

The set of rules governing what traffic the VCN flow log collects.

Attributes

FLOW_LOG_TYPE_ACCEPT A constant which can be used with the flow_log_type property of a FlowLogCaptureFilterRuleDetails.
FLOW_LOG_TYPE_ALL A constant which can be used with the flow_log_type property of a FlowLogCaptureFilterRuleDetails.
FLOW_LOG_TYPE_REJECT A constant which can be used with the flow_log_type property of a FlowLogCaptureFilterRuleDetails.
RULE_ACTION_EXCLUDE A constant which can be used with the rule_action property of a FlowLogCaptureFilterRuleDetails.
RULE_ACTION_INCLUDE A constant which can be used with the rule_action property of a FlowLogCaptureFilterRuleDetails.
destination_cidr Gets the destination_cidr of this FlowLogCaptureFilterRuleDetails.
flow_log_type Gets the flow_log_type of this FlowLogCaptureFilterRuleDetails.
icmp_options Gets the icmp_options of this FlowLogCaptureFilterRuleDetails.
is_enabled Gets the is_enabled of this FlowLogCaptureFilterRuleDetails.
priority Gets the priority of this FlowLogCaptureFilterRuleDetails.
protocol Gets the protocol of this FlowLogCaptureFilterRuleDetails.
rule_action Gets the rule_action of this FlowLogCaptureFilterRuleDetails.
sampling_rate Gets the sampling_rate of this FlowLogCaptureFilterRuleDetails.
source_cidr Gets the source_cidr of this FlowLogCaptureFilterRuleDetails.
tcp_options Gets the tcp_options of this FlowLogCaptureFilterRuleDetails.
udp_options Gets the udp_options of this FlowLogCaptureFilterRuleDetails.

Methods

__init__(**kwargs) Initializes a new FlowLogCaptureFilterRuleDetails object with values from keyword arguments.
FLOW_LOG_TYPE_ACCEPT = 'ACCEPT'

A constant which can be used with the flow_log_type property of a FlowLogCaptureFilterRuleDetails. This constant has a value of “ACCEPT”

FLOW_LOG_TYPE_ALL = 'ALL'

A constant which can be used with the flow_log_type property of a FlowLogCaptureFilterRuleDetails. This constant has a value of “ALL”

FLOW_LOG_TYPE_REJECT = 'REJECT'

A constant which can be used with the flow_log_type property of a FlowLogCaptureFilterRuleDetails. This constant has a value of “REJECT”

RULE_ACTION_EXCLUDE = 'EXCLUDE'

A constant which can be used with the rule_action property of a FlowLogCaptureFilterRuleDetails. This constant has a value of “EXCLUDE”

RULE_ACTION_INCLUDE = 'INCLUDE'

A constant which can be used with the rule_action property of a FlowLogCaptureFilterRuleDetails. This constant has a value of “INCLUDE”

__init__(**kwargs)

Initializes a new FlowLogCaptureFilterRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • is_enabled (bool) – The value to assign to the is_enabled property of this FlowLogCaptureFilterRuleDetails.
  • priority (int) – The value to assign to the priority property of this FlowLogCaptureFilterRuleDetails.
  • sampling_rate (int) – The value to assign to the sampling_rate property of this FlowLogCaptureFilterRuleDetails.
  • source_cidr (str) – The value to assign to the source_cidr property of this FlowLogCaptureFilterRuleDetails.
  • destination_cidr (str) – The value to assign to the destination_cidr property of this FlowLogCaptureFilterRuleDetails.
  • protocol (str) – The value to assign to the protocol property of this FlowLogCaptureFilterRuleDetails.
  • icmp_options (oci.core.models.IcmpOptions) – The value to assign to the icmp_options property of this FlowLogCaptureFilterRuleDetails.
  • tcp_options (oci.core.models.TcpOptions) – The value to assign to the tcp_options property of this FlowLogCaptureFilterRuleDetails.
  • udp_options (oci.core.models.UdpOptions) – The value to assign to the udp_options property of this FlowLogCaptureFilterRuleDetails.
  • flow_log_type (str) – The value to assign to the flow_log_type property of this FlowLogCaptureFilterRuleDetails. Allowed values for this property are: “ALL”, “REJECT”, “ACCEPT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • rule_action (str) – The value to assign to the rule_action property of this FlowLogCaptureFilterRuleDetails. Allowed values for this property are: “INCLUDE”, “EXCLUDE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
destination_cidr

Gets the destination_cidr of this FlowLogCaptureFilterRuleDetails. Traffic to this CIDR will be captured in the VCN flow log.

Returns:The destination_cidr of this FlowLogCaptureFilterRuleDetails.
Return type:str
flow_log_type

Gets the flow_log_type of this FlowLogCaptureFilterRuleDetails. Type or types of VCN flow logs to store. ALL includes records for both accepted traffic and rejected traffic.

Allowed values for this property are: “ALL”, “REJECT”, “ACCEPT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The flow_log_type of this FlowLogCaptureFilterRuleDetails.
Return type:str
icmp_options

Gets the icmp_options of this FlowLogCaptureFilterRuleDetails.

Returns:The icmp_options of this FlowLogCaptureFilterRuleDetails.
Return type:oci.core.models.IcmpOptions
is_enabled

Gets the is_enabled of this FlowLogCaptureFilterRuleDetails. Indicates whether a VCN flow log capture filter rule is enabled.

Returns:The is_enabled of this FlowLogCaptureFilterRuleDetails.
Return type:bool
priority

Gets the priority of this FlowLogCaptureFilterRuleDetails. A lower number indicates a higher priority, range 0-9. Each rule must have a distinct priority.

Returns:The priority of this FlowLogCaptureFilterRuleDetails.
Return type:int
protocol

Gets the protocol of this FlowLogCaptureFilterRuleDetails. The transport protocol the filter uses.

Returns:The protocol of this FlowLogCaptureFilterRuleDetails.
Return type:str
rule_action

Gets the rule_action of this FlowLogCaptureFilterRuleDetails. Include or exclude a ruleAction object.

Allowed values for this property are: “INCLUDE”, “EXCLUDE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The rule_action of this FlowLogCaptureFilterRuleDetails.
Return type:str
sampling_rate

Gets the sampling_rate of this FlowLogCaptureFilterRuleDetails. Sampling interval as 1 of X, where X is an integer not greater than 100000.

Returns:The sampling_rate of this FlowLogCaptureFilterRuleDetails.
Return type:int
source_cidr

Gets the source_cidr of this FlowLogCaptureFilterRuleDetails. Traffic from this CIDR will be captured in the VCN flow log.

Returns:The source_cidr of this FlowLogCaptureFilterRuleDetails.
Return type:str
tcp_options

Gets the tcp_options of this FlowLogCaptureFilterRuleDetails.

Returns:The tcp_options of this FlowLogCaptureFilterRuleDetails.
Return type:oci.core.models.TcpOptions
udp_options

Gets the udp_options of this FlowLogCaptureFilterRuleDetails.

Returns:The udp_options of this FlowLogCaptureFilterRuleDetails.
Return type:oci.core.models.UdpOptions