amazonka-accessanalyzer-2.0: Amazon Access Analyzer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

Show FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

NFData FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

Methods

rnf :: FindingSummary -> () #

Eq FindingSummary Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.FindingSummary

Hashable 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" "amazonka-accessanalyzer-2.0-A0JZirwj4a95MolJaaBere" 'False) (C1 ('MetaCons "FindingSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "isPublic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FindingSource])) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceType) :*: (S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))) :*: ((S1 ('MetaSel ('Just "analyzedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FindingStatus) :*: S1 ('MetaSel ('Just "resourceOwnerAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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:action:FindingSummary', findingSummary_action - The action in the analyzed policy statement that an external principal has permission to use.

$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:principal:FindingSummary', findingSummary_principal - The external principal that has access to a resource within the zone of trust.

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

$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:id:FindingSummary', findingSummary_id - The ID of the finding.

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

$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:analyzedAt:FindingSummary', findingSummary_analyzedAt - The time at which the resource-based policy that generated the finding was analyzed.

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

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

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

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

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

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_principal :: Lens' FindingSummary (Maybe (HashMap Text Text)) Source #

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

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

The resource that the external principal has access to.

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_resourceType :: Lens' FindingSummary ResourceType Source #

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

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_analyzedAt :: Lens' FindingSummary UTCTime Source #

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

findingSummary_updatedAt :: Lens' FindingSummary UTCTime Source #

The time at which the finding was most recently updated.

findingSummary_resourceOwnerAccount :: Lens' FindingSummary Text Source #

The Amazon Web Services account ID that owns the resource.