#[non_exhaustive]pub struct AuditMitigationActionsTaskTarget {
pub audit_task_id: Option<String>,
pub finding_ids: Option<Vec<String>>,
pub audit_check_to_reason_code_filter: Option<HashMap<String, Vec<String>>>,
}
Expand description
Used in MitigationActionParams, this information identifies the target findings to which the mitigation actions are applied. Only one entry appears.
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.audit_task_id: Option<String>
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
finding_ids: Option<Vec<String>>
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
audit_check_to_reason_code_filter: Option<HashMap<String, Vec<String>>>
Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
Implementations§
source§impl AuditMitigationActionsTaskTarget
impl AuditMitigationActionsTaskTarget
sourcepub fn audit_task_id(&self) -> Option<&str>
pub fn audit_task_id(&self) -> Option<&str>
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
sourcepub fn finding_ids(&self) -> Option<&[String]>
pub fn finding_ids(&self) -> Option<&[String]>
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
source§impl AuditMitigationActionsTaskTarget
impl AuditMitigationActionsTaskTarget
sourcepub fn builder() -> AuditMitigationActionsTaskTargetBuilder
pub fn builder() -> AuditMitigationActionsTaskTargetBuilder
Creates a new builder-style object to manufacture AuditMitigationActionsTaskTarget
.
Trait Implementations§
source§impl Clone for AuditMitigationActionsTaskTarget
impl Clone for AuditMitigationActionsTaskTarget
source§fn clone(&self) -> AuditMitigationActionsTaskTarget
fn clone(&self) -> AuditMitigationActionsTaskTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<AuditMitigationActionsTaskTarget> for AuditMitigationActionsTaskTarget
impl PartialEq<AuditMitigationActionsTaskTarget> for AuditMitigationActionsTaskTarget
source§fn eq(&self, other: &AuditMitigationActionsTaskTarget) -> bool
fn eq(&self, other: &AuditMitigationActionsTaskTarget) -> bool
self
and other
values to be equal, and is used
by ==
.