Struct aws_sdk_networkfirewall::model::RulesSource
source · [−]#[non_exhaustive]pub struct RulesSource { /* private fields */ }
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.
Implementations
sourceimpl RulesSource
impl RulesSource
sourcepub fn rules_string(&self) -> Option<&str>
pub fn rules_string(&self) -> Option<&str>
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.
sourcepub fn rules_source_list(&self) -> Option<&RulesSourceList>
pub fn rules_source_list(&self) -> Option<&RulesSourceList>
Stateful inspection criteria for a domain list rule group.
sourcepub fn stateful_rules(&self) -> Option<&[StatefulRule]>
pub fn stateful_rules(&self) -> Option<&[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.
sourcepub fn stateless_rules_and_custom_actions(
&self
) -> Option<&StatelessRulesAndCustomActions>
pub fn stateless_rules_and_custom_actions(
&self
) -> Option<&StatelessRulesAndCustomActions>
Stateless inspection criteria to be used in a stateless rule group.
sourceimpl RulesSource
impl RulesSource
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RulesSource
.
Trait Implementations
sourceimpl Clone for RulesSource
impl Clone for RulesSource
sourcefn clone(&self) -> RulesSource
fn clone(&self) -> RulesSource
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more