Module Values.InsightsSource

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.

Sourcetype nonrec t = {
  1. activeAssessmentsCount : NullableInteger.t option;
    (*

    The number of active assessments in Audit Manager.

    *)
  2. noncompliantEvidenceCount : NullableInteger.t option;
    (*

    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.

    *)
  3. compliantEvidenceCount : NullableInteger.t option;
    (*

    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.

    *)
  4. inconclusiveEvidenceCount : NullableInteger.t option;
    (*

    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.

    *)
  5. assessmentControlsCountByNoncompliantEvidence : NullableInteger.t option;
    (*

    The number of assessment controls that collected non-compliant evidence on the lastUpdated date.

    *)
  6. totalAssessmentControlsCount : NullableInteger.t option;
    (*

    The total number of controls across all active assessments.

    *)
  7. lastUpdated : Timestamp.t option;
    (*

    The time when the cross-assessment insights were last updated.

    *)
}
Sourceval make : ?activeAssessmentsCount:??? -> ?noncompliantEvidenceCount:??? -> ?compliantEvidenceCount:??? -> ?inconclusiveEvidenceCount:??? -> ?assessmentControlsCountByNoncompliantEvidence:??? -> ?totalAssessmentControlsCount:??? -> ?lastUpdated:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of NullableInteger.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t