| 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.AccessAnalyzer.Types.Finding
Description
Synopsis
- data Finding = Finding' {
- action :: Maybe [Text]
- error :: Maybe Text
- isPublic :: Maybe Bool
- principal :: Maybe (HashMap Text Text)
- resource :: Maybe Text
- sources :: Maybe [FindingSource]
- id :: Text
- resourceType :: ResourceType
- condition :: HashMap Text Text
- createdAt :: ISO8601
- analyzedAt :: ISO8601
- updatedAt :: ISO8601
- status :: FindingStatus
- resourceOwnerAccount :: Text
- newFinding :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> FindingStatus -> Text -> Finding
- finding_action :: Lens' Finding (Maybe [Text])
- finding_error :: Lens' Finding (Maybe Text)
- finding_isPublic :: Lens' Finding (Maybe Bool)
- finding_principal :: Lens' Finding (Maybe (HashMap Text Text))
- finding_resource :: Lens' Finding (Maybe Text)
- finding_sources :: Lens' Finding (Maybe [FindingSource])
- finding_id :: Lens' Finding Text
- finding_resourceType :: Lens' Finding ResourceType
- finding_condition :: Lens' Finding (HashMap Text Text)
- finding_createdAt :: Lens' Finding UTCTime
- finding_analyzedAt :: Lens' Finding UTCTime
- finding_updatedAt :: Lens' Finding UTCTime
- finding_status :: Lens' Finding FindingStatus
- finding_resourceOwnerAccount :: Lens' Finding Text
Documentation
Contains information about a finding.
See: newFinding smart constructor.
Constructors
| Finding' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ResourceType | |
| -> UTCTime | |
| -> UTCTime | |
| -> UTCTime | |
| -> FindingStatus | |
| -> Text | |
| -> Finding |
Create a value of Finding 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:Finding', finding_action - The action in the analyzed policy statement that an external principal
has permission to use.
$sel:error:Finding', finding_error - An error.
$sel:isPublic:Finding', finding_isPublic - Indicates whether the policy that generated the finding allows public
access to the resource.
$sel:principal:Finding', finding_principal - The external principal that access to a resource within the zone of
trust.
$sel:resource:Finding', finding_resource - The resource that an external principal has access to.
$sel:sources:Finding', finding_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:Finding', finding_id - The ID of the finding.
$sel:resourceType:Finding', finding_resourceType - The type of the resource identified in the finding.
$sel:condition:Finding', finding_condition - The condition in the analyzed policy statement that resulted in a
finding.
$sel:createdAt:Finding', finding_createdAt - The time at which the finding was generated.
$sel:analyzedAt:Finding', finding_analyzedAt - The time at which the resource was analyzed.
$sel:updatedAt:Finding', finding_updatedAt - The time at which the finding was updated.
$sel:status:Finding', finding_status - The current status of the finding.
$sel:resourceOwnerAccount:Finding', finding_resourceOwnerAccount - The Amazon Web Services account ID that owns the resource.
finding_action :: Lens' Finding (Maybe [Text]) Source #
The action in the analyzed policy statement that an external principal has permission to use.
finding_isPublic :: Lens' Finding (Maybe Bool) Source #
Indicates whether the policy that generated the finding allows public access to the resource.
finding_principal :: Lens' Finding (Maybe (HashMap Text Text)) Source #
The external principal that access to a resource within the zone of trust.
finding_resource :: Lens' Finding (Maybe Text) Source #
The resource that an external principal has access to.
finding_sources :: Lens' Finding (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.
finding_resourceType :: Lens' Finding ResourceType Source #
The type of the resource identified in the finding.
finding_condition :: Lens' Finding (HashMap Text Text) Source #
The condition in the analyzed policy statement that resulted in a finding.
finding_status :: Lens' Finding FindingStatus Source #
The current status of the finding.