Struct aws_sdk_securityhub::types::RuleGroupSource
source · #[non_exhaustive]pub struct RuleGroupSource {
pub rules_source_list: Option<RuleGroupSourceListDetails>,
pub rules_string: Option<String>,
pub stateful_rules: Option<Vec<RuleGroupSourceStatefulRulesDetails>>,
pub stateless_rules_and_custom_actions: Option<RuleGroupSourceStatelessRulesAndCustomActionsDetails>,
}
Expand description
The rules and actions for the rule group.
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_source_list: Option<RuleGroupSourceListDetails>
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
rules_string: Option<String>
Stateful inspection criteria, provided in Suricata compatible intrusion prevention system (IPS) rules.
stateful_rules: Option<Vec<RuleGroupSourceStatefulRulesDetails>>
Suricata rule specifications.
stateless_rules_and_custom_actions: Option<RuleGroupSourceStatelessRulesAndCustomActionsDetails>
The stateless rules and custom actions used by a stateless rule group.
Implementations§
source§impl RuleGroupSource
impl RuleGroupSource
sourcepub fn rules_source_list(&self) -> Option<&RuleGroupSourceListDetails>
pub fn rules_source_list(&self) -> Option<&RuleGroupSourceListDetails>
Stateful inspection criteria for a domain list rule group. A domain list rule group determines access by specific protocols to specific domains.
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.
sourcepub fn stateful_rules(&self) -> &[RuleGroupSourceStatefulRulesDetails]
pub fn stateful_rules(&self) -> &[RuleGroupSourceStatefulRulesDetails]
Suricata rule specifications.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stateful_rules.is_none()
.
sourcepub fn stateless_rules_and_custom_actions(
&self
) -> Option<&RuleGroupSourceStatelessRulesAndCustomActionsDetails>
pub fn stateless_rules_and_custom_actions( &self ) -> Option<&RuleGroupSourceStatelessRulesAndCustomActionsDetails>
The stateless rules and custom actions used by a stateless rule group.
source§impl RuleGroupSource
impl RuleGroupSource
sourcepub fn builder() -> RuleGroupSourceBuilder
pub fn builder() -> RuleGroupSourceBuilder
Creates a new builder-style object to manufacture RuleGroupSource
.
Trait Implementations§
source§impl Clone for RuleGroupSource
impl Clone for RuleGroupSource
source§fn clone(&self) -> RuleGroupSource
fn clone(&self) -> RuleGroupSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleGroupSource
impl Debug for RuleGroupSource
source§impl PartialEq for RuleGroupSource
impl PartialEq for RuleGroupSource
source§fn eq(&self, other: &RuleGroupSource) -> bool
fn eq(&self, other: &RuleGroupSource) -> bool
self
and other
values to be equal, and is used
by ==
.