Struct aws_sdk_networkfirewall::model::RulesSource
source · [−]#[non_exhaustive]pub struct RulesSource {
pub rules_string: Option<String>,
pub rules_source_list: Option<RulesSourceList>,
pub stateful_rules: Option<Vec<StatefulRule>>,
pub stateless_rules_and_custom_actions: Option<StatelessRulesAndCustomActions>,
}
Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rules_string: Option<String>
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS 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.
rules_source_list: Option<RulesSourceList>
Stateful inspection criteria for a domain list rule group.
stateful_rules: Option<Vec<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.
stateless_rules_and_custom_actions: Option<StatelessRulesAndCustomActions>
Stateless inspection criteria to be used in a stateless rule group.
Implementations
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules. Suricata is an open-source network IPS 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.
Stateful inspection criteria for a domain list rule group.
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.
Stateless inspection criteria to be used in a stateless rule group.
Creates a new builder-style object to manufacture RulesSource
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RulesSource
impl Send for RulesSource
impl Sync for RulesSource
impl Unpin for RulesSource
impl UnwindSafe for RulesSource
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more