Struct aws_sdk_auditmanager::model::Evidence
source · [−]#[non_exhaustive]pub struct Evidence {Show 15 fields
pub data_source: Option<String>,
pub evidence_aws_account_id: Option<String>,
pub time: Option<DateTime>,
pub event_source: Option<String>,
pub event_name: Option<String>,
pub evidence_by_type: Option<String>,
pub resources_included: Option<Vec<Resource>>,
pub attributes: Option<HashMap<String, String>>,
pub iam_id: Option<String>,
pub compliance_check: Option<String>,
pub aws_organization: Option<String>,
pub aws_account_id: Option<String>,
pub evidence_folder_id: Option<String>,
pub id: Option<String>,
pub assessment_report_selection: Option<String>,
}
Expand description
A record that contains the information needed to demonstrate compliance with the requirements specified by a control. Examples of evidence include change activity triggered by a user, or a system configuration snapshot.
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.data_source: Option<String>
The data source where the evidence was collected from.
evidence_aws_account_id: Option<String>
The identifier for the Amazon Web Services account.
time: Option<DateTime>
The timestamp that represents when the evidence was collected.
event_source: Option<String>
The Amazon Web Service that the evidence is collected from.
event_name: Option<String>
The name of the evidence event.
evidence_by_type: Option<String>
The type of automated evidence.
resources_included: Option<Vec<Resource>>
The list of resources that are assessed to generate the evidence.
attributes: Option<HashMap<String, String>>
The names and values that are used by the evidence event. This includes an attribute name (such as allowUsersToChangePassword
) and value (such as true
or false
).
iam_id: Option<String>
The unique identifier for the IAM user or role that's associated with the evidence.
compliance_check: Option<String>
The evaluation status for evidence that falls under the compliance check category. For evidence collected from Security Hub, a Pass or Fail result is shown. For evidence collected from Config, a Compliant or Noncompliant result is shown.
aws_organization: Option<String>
The Amazon Web Services account that the evidence is collected from, and its organization path.
aws_account_id: Option<String>
The identifier for the Amazon Web Services account.
evidence_folder_id: Option<String>
The identifier for the folder that the evidence is stored in.
id: Option<String>
The identifier for the evidence.
assessment_report_selection: Option<String>
Specifies whether the evidence is included in the assessment report.
Implementations
sourceimpl Evidence
impl Evidence
sourcepub fn data_source(&self) -> Option<&str>
pub fn data_source(&self) -> Option<&str>
The data source where the evidence was collected from.
sourcepub fn evidence_aws_account_id(&self) -> Option<&str>
pub fn evidence_aws_account_id(&self) -> Option<&str>
The identifier for the Amazon Web Services account.
sourcepub fn time(&self) -> Option<&DateTime>
pub fn time(&self) -> Option<&DateTime>
The timestamp that represents when the evidence was collected.
sourcepub fn event_source(&self) -> Option<&str>
pub fn event_source(&self) -> Option<&str>
The Amazon Web Service that the evidence is collected from.
sourcepub fn event_name(&self) -> Option<&str>
pub fn event_name(&self) -> Option<&str>
The name of the evidence event.
sourcepub fn evidence_by_type(&self) -> Option<&str>
pub fn evidence_by_type(&self) -> Option<&str>
The type of automated evidence.
sourcepub fn resources_included(&self) -> Option<&[Resource]>
pub fn resources_included(&self) -> Option<&[Resource]>
The list of resources that are assessed to generate the evidence.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
The names and values that are used by the evidence event. This includes an attribute name (such as allowUsersToChangePassword
) and value (such as true
or false
).
sourcepub fn iam_id(&self) -> Option<&str>
pub fn iam_id(&self) -> Option<&str>
The unique identifier for the IAM user or role that's associated with the evidence.
sourcepub fn compliance_check(&self) -> Option<&str>
pub fn compliance_check(&self) -> Option<&str>
The evaluation status for evidence that falls under the compliance check category. For evidence collected from Security Hub, a Pass or Fail result is shown. For evidence collected from Config, a Compliant or Noncompliant result is shown.
sourcepub fn aws_organization(&self) -> Option<&str>
pub fn aws_organization(&self) -> Option<&str>
The Amazon Web Services account that the evidence is collected from, and its organization path.
sourcepub fn aws_account_id(&self) -> Option<&str>
pub fn aws_account_id(&self) -> Option<&str>
The identifier for the Amazon Web Services account.
sourcepub fn evidence_folder_id(&self) -> Option<&str>
pub fn evidence_folder_id(&self) -> Option<&str>
The identifier for the folder that the evidence is stored in.
sourcepub fn assessment_report_selection(&self) -> Option<&str>
pub fn assessment_report_selection(&self) -> Option<&str>
Specifies whether the evidence is included in the assessment report.
Trait Implementations
impl StructuralPartialEq for Evidence
Auto Trait Implementations
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnwindSafe for Evidence
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more