#[non_exhaustive]pub struct AutomationRulesFindingFieldsUpdate {
pub note: Option<NoteUpdate>,
pub severity: Option<SeverityUpdate>,
pub verification_state: Option<VerificationState>,
pub confidence: i32,
pub criticality: i32,
pub types: Option<Vec<String>>,
pub user_defined_fields: Option<HashMap<String, String>>,
pub workflow: Option<WorkflowUpdate>,
pub related_findings: Option<Vec<RelatedFinding>>,
}
Expand description
Identifies the finding fields that the automation rule action updates when a finding matches the defined criteria.
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.note: Option<NoteUpdate>
The updated note.
severity: Option<SeverityUpdate>
Updates to the severity information for a finding.
verification_state: Option<VerificationState>
The rule action updates the VerificationState
field of a finding.
confidence: i32
The rule action updates the Confidence
field of a finding.
criticality: i32
The rule action updates the Criticality
field of a finding.
types: Option<Vec<String>>
The rule action updates the Types
field of a finding.
user_defined_fields: Option<HashMap<String, String>>
The rule action updates the UserDefinedFields
field of a finding.
workflow: Option<WorkflowUpdate>
Used to update information about the investigation into the finding.
The rule action updates the RelatedFindings
field of a finding.
Implementations§
source§impl AutomationRulesFindingFieldsUpdate
impl AutomationRulesFindingFieldsUpdate
sourcepub fn note(&self) -> Option<&NoteUpdate>
pub fn note(&self) -> Option<&NoteUpdate>
The updated note.
sourcepub fn severity(&self) -> Option<&SeverityUpdate>
pub fn severity(&self) -> Option<&SeverityUpdate>
Updates to the severity information for a finding.
sourcepub fn verification_state(&self) -> Option<&VerificationState>
pub fn verification_state(&self) -> Option<&VerificationState>
The rule action updates the VerificationState
field of a finding.
sourcepub fn confidence(&self) -> i32
pub fn confidence(&self) -> i32
The rule action updates the Confidence
field of a finding.
sourcepub fn criticality(&self) -> i32
pub fn criticality(&self) -> i32
The rule action updates the Criticality
field of a finding.
sourcepub fn types(&self) -> Option<&[String]>
pub fn types(&self) -> Option<&[String]>
The rule action updates the Types
field of a finding.
sourcepub fn user_defined_fields(&self) -> Option<&HashMap<String, String>>
pub fn user_defined_fields(&self) -> Option<&HashMap<String, String>>
The rule action updates the UserDefinedFields
field of a finding.
sourcepub fn workflow(&self) -> Option<&WorkflowUpdate>
pub fn workflow(&self) -> Option<&WorkflowUpdate>
Used to update information about the investigation into the finding.
The rule action updates the RelatedFindings
field of a finding.
source§impl AutomationRulesFindingFieldsUpdate
impl AutomationRulesFindingFieldsUpdate
sourcepub fn builder() -> AutomationRulesFindingFieldsUpdateBuilder
pub fn builder() -> AutomationRulesFindingFieldsUpdateBuilder
Creates a new builder-style object to manufacture AutomationRulesFindingFieldsUpdate
.
Trait Implementations§
source§impl Clone for AutomationRulesFindingFieldsUpdate
impl Clone for AutomationRulesFindingFieldsUpdate
source§fn clone(&self) -> AutomationRulesFindingFieldsUpdate
fn clone(&self) -> AutomationRulesFindingFieldsUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AutomationRulesFindingFieldsUpdate
impl PartialEq for AutomationRulesFindingFieldsUpdate
source§fn eq(&self, other: &AutomationRulesFindingFieldsUpdate) -> bool
fn eq(&self, other: &AutomationRulesFindingFieldsUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.