/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AuditManager.Model
{
///
/// 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.
///
///
///
public partial class Insights
{
private int? _activeAssessmentsCount;
private int? _assessmentControlsCountByNoncompliantEvidence;
private int? _compliantEvidenceCount;
private int? _inconclusiveEvidenceCount;
private DateTime? _lastUpdated;
private int? _noncompliantEvidenceCount;
private int? _totalAssessmentControlsCount;
///
/// Gets and sets the property ActiveAssessmentsCount.
///
/// The number of active assessments in Audit Manager.
///
///
public int ActiveAssessmentsCount
{
get { return this._activeAssessmentsCount.GetValueOrDefault(); }
set { this._activeAssessmentsCount = value; }
}
// Check to see if ActiveAssessmentsCount property is set
internal bool IsSetActiveAssessmentsCount()
{
return this._activeAssessmentsCount.HasValue;
}
///
/// Gets and sets the property AssessmentControlsCountByNoncompliantEvidence.
///
/// The number of assessment controls that collected non-compliant evidence on the lastUpdated
/// date.
///
///
public int AssessmentControlsCountByNoncompliantEvidence
{
get { return this._assessmentControlsCountByNoncompliantEvidence.GetValueOrDefault(); }
set { this._assessmentControlsCountByNoncompliantEvidence = value; }
}
// Check to see if AssessmentControlsCountByNoncompliantEvidence property is set
internal bool IsSetAssessmentControlsCountByNoncompliantEvidence()
{
return this._assessmentControlsCountByNoncompliantEvidence.HasValue;
}
///
/// Gets and sets the property CompliantEvidenceCount.
///
/// 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.
///
///
public int CompliantEvidenceCount
{
get { return this._compliantEvidenceCount.GetValueOrDefault(); }
set { this._compliantEvidenceCount = value; }
}
// Check to see if CompliantEvidenceCount property is set
internal bool IsSetCompliantEvidenceCount()
{
return this._compliantEvidenceCount.HasValue;
}
///
/// Gets and sets the property InconclusiveEvidenceCount.
///
/// 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.
///
///
///
public int InconclusiveEvidenceCount
{
get { return this._inconclusiveEvidenceCount.GetValueOrDefault(); }
set { this._inconclusiveEvidenceCount = value; }
}
// Check to see if InconclusiveEvidenceCount property is set
internal bool IsSetInconclusiveEvidenceCount()
{
return this._inconclusiveEvidenceCount.HasValue;
}
///
/// Gets and sets the property LastUpdated.
///
/// The time when the cross-assessment insights were last updated.
///
///
public DateTime LastUpdated
{
get { return this._lastUpdated.GetValueOrDefault(); }
set { this._lastUpdated = value; }
}
// Check to see if LastUpdated property is set
internal bool IsSetLastUpdated()
{
return this._lastUpdated.HasValue;
}
///
/// Gets and sets the property NoncompliantEvidenceCount.
///
/// 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.
///
///
public int NoncompliantEvidenceCount
{
get { return this._noncompliantEvidenceCount.GetValueOrDefault(); }
set { this._noncompliantEvidenceCount = value; }
}
// Check to see if NoncompliantEvidenceCount property is set
internal bool IsSetNoncompliantEvidenceCount()
{
return this._noncompliantEvidenceCount.HasValue;
}
///
/// Gets and sets the property TotalAssessmentControlsCount.
///
/// The total number of controls across all active assessments.
///
///
public int TotalAssessmentControlsCount
{
get { return this._totalAssessmentControlsCount.GetValueOrDefault(); }
set { this._totalAssessmentControlsCount = value; }
}
// Check to see if TotalAssessmentControlsCount property is set
internal bool IsSetTotalAssessmentControlsCount()
{
return this._totalAssessmentControlsCount.HasValue;
}
}
}