Struct aws_sdk_auditmanager::types::InsightsByAssessment
source · #[non_exhaustive]pub struct InsightsByAssessment {
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 a specific active assessment.
This summary is a snapshot of the data that was collected on the lastUpdated date. It’s important to understand that the totals in InsightsByAssessment are daily counts based on this date — they aren’t a total sum to date.
The InsightsByAssessment data is eventually consistent. This means that when you read data from InsightsByAssessment, 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 returns 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
InsightsByAssessmentcounts for that day. -
Deleted assessments - If Audit Manager collected evidence for your assessment before you deleted it, that evidence isn't included in the
InsightsByAssessmentcounts 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.noncompliant_evidence_count: Option<i32>The number of compliance check evidence that Audit Manager classified as non-compliant. 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. 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 amount of evidence without a compliance check ruling. Evidence is inconclusive if the associated control uses Security Hub or Config as a data source and you didn't enable those services. This is also the case if 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 classified as inconclusive in InsightsByAssessment 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 in the assessment.
last_updated: Option<DateTime>The time when the assessment insights were last updated.
Implementations§
source§impl InsightsByAssessment
impl InsightsByAssessment
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. 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. 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 amount of evidence without a compliance check ruling. Evidence is inconclusive if the associated control uses Security Hub or Config as a data source and you didn't enable those services. This is also the case if 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 classified as inconclusive in InsightsByAssessment 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 in the assessment.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The time when the assessment insights were last updated.
source§impl InsightsByAssessment
impl InsightsByAssessment
sourcepub fn builder() -> InsightsByAssessmentBuilder
pub fn builder() -> InsightsByAssessmentBuilder
Creates a new builder-style object to manufacture InsightsByAssessment.
Trait Implementations§
source§impl Clone for InsightsByAssessment
impl Clone for InsightsByAssessment
source§fn clone(&self) -> InsightsByAssessment
fn clone(&self) -> InsightsByAssessment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for InsightsByAssessment
impl Debug for InsightsByAssessment
source§impl PartialEq for InsightsByAssessment
impl PartialEq for InsightsByAssessment
source§fn eq(&self, other: &InsightsByAssessment) -> bool
fn eq(&self, other: &InsightsByAssessment) -> bool
self and other values to be equal, and is used
by ==.