libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.Types.FindingSummary

Description

 
Synopsis

Documentation

data FindingSummary Source #

Contains information about a finding.

See: newFindingSummary smart constructor.

Constructors

FindingSummary' 

Fields

Instances

Instances details
Eq FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

Read FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

Show FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

Generic FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

Associated Types

type Rep FindingSummary :: Type -> Type #

NFData FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

Methods

rnf :: FindingSummary -> () #

Hashable FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

FromJSON FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

type Rep FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

type Rep FindingSummary = D1 ('MetaData "FindingSummary" "Amazonka.AccessAnalyzer.Types.FindingSummary" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "FindingSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isPublic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FindingSource])) :*: S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "analyzedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))) :*: ((S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "resourceOwnerAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceType)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FindingStatus) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))))

newFindingSummary Source #

Create a value of FindingSummary 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:error:FindingSummary', findingSummary_error - The error that resulted in an Error finding.

$sel:isPublic:FindingSummary', findingSummary_isPublic - Indicates whether the finding reports a resource that has a policy that allows public access.

$sel:action:FindingSummary', findingSummary_action - The action in the analyzed policy statement that an external principal has permission to use.

$sel:sources:FindingSummary', findingSummary_sources - The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

$sel:resource:FindingSummary', findingSummary_resource - The resource that the external principal has access to.

$sel:principal:FindingSummary', findingSummary_principal - The external principal that has access to a resource within the zone of trust.

$sel:analyzedAt:FindingSummary', findingSummary_analyzedAt - The time at which the resource-based policy that generated the finding was analyzed.

$sel:condition:FindingSummary', findingSummary_condition - The condition in the analyzed policy statement that resulted in a finding.

$sel:createdAt:FindingSummary', findingSummary_createdAt - The time at which the finding was created.

$sel:id:FindingSummary', findingSummary_id - The ID of the finding.

$sel:resourceOwnerAccount:FindingSummary', findingSummary_resourceOwnerAccount - The Amazon Web Services account ID that owns the resource.

$sel:resourceType:FindingSummary', findingSummary_resourceType - The type of the resource that the external principal has access to.

$sel:status:FindingSummary', findingSummary_status - The status of the finding.

$sel:updatedAt:FindingSummary', findingSummary_updatedAt - The time at which the finding was most recently updated.

findingSummary_error :: Lens' FindingSummary (Maybe Text) Source #

The error that resulted in an Error finding.

findingSummary_isPublic :: Lens' FindingSummary (Maybe Bool) Source #

Indicates whether the finding reports a resource that has a policy that allows public access.

findingSummary_action :: Lens' FindingSummary (Maybe [Text]) Source #

The action in the analyzed policy statement that an external principal has permission to use.

findingSummary_sources :: Lens' FindingSummary (Maybe [FindingSource]) Source #

The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.

findingSummary_resource :: Lens' FindingSummary (Maybe Text) Source #

The resource that the external principal has access to.

findingSummary_principal :: Lens' FindingSummary (Maybe (HashMap Text Text)) Source #

The external principal that has access to a resource within the zone of trust.

findingSummary_analyzedAt :: Lens' FindingSummary UTCTime Source #

The time at which the resource-based policy that generated the finding was analyzed.

findingSummary_condition :: Lens' FindingSummary (HashMap Text Text) Source #

The condition in the analyzed policy statement that resulted in a finding.

findingSummary_createdAt :: Lens' FindingSummary UTCTime Source #

The time at which the finding was created.

findingSummary_resourceOwnerAccount :: Lens' FindingSummary Text Source #

The Amazon Web Services account ID that owns the resource.

findingSummary_resourceType :: Lens' FindingSummary ResourceType Source #

The type of the resource that the external principal has access to.

findingSummary_updatedAt :: Lens' FindingSummary UTCTime Source #

The time at which the finding was most recently updated.