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 AuditFinding = AuditFinding' {
- isSuppressed :: Maybe Bool
- taskId :: Maybe Text
- findingTime :: Maybe POSIX
- taskStartTime :: Maybe POSIX
- reasonForNonComplianceCode :: Maybe Text
- severity :: Maybe AuditFindingSeverity
- relatedResources :: Maybe [RelatedResource]
- checkName :: Maybe Text
- nonCompliantResource :: Maybe NonCompliantResource
- reasonForNonCompliance :: Maybe Text
- findingId :: Maybe Text
- newAuditFinding :: AuditFinding
- auditFinding_isSuppressed :: Lens' AuditFinding (Maybe Bool)
- auditFinding_taskId :: Lens' AuditFinding (Maybe Text)
- auditFinding_findingTime :: Lens' AuditFinding (Maybe UTCTime)
- auditFinding_taskStartTime :: Lens' AuditFinding (Maybe UTCTime)
- auditFinding_reasonForNonComplianceCode :: Lens' AuditFinding (Maybe Text)
- auditFinding_severity :: Lens' AuditFinding (Maybe AuditFindingSeverity)
- auditFinding_relatedResources :: Lens' AuditFinding (Maybe [RelatedResource])
- auditFinding_checkName :: Lens' AuditFinding (Maybe Text)
- auditFinding_nonCompliantResource :: Lens' AuditFinding (Maybe NonCompliantResource)
- auditFinding_reasonForNonCompliance :: Lens' AuditFinding (Maybe Text)
- auditFinding_findingId :: Lens' AuditFinding (Maybe Text)
Documentation
data AuditFinding Source #
The findings (results) of the audit.
See: newAuditFinding
smart constructor.
AuditFinding' | |
|
Instances
newAuditFinding :: AuditFinding Source #
Create a value of AuditFinding
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:isSuppressed:AuditFinding'
, auditFinding_isSuppressed
- Indicates whether the audit finding was suppressed or not during
reporting.
$sel:taskId:AuditFinding'
, auditFinding_taskId
- The ID of the audit that generated this result (finding).
$sel:findingTime:AuditFinding'
, auditFinding_findingTime
- The time the result (finding) was discovered.
$sel:taskStartTime:AuditFinding'
, auditFinding_taskStartTime
- The time the audit started.
$sel:reasonForNonComplianceCode:AuditFinding'
, auditFinding_reasonForNonComplianceCode
- A code that indicates the reason that the resource was noncompliant.
$sel:severity:AuditFinding'
, auditFinding_severity
- The severity of the result (finding).
$sel:relatedResources:AuditFinding'
, auditFinding_relatedResources
- The list of related resources.
$sel:checkName:AuditFinding'
, auditFinding_checkName
- The audit check that generated this result.
$sel:nonCompliantResource:AuditFinding'
, auditFinding_nonCompliantResource
- The resource that was found to be noncompliant with the audit check.
$sel:reasonForNonCompliance:AuditFinding'
, auditFinding_reasonForNonCompliance
- The reason the resource was noncompliant.
$sel:findingId:AuditFinding'
, auditFinding_findingId
- A unique identifier for this set of audit findings. This identifier is
used to apply mitigation tasks to one or more sets of findings.
auditFinding_isSuppressed :: Lens' AuditFinding (Maybe Bool) Source #
Indicates whether the audit finding was suppressed or not during reporting.
auditFinding_taskId :: Lens' AuditFinding (Maybe Text) Source #
The ID of the audit that generated this result (finding).
auditFinding_findingTime :: Lens' AuditFinding (Maybe UTCTime) Source #
The time the result (finding) was discovered.
auditFinding_taskStartTime :: Lens' AuditFinding (Maybe UTCTime) Source #
The time the audit started.
auditFinding_reasonForNonComplianceCode :: Lens' AuditFinding (Maybe Text) Source #
A code that indicates the reason that the resource was noncompliant.
auditFinding_severity :: Lens' AuditFinding (Maybe AuditFindingSeverity) Source #
The severity of the result (finding).
auditFinding_relatedResources :: Lens' AuditFinding (Maybe [RelatedResource]) Source #
The list of related resources.
auditFinding_checkName :: Lens' AuditFinding (Maybe Text) Source #
The audit check that generated this result.
auditFinding_nonCompliantResource :: Lens' AuditFinding (Maybe NonCompliantResource) Source #
The resource that was found to be noncompliant with the audit check.
auditFinding_reasonForNonCompliance :: Lens' AuditFinding (Maybe Text) Source #
The reason the resource was noncompliant.
auditFinding_findingId :: Lens' AuditFinding (Maybe Text) Source #
A unique identifier for this set of audit findings. This identifier is used to apply mitigation tasks to one or more sets of findings.