/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
* The If you delete an assessment or change its status to inactive,
* Inactive assessments - If Audit Manager
* collected evidence for your assessment before you changed it inactive, that
* evidence is included in the Deleted assessments - If Audit Manager collected
* evidence for your assessment before you deleted it, that evidence isn't included
* in 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. 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.InsightsByAssessment
includes data for that assessment as
* follows.
* InsightsByAssessment
counts for that
* day.InsightsByAssessment
counts for that day.See Also:
AWS
* API Reference
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.
*/ inline int GetNoncompliantEvidenceCount() const{ return m_noncompliantEvidenceCount; } /** *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.
*/ inline bool NoncompliantEvidenceCountHasBeenSet() const { return m_noncompliantEvidenceCountHasBeenSet; } /** *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.
*/ inline void SetNoncompliantEvidenceCount(int value) { m_noncompliantEvidenceCountHasBeenSet = true; m_noncompliantEvidenceCount = value; } /** *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.
*/ inline InsightsByAssessment& WithNoncompliantEvidenceCount(int value) { SetNoncompliantEvidenceCount(value); return *this;} /** *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. *
*/ inline int GetCompliantEvidenceCount() const{ return m_compliantEvidenceCount; } /** *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. *
*/ inline bool CompliantEvidenceCountHasBeenSet() const { return m_compliantEvidenceCountHasBeenSet; } /** *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. *
*/ inline void SetCompliantEvidenceCount(int value) { m_compliantEvidenceCountHasBeenSet = true; m_compliantEvidenceCount = value; } /** *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. *
*/ inline InsightsByAssessment& WithCompliantEvidenceCount(int value) { SetCompliantEvidenceCount(value); return *this;} /** *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.
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.
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.
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.
The number of assessment controls that collected non-compliant evidence on
* the lastUpdated
date.
The number of assessment controls that collected non-compliant evidence on
* the lastUpdated
date.
The number of assessment controls that collected non-compliant evidence on
* the lastUpdated
date.
The number of assessment controls that collected non-compliant evidence on
* the lastUpdated
date.
The total number of controls in the assessment.
*/ inline int GetTotalAssessmentControlsCount() const{ return m_totalAssessmentControlsCount; } /** *The total number of controls in the assessment.
*/ inline bool TotalAssessmentControlsCountHasBeenSet() const { return m_totalAssessmentControlsCountHasBeenSet; } /** *The total number of controls in the assessment.
*/ inline void SetTotalAssessmentControlsCount(int value) { m_totalAssessmentControlsCountHasBeenSet = true; m_totalAssessmentControlsCount = value; } /** *The total number of controls in the assessment.
*/ inline InsightsByAssessment& WithTotalAssessmentControlsCount(int value) { SetTotalAssessmentControlsCount(value); return *this;} /** *The time when the assessment insights were last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; } /** *The time when the assessment insights were last updated.
*/ inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; } /** *The time when the assessment insights were last updated.
*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; } /** *The time when the assessment insights were last updated.
*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); } /** *The time when the assessment insights were last updated.
*/ inline InsightsByAssessment& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *The time when the assessment insights were last updated.
*/ inline InsightsByAssessment& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;} private: int m_noncompliantEvidenceCount; bool m_noncompliantEvidenceCountHasBeenSet = false; int m_compliantEvidenceCount; bool m_compliantEvidenceCountHasBeenSet = false; int m_inconclusiveEvidenceCount; bool m_inconclusiveEvidenceCountHasBeenSet = false; int m_assessmentControlsCountByNoncompliantEvidence; bool m_assessmentControlsCountByNoncompliantEvidenceHasBeenSet = false; int m_totalAssessmentControlsCount; bool m_totalAssessmentControlsCountHasBeenSet = false; Aws::Utils::DateTime m_lastUpdated; bool m_lastUpdatedHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws