Struct aws_sdk_auditmanager::model::Insights
source · [−]#[non_exhaustive]pub struct Insights {
pub active_assessments_count: Option<i32>,
pub noncompliant_evidence_count: Option<i32>,
pub compliant_evidence_count: Option<i32>,
pub inconclusive_evidence_count: Option<i32>,
pub assessment_controls_count_by_noncompliant_evidence: Option<i32>,
pub total_assessment_controls_count: Option<i32>,
pub last_updated: Option<DateTime>,
}
Expand description
A summary of the latest analytics data for all your active assessments.
This summary is a snapshot of the data that your active assessments collected on the lastUpdated
date. It’s important to understand that the following totals are daily counts based on this date — they aren’t a total sum to date.
The Insights
data is eventually consistent. This means that, when you read data from Insights
, the response might not instantly reflect the results of a recently completed write or update operation. If you repeat your read request after a few hours, the response should return the latest data.
If you delete an assessment or change its status to inactive, InsightsByAssessment
includes data for that assessment as follows.
-
Inactive assessments - If Audit Manager collected evidence for your assessment before you changed it inactive, that evidence is included in the
InsightsByAssessment
counts for that day. -
Deleted assessments - If Audit Manager collected evidence for your assessment before you deleted it, that evidence isn't included in the
InsightsByAssessment
counts for that day.
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.active_assessments_count: Option<i32>
The number of active assessments in Audit Manager.
noncompliant_evidence_count: Option<i32>
The number of compliance check evidence that Audit Manager classified as non-compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
compliant_evidence_count: Option<i32>
The number of compliance check evidence that Audit Manager classified as compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
inconclusive_evidence_count: Option<i32>
The number of evidence without a compliance check ruling. Evidence is inconclusive when the associated control uses Security Hub or Config as a data source but you didn't enable those services. This is also the case when a control uses a data source that doesn’t support compliance checks (for example: manual evidence, API calls, or CloudTrail).
If evidence has a compliance check status of not applicable, it's classed as inconclusive in Insights
data.
assessment_controls_count_by_noncompliant_evidence: Option<i32>
The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.
total_assessment_controls_count: Option<i32>
The total number of controls across all active assessments.
last_updated: Option<DateTime>
The time when the cross-assessment insights were last updated.
Implementations
sourceimpl Insights
impl Insights
sourcepub fn active_assessments_count(&self) -> Option<i32>
pub fn active_assessments_count(&self) -> Option<i32>
The number of active assessments in Audit Manager.
sourcepub fn noncompliant_evidence_count(&self) -> Option<i32>
pub fn noncompliant_evidence_count(&self) -> Option<i32>
The number of compliance check evidence that Audit Manager classified as non-compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
sourcepub fn compliant_evidence_count(&self) -> Option<i32>
pub fn compliant_evidence_count(&self) -> Option<i32>
The number of compliance check evidence that Audit Manager classified as compliant on the lastUpdated
date. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
sourcepub fn inconclusive_evidence_count(&self) -> Option<i32>
pub fn inconclusive_evidence_count(&self) -> Option<i32>
The number of evidence without a compliance check ruling. Evidence is inconclusive when the associated control uses Security Hub or Config as a data source but you didn't enable those services. This is also the case when a control uses a data source that doesn’t support compliance checks (for example: manual evidence, API calls, or CloudTrail).
If evidence has a compliance check status of not applicable, it's classed as inconclusive in Insights
data.
sourcepub fn assessment_controls_count_by_noncompliant_evidence(&self) -> Option<i32>
pub fn assessment_controls_count_by_noncompliant_evidence(&self) -> Option<i32>
The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.
sourcepub fn total_assessment_controls_count(&self) -> Option<i32>
pub fn total_assessment_controls_count(&self) -> Option<i32>
The total number of controls across all active assessments.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The time when the cross-assessment insights were last updated.
Trait Implementations
impl StructuralPartialEq for Insights
Auto Trait Implementations
impl RefUnwindSafe for Insights
impl Send for Insights
impl Sync for Insights
impl Unpin for Insights
impl UnwindSafe for Insights
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