Struct aws_sdk_securityhub::model::Compliance
source · [−]#[non_exhaustive]pub struct Compliance {
pub status: Option<ComplianceStatus>,
pub related_requirements: Option<Vec<String>>,
pub status_reasons: Option<Vec<StatusReason>>,
}
Expand description
Contains finding details that are specific to control-based findings. Only returned for findings generated from controls.
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<ComplianceStatus>
The result of a standards check.
The valid values for Status
are as follows.
-
-
PASSED
- Standards check passed for all evaluated resources. -
WARNING
- Some information is missing or this check is not supported for your configuration. -
FAILED
- Standards check failed for at least one evaluated resource. -
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because the result of the Config evaluation wasNOT_APPLICABLE
. If the Config evaluation result wasNOT_APPLICABLE
, then after 3 days, Security Hub automatically archives the finding.
-
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
status_reasons: Option<Vec<StatusReason>>
For findings generated from controls, a list of reasons behind the value of Status
. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
Implementations
The result of a standards check.
The valid values for Status
are as follows.
-
-
PASSED
- Standards check passed for all evaluated resources. -
WARNING
- Some information is missing or this check is not supported for your configuration. -
FAILED
- Standards check failed for at least one evaluated resource. -
NOT_AVAILABLE
- Check could not be performed due to a service outage, API error, or because the result of the Config evaluation wasNOT_APPLICABLE
. If the Config evaluation result wasNOT_APPLICABLE
, then after 3 days, Security Hub automatically archives the finding.
-
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
For findings generated from controls, a list of reasons behind the value of Status
. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.
Creates a new builder-style object to manufacture Compliance
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Compliance
impl Send for Compliance
impl Sync for Compliance
impl Unpin for Compliance
impl UnwindSafe for Compliance
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more