Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Evidence = Evidence' {
- time :: Maybe POSIX
- assessmentReportSelection :: Maybe Text
- evidenceByType :: Maybe Text
- complianceCheck :: Maybe Text
- awsOrganization :: Maybe Text
- awsAccountId :: Maybe Text
- attributes :: Maybe (HashMap Text Text)
- evidenceAwsAccountId :: Maybe Text
- id :: Maybe Text
- dataSource :: Maybe Text
- evidenceFolderId :: Maybe Text
- iamId :: Maybe Text
- eventName :: Maybe Text
- resourcesIncluded :: Maybe [Resource]
- eventSource :: Maybe Text
- newEvidence :: Evidence
- evidence_time :: Lens' Evidence (Maybe UTCTime)
- evidence_assessmentReportSelection :: Lens' Evidence (Maybe Text)
- evidence_evidenceByType :: Lens' Evidence (Maybe Text)
- evidence_complianceCheck :: Lens' Evidence (Maybe Text)
- evidence_awsOrganization :: Lens' Evidence (Maybe Text)
- evidence_awsAccountId :: Lens' Evidence (Maybe Text)
- evidence_attributes :: Lens' Evidence (Maybe (HashMap Text Text))
- evidence_evidenceAwsAccountId :: Lens' Evidence (Maybe Text)
- evidence_id :: Lens' Evidence (Maybe Text)
- evidence_dataSource :: Lens' Evidence (Maybe Text)
- evidence_evidenceFolderId :: Lens' Evidence (Maybe Text)
- evidence_iamId :: Lens' Evidence (Maybe Text)
- evidence_eventName :: Lens' Evidence (Maybe Text)
- evidence_resourcesIncluded :: Lens' Evidence (Maybe [Resource])
- evidence_eventSource :: Lens' Evidence (Maybe Text)
Documentation
A record that contains the information needed to demonstrate compliance with the requirements specified by a control. Examples of evidence include change activity triggered by a user, or a system configuration snapshot.
See: newEvidence
smart constructor.
Evidence' | |
|
Instances
newEvidence :: Evidence Source #
Create a value of Evidence
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:time:Evidence'
, evidence_time
- The timestamp that represents when the evidence was collected.
$sel:assessmentReportSelection:Evidence'
, evidence_assessmentReportSelection
- Specifies whether the evidence is included in the assessment report.
$sel:evidenceByType:Evidence'
, evidence_evidenceByType
- The type of automated evidence.
$sel:complianceCheck:Evidence'
, evidence_complianceCheck
- The evaluation status for evidence that falls under the compliance check
category. For evidence collected from Security Hub, a Pass or Fail
result is shown. For evidence collected from Config, a Compliant or
Noncompliant result is shown.
$sel:awsOrganization:Evidence'
, evidence_awsOrganization
- The Amazon Web Services account from which the evidence is collected,
and its organization path.
$sel:awsAccountId:Evidence'
, evidence_awsAccountId
- The identifier for the specified Amazon Web Services account.
$sel:attributes:Evidence'
, evidence_attributes
- The names and values used by the evidence event, including an attribute
name (such as allowUsersToChangePassword
) and value (such as true
or
false
).
$sel:evidenceAwsAccountId:Evidence'
, evidence_evidenceAwsAccountId
- The identifier for the specified Amazon Web Services account.
$sel:id:Evidence'
, evidence_id
- The identifier for the evidence.
$sel:dataSource:Evidence'
, evidence_dataSource
- The data source from which the specified evidence was collected.
$sel:evidenceFolderId:Evidence'
, evidence_evidenceFolderId
- The identifier for the folder in which the evidence is stored.
$sel:iamId:Evidence'
, evidence_iamId
- The unique identifier for the IAM user or role associated with the
evidence.
$sel:eventName:Evidence'
, evidence_eventName
- The name of the specified evidence event.
$sel:resourcesIncluded:Evidence'
, evidence_resourcesIncluded
- The list of resources assessed to generate the evidence.
$sel:eventSource:Evidence'
, evidence_eventSource
- The Amazon Web Service from which the evidence is collected.
evidence_time :: Lens' Evidence (Maybe UTCTime) Source #
The timestamp that represents when the evidence was collected.
evidence_assessmentReportSelection :: Lens' Evidence (Maybe Text) Source #
Specifies whether the evidence is included in the assessment report.
evidence_complianceCheck :: Lens' Evidence (Maybe Text) Source #
The evaluation status for evidence that falls under the compliance check category. For evidence collected from Security Hub, a Pass or Fail result is shown. For evidence collected from Config, a Compliant or Noncompliant result is shown.
evidence_awsOrganization :: Lens' Evidence (Maybe Text) Source #
The Amazon Web Services account from which the evidence is collected, and its organization path.
evidence_awsAccountId :: Lens' Evidence (Maybe Text) Source #
The identifier for the specified Amazon Web Services account.
evidence_attributes :: Lens' Evidence (Maybe (HashMap Text Text)) Source #
The names and values used by the evidence event, including an attribute
name (such as allowUsersToChangePassword
) and value (such as true
or
false
).
evidence_evidenceAwsAccountId :: Lens' Evidence (Maybe Text) Source #
The identifier for the specified Amazon Web Services account.
evidence_dataSource :: Lens' Evidence (Maybe Text) Source #
The data source from which the specified evidence was collected.
evidence_evidenceFolderId :: Lens' Evidence (Maybe Text) Source #
The identifier for the folder in which the evidence is stored.
evidence_iamId :: Lens' Evidence (Maybe Text) Source #
The unique identifier for the IAM user or role associated with the evidence.