@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightsByAssessment extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
InsightsByAssessment() |
Modifier and Type | Method and Description |
---|---|
InsightsByAssessment |
clone() |
boolean |
equals(Object obj) |
Integer |
getAssessmentControlsCountByNoncompliantEvidence()
The number of assessment controls that collected non-compliant evidence on the
lastUpdated date. |
Integer |
getCompliantEvidenceCount()
The number of compliance check evidence that Audit Manager classified as compliant.
|
Integer |
getInconclusiveEvidenceCount()
The amount of evidence without a compliance check ruling.
|
Date |
getLastUpdated()
The time when the assessment insights were last updated.
|
Integer |
getNoncompliantEvidenceCount()
The number of compliance check evidence that Audit Manager classified as non-compliant.
|
Integer |
getTotalAssessmentControlsCount()
The total number of controls in the assessment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssessmentControlsCountByNoncompliantEvidence(Integer assessmentControlsCountByNoncompliantEvidence)
The number of assessment controls that collected non-compliant evidence on the
lastUpdated date. |
void |
setCompliantEvidenceCount(Integer compliantEvidenceCount)
The number of compliance check evidence that Audit Manager classified as compliant.
|
void |
setInconclusiveEvidenceCount(Integer inconclusiveEvidenceCount)
The amount of evidence without a compliance check ruling.
|
void |
setLastUpdated(Date lastUpdated)
The time when the assessment insights were last updated.
|
void |
setNoncompliantEvidenceCount(Integer noncompliantEvidenceCount)
The number of compliance check evidence that Audit Manager classified as non-compliant.
|
void |
setTotalAssessmentControlsCount(Integer totalAssessmentControlsCount)
The total number of controls in the assessment.
|
String |
toString()
Returns a string representation of this object.
|
InsightsByAssessment |
withAssessmentControlsCountByNoncompliantEvidence(Integer assessmentControlsCountByNoncompliantEvidence)
The number of assessment controls that collected non-compliant evidence on the
lastUpdated date. |
InsightsByAssessment |
withCompliantEvidenceCount(Integer compliantEvidenceCount)
The number of compliance check evidence that Audit Manager classified as compliant.
|
InsightsByAssessment |
withInconclusiveEvidenceCount(Integer inconclusiveEvidenceCount)
The amount of evidence without a compliance check ruling.
|
InsightsByAssessment |
withLastUpdated(Date lastUpdated)
The time when the assessment insights were last updated.
|
InsightsByAssessment |
withNoncompliantEvidenceCount(Integer noncompliantEvidenceCount)
The number of compliance check evidence that Audit Manager classified as non-compliant.
|
InsightsByAssessment |
withTotalAssessmentControlsCount(Integer totalAssessmentControlsCount)
The total number of controls in the assessment.
|
public void setNoncompliantEvidenceCount(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.
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.public Integer getNoncompliantEvidenceCount()
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.
public InsightsByAssessment withNoncompliantEvidenceCount(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.
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.public void setCompliantEvidenceCount(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.
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.public Integer getCompliantEvidenceCount()
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.
public InsightsByAssessment withCompliantEvidenceCount(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.
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.public void setInconclusiveEvidenceCount(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
InsightsByAssessment
data.
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.
public Integer getInconclusiveEvidenceCount()
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.
If evidence has a compliance check status of not applicable, it's classified as
inconclusive in InsightsByAssessment
data.
public InsightsByAssessment withInconclusiveEvidenceCount(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
InsightsByAssessment
data.
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.
public void setAssessmentControlsCountByNoncompliantEvidence(Integer assessmentControlsCountByNoncompliantEvidence)
The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.
assessmentControlsCountByNoncompliantEvidence
- The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.public Integer getAssessmentControlsCountByNoncompliantEvidence()
The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.
lastUpdated
date.public InsightsByAssessment withAssessmentControlsCountByNoncompliantEvidence(Integer assessmentControlsCountByNoncompliantEvidence)
The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.
assessmentControlsCountByNoncompliantEvidence
- The number of assessment controls that collected non-compliant evidence on the lastUpdated
date.public void setTotalAssessmentControlsCount(Integer totalAssessmentControlsCount)
The total number of controls in the assessment.
totalAssessmentControlsCount
- The total number of controls in the assessment.public Integer getTotalAssessmentControlsCount()
The total number of controls in the assessment.
public InsightsByAssessment withTotalAssessmentControlsCount(Integer totalAssessmentControlsCount)
The total number of controls in the assessment.
totalAssessmentControlsCount
- The total number of controls in the assessment.public void setLastUpdated(Date lastUpdated)
The time when the assessment insights were last updated.
lastUpdated
- The time when the assessment insights were last updated.public Date getLastUpdated()
The time when the assessment insights were last updated.
public InsightsByAssessment withLastUpdated(Date lastUpdated)
The time when the assessment insights were last updated.
lastUpdated
- The time when the assessment insights were last updated.public String toString()
toString
in class Object
Object.toString()
public InsightsByAssessment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.