Struct aws_sdk_securityhub::types::Workflow
source · #[non_exhaustive]pub struct Workflow {
pub status: Option<WorkflowStatus>,
}Expand description
Provides details about the status of the investigation into a finding.
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.status: Option<WorkflowStatus>The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
-
NEW- The initial state of a finding, before it is reviewed.Security Hub also resets the workflow status from
NOTIFIEDorRESOLVEDtoNEWin the following cases:-
RecordStatechanges fromARCHIVEDtoACTIVE. -
ComplianceStatuschanges fromPASSEDto eitherWARNING,FAILED, orNOT_AVAILABLE.
-
-
NOTIFIED- Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. -
SUPPRESSED- Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated. -
RESOLVED- The finding was reviewed and remediated and is now considered resolved.
Implementations§
source§impl Workflow
impl Workflow
sourcepub fn status(&self) -> Option<&WorkflowStatus>
pub fn status(&self) -> Option<&WorkflowStatus>
The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.
The allowed values are the following.
-
NEW- The initial state of a finding, before it is reviewed.Security Hub also resets the workflow status from
NOTIFIEDorRESOLVEDtoNEWin the following cases:-
RecordStatechanges fromARCHIVEDtoACTIVE. -
ComplianceStatuschanges fromPASSEDto eitherWARNING,FAILED, orNOT_AVAILABLE.
-
-
NOTIFIED- Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner. -
SUPPRESSED- Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated. -
RESOLVED- The finding was reviewed and remediated and is now considered resolved.
Trait Implementations§
source§impl PartialEq for Workflow
impl PartialEq for Workflow
impl StructuralPartialEq for Workflow
Auto Trait Implementations§
impl Freeze for Workflow
impl RefUnwindSafe for Workflow
impl Send for Workflow
impl Sync for Workflow
impl Unpin for Workflow
impl UnwindSafe for Workflow
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