Skip to main content

insights

Creates, updates, deletes, gets or lists an insights resource.

Overview

Nameinsights
TypeResource
Idaws.auditmanager.insights

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
active_assessments_countintegerThe number of active assessments in Audit Manager.
assessment_controls_count_by_noncompliant_evidenceintegerThe number of assessment controls that collected non-compliant evidence on the lastUpdated date.
compliant_evidence_countintegerThe number of compliance check evidence that Audit Manager classified as compliant on the lastUpdated date. This includes evidence that was collected from Security Hub CSPM with a Pass ruling, or collected from Config with a Compliant ruling.
inconclusive_evidence_countintegerThe number of evidence without a compliance check ruling. Evidence is inconclusive when the associated control uses Security Hub CSPM 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.
last_updatedstring (date-time)The time when the cross-assessment insights were last updated.
noncompliant_evidence_countintegerThe 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 CSPM with a Fail ruling, or collected from Config with a Non-compliant ruling.
total_assessment_controls_countintegerThe total number of controls across all active assessments.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_insightsselectregionGets the latest analytics data for all your current active assessments.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the latest analytics data for all your current active assessments.

SELECT
active_assessments_count,
assessment_controls_count_by_noncompliant_evidence,
compliant_evidence_count,
inconclusive_evidence_count,
last_updated,
noncompliant_evidence_count,
total_assessment_controls_count
FROM aws.auditmanager.insights
WHERE region = '{{ region }}' -- required
;