| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.AuditFinding
Description
Synopsis
- data AuditFinding = AuditFinding' {
- checkName :: Maybe Text
- findingId :: Maybe Text
- findingTime :: Maybe POSIX
- isSuppressed :: Maybe Bool
- nonCompliantResource :: Maybe NonCompliantResource
- reasonForNonCompliance :: Maybe Text
- reasonForNonComplianceCode :: Maybe Text
- relatedResources :: Maybe [RelatedResource]
- severity :: Maybe AuditFindingSeverity
- taskId :: Maybe Text
- taskStartTime :: Maybe POSIX
- newAuditFinding :: AuditFinding
- auditFinding_checkName :: Lens' AuditFinding (Maybe Text)
- auditFinding_findingId :: Lens' AuditFinding (Maybe Text)
- auditFinding_findingTime :: Lens' AuditFinding (Maybe UTCTime)
- auditFinding_isSuppressed :: Lens' AuditFinding (Maybe Bool)
- auditFinding_nonCompliantResource :: Lens' AuditFinding (Maybe NonCompliantResource)
- auditFinding_reasonForNonCompliance :: Lens' AuditFinding (Maybe Text)
- auditFinding_reasonForNonComplianceCode :: Lens' AuditFinding (Maybe Text)
- auditFinding_relatedResources :: Lens' AuditFinding (Maybe [RelatedResource])
- auditFinding_severity :: Lens' AuditFinding (Maybe AuditFindingSeverity)
- auditFinding_taskId :: Lens' AuditFinding (Maybe Text)
- auditFinding_taskStartTime :: Lens' AuditFinding (Maybe UTCTime)
Documentation
data AuditFinding Source #
The findings (results) of the audit.
See: newAuditFinding smart constructor.
Constructors
| AuditFinding' | |
Fields
| |
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:checkName:AuditFinding', auditFinding_checkName - The audit check that generated this result.
$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.
$sel:findingTime:AuditFinding', auditFinding_findingTime - The time the result (finding) was discovered.
$sel:isSuppressed:AuditFinding', auditFinding_isSuppressed - Indicates whether the audit finding was suppressed or not during
reporting.
$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:reasonForNonComplianceCode:AuditFinding', auditFinding_reasonForNonComplianceCode - A code that indicates the reason that the resource was noncompliant.
$sel:relatedResources:AuditFinding', auditFinding_relatedResources - The list of related resources.
$sel:severity:AuditFinding', auditFinding_severity - The severity of the result (finding).
$sel:taskId:AuditFinding', auditFinding_taskId - The ID of the audit that generated this result (finding).
$sel:taskStartTime:AuditFinding', auditFinding_taskStartTime - The time the audit started.
auditFinding_checkName :: Lens' AuditFinding (Maybe Text) Source #
The audit check that generated this result.
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.
auditFinding_findingTime :: Lens' AuditFinding (Maybe UTCTime) Source #
The time the result (finding) was discovered.
auditFinding_isSuppressed :: Lens' AuditFinding (Maybe Bool) Source #
Indicates whether the audit finding was suppressed or not during reporting.
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_reasonForNonComplianceCode :: Lens' AuditFinding (Maybe Text) Source #
A code that indicates the reason that the resource was noncompliant.
auditFinding_relatedResources :: Lens' AuditFinding (Maybe [RelatedResource]) Source #
The list of related resources.
auditFinding_severity :: Lens' AuditFinding (Maybe AuditFindingSeverity) Source #
The severity of the result (finding).
auditFinding_taskId :: Lens' AuditFinding (Maybe Text) Source #
The ID of the audit that generated this result (finding).
auditFinding_taskStartTime :: Lens' AuditFinding (Maybe UTCTime) Source #
The time the audit started.