Class InsightsByAssessment
- All Implemented Interfaces:
Serializable
,SdkPojo
,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 lastUpdated
date. It’s important to
understand that the totals in InsightsByAssessment
are daily counts based on this date — they aren’t a
total sum to date.
The InsightsByAssessment
data is eventually consistent. This means that when you read data from
InsightsByAssessment
, 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, 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.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
The number of assessment controls that collected non-compliant evidence on thelastUpdated
date.static InsightsByAssessment.Builder
builder()
final Integer
The number of compliance check evidence that Audit Manager classified as compliant.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Integer
The amount of evidence without a compliance check ruling.final Instant
The time when the assessment insights were last updated.final Integer
The number of compliance check evidence that Audit Manager classified as non-compliant.static Class
<? extends InsightsByAssessment.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Integer
The total number of controls in the assessment.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
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
InsightsByAssessment
data.- 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
InsightsByAssessment
data.
-
assessmentControlsCountByNoncompliantEvidence
The number of assessment controls that collected non-compliant evidence on the
lastUpdated
date.- Returns:
- The number of assessment controls that collected non-compliant evidence on the
lastUpdated
date.
-
totalAssessmentControlsCount
The total number of controls in the assessment.
- Returns:
- The total number of controls in the assessment.
-
lastUpdated
The time when the assessment insights were last updated.
- Returns:
- The time when the assessment insights were last updated.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<InsightsByAssessment.Builder,
InsightsByAssessment> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-