Struct aws_sdk_securityhub::types::AutomationRulesAction
source · #[non_exhaustive]pub struct AutomationRulesAction {
pub type: Option<AutomationRulesActionType>,
pub finding_fields_update: Option<AutomationRulesFindingFieldsUpdate>,
}
Expand description
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
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.type: Option<AutomationRulesActionType>
Specifies that the rule action should update the Types
finding field. The Types
finding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.
finding_fields_update: Option<AutomationRulesFindingFieldsUpdate>
Specifies that the automation rule action is an update to a finding field.
Implementations§
source§impl AutomationRulesAction
impl AutomationRulesAction
sourcepub fn type(&self) -> Option<&AutomationRulesActionType>
pub fn type(&self) -> Option<&AutomationRulesActionType>
Specifies that the rule action should update the Types
finding field. The Types
finding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.
sourcepub fn finding_fields_update(
&self
) -> Option<&AutomationRulesFindingFieldsUpdate>
pub fn finding_fields_update( &self ) -> Option<&AutomationRulesFindingFieldsUpdate>
Specifies that the automation rule action is an update to a finding field.
source§impl AutomationRulesAction
impl AutomationRulesAction
sourcepub fn builder() -> AutomationRulesActionBuilder
pub fn builder() -> AutomationRulesActionBuilder
Creates a new builder-style object to manufacture AutomationRulesAction
.
Trait Implementations§
source§impl Clone for AutomationRulesAction
impl Clone for AutomationRulesAction
source§fn clone(&self) -> AutomationRulesAction
fn clone(&self) -> AutomationRulesAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutomationRulesAction
impl Debug for AutomationRulesAction
source§impl PartialEq for AutomationRulesAction
impl PartialEq for AutomationRulesAction
source§fn eq(&self, other: &AutomationRulesAction) -> bool
fn eq(&self, other: &AutomationRulesAction) -> bool
self
and other
values to be equal, and is used
by ==
.