libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoT.Types.AuditFinding

Description

 
Synopsis

Documentation

data AuditFinding Source #

The findings (results) of the audit.

See: newAuditFinding smart constructor.

Constructors

AuditFinding' 

Fields

Instances

Instances details
Eq AuditFinding Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditFinding

Read AuditFinding Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditFinding

Show AuditFinding Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditFinding

Generic AuditFinding Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditFinding

Associated Types

type Rep AuditFinding :: Type -> Type #

NFData AuditFinding Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditFinding

Methods

rnf :: AuditFinding -> () #

Hashable AuditFinding Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditFinding

FromJSON AuditFinding Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditFinding

type Rep AuditFinding Source # 
Instance details

Defined in Amazonka.IoT.Types.AuditFinding

type Rep AuditFinding = D1 ('MetaData "AuditFinding" "Amazonka.IoT.Types.AuditFinding" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AuditFinding'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "isSuppressed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "findingTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "taskStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "reasonForNonComplianceCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuditFindingSeverity)) :*: (S1 ('MetaSel ('Just "relatedResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RelatedResource])) :*: S1 ('MetaSel ('Just "checkName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "nonCompliantResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NonCompliantResource)) :*: (S1 ('MetaSel ('Just "reasonForNonCompliance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "findingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

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_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_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.