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 ==
.impl StructuralPartialEq for RuleGroupSource
Auto Trait Implementations§
impl Freeze for RuleGroupSource
impl RefUnwindSafe for RuleGroupSource
impl Send for RuleGroupSource
impl Sync for RuleGroupSource
impl Unpin for RuleGroupSource
impl UnwindSafe for RuleGroupSource
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more