Class Insights
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Insights.Builder,Insights>
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
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerThe number of active assessments in Audit Manager.final IntegerThe number of assessment controls that collected non-compliant evidence on thelastUpdateddate.static Insights.Builderbuilder()final IntegerThe number of compliance check evidence that Audit Manager classified as compliant on thelastUpdateddate.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerThe number of evidence without a compliance check ruling.final InstantThe time when the cross-assessment insights were last updated.final IntegerThe number of compliance check evidence that Audit Manager classified as non-compliant on thelastUpdateddate.static Class<? extends Insights.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe total number of controls across all active assessments.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
activeAssessmentsCount
The number of active assessments in Audit Manager.
- Returns:
- The number of active assessments in Audit Manager.
-
noncompliantEvidenceCount
The number of compliance check evidence that Audit Manager classified as non-compliant on the
lastUpdateddate. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.- Returns:
- The number of compliance check evidence that Audit Manager classified as non-compliant on the
lastUpdateddate. This includes evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a Non-compliant ruling.
-
compliantEvidenceCount
The number of compliance check evidence that Audit Manager classified as compliant on the
lastUpdateddate. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.- Returns:
- The number of compliance check evidence that Audit Manager classified as compliant on the
lastUpdateddate. This includes evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant ruling.
-
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
Insightsdata.- Returns:
- 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
Insightsdata.
-
assessmentControlsCountByNoncompliantEvidence
The number of assessment controls that collected non-compliant evidence on the
lastUpdateddate.- Returns:
- The number of assessment controls that collected non-compliant evidence on the
lastUpdateddate.
-
totalAssessmentControlsCount
The total number of controls across all active assessments.
- Returns:
- The total number of controls across all active assessments.
-
lastUpdated
The time when the cross-assessment insights were last updated.
- Returns:
- The time when the cross-assessment insights were last updated.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Insights.Builder,Insights> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-