Struct aws_sdk_auditmanager::types::Resource
source · #[non_exhaustive]pub struct Resource {
pub arn: Option<String>,
pub value: Option<String>,
pub compliance_check: Option<String>,
}
Expand description
A system asset that's evaluated in an Audit Manager assessment.
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.arn: Option<String>
The Amazon Resource Name (ARN) for the resource.
value: Option<String>
The value of the resource.
compliance_check: Option<String>
The evaluation status for a resource that was assessed when collecting compliance check evidence.
-
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
-
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
-
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).
Implementations§
source§impl Resource
impl Resource
sourcepub fn compliance_check(&self) -> Option<&str>
pub fn compliance_check(&self) -> Option<&str>
The evaluation status for a resource that was assessed when collecting compliance check evidence.
-
Audit Manager classes the resource as non-compliant if Security Hub reports a Fail result, or if Config reports a Non-compliant result.
-
Audit Manager classes the resource as compliant if Security Hub reports a Pass result, or if Config reports a Compliant result.
-
If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).