Class InsightsByAssessment
- java.lang.Object
-
- software.amazon.awssdk.services.auditmanager.model.InsightsByAssessment
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InsightsByAssessment.Builder,InsightsByAssessment>
@Generated("software.amazon.awssdk:codegen") public final class InsightsByAssessment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InsightsByAssessment.Builder,InsightsByAssessment>
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
lastUpdateddate. It’s important to understand that the totals inInsightsByAssessmentare daily counts based on this date — they aren’t a total sum to date.The
InsightsByAssessmentdata is eventually consistent. This means that when you read data fromInsightsByAssessment, 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.If you delete an assessment or change its status to inactive,
InsightsByAssessmentincludes 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInsightsByAssessment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerassessmentControlsCountByNoncompliantEvidence()The number of assessment controls that collected non-compliant evidence on thelastUpdateddate.static InsightsByAssessment.Builderbuilder()IntegercompliantEvidenceCount()The number of compliance check evidence that Audit Manager classified as compliant.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerinconclusiveEvidenceCount()The amount of evidence without a compliance check ruling.InstantlastUpdated()The time when the assessment insights were last updated.IntegernoncompliantEvidenceCount()The number of compliance check evidence that Audit Manager classified as non-compliant.List<SdkField<?>>sdkFields()static Class<? extends InsightsByAssessment.Builder>serializableBuilderClass()InsightsByAssessment.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertotalAssessmentControlsCount()The total number of controls in the assessment.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
noncompliantEvidenceCount
public final Integer 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.
- Returns:
- 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.
-
compliantEvidenceCount
public final Integer 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.
- Returns:
- 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.
-
inconclusiveEvidenceCount
public final Integer inconclusiveEvidenceCount()
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
InsightsByAssessmentdata.- Returns:
- 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
InsightsByAssessmentdata.
-
assessmentControlsCountByNoncompliantEvidence
public final Integer 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
public final Integer totalAssessmentControlsCount()
The total number of controls in the assessment.
- Returns:
- The total number of controls in the assessment.
-
lastUpdated
public final Instant lastUpdated()
The time when the assessment insights were last updated.
- Returns:
- The time when the assessment insights were last updated.
-
toBuilder
public InsightsByAssessment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InsightsByAssessment.Builder,InsightsByAssessment>
-
builder
public static InsightsByAssessment.Builder builder()
-
serializableBuilderClass
public static Class<? extends InsightsByAssessment.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-