| 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.FindingSummary
Description
Synopsis
- data FindingSummary = FindingSummary' {
- 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
- newFindingSummary :: Text -> ResourceType -> UTCTime -> UTCTime -> UTCTime -> FindingStatus -> Text -> FindingSummary
- findingSummary_action :: Lens' FindingSummary (Maybe [Text])
- findingSummary_error :: Lens' FindingSummary (Maybe Text)
- findingSummary_isPublic :: Lens' FindingSummary (Maybe Bool)
- findingSummary_principal :: Lens' FindingSummary (Maybe (HashMap Text Text))
- findingSummary_resource :: Lens' FindingSummary (Maybe Text)
- findingSummary_sources :: Lens' FindingSummary (Maybe [FindingSource])
- findingSummary_id :: Lens' FindingSummary Text
- findingSummary_resourceType :: Lens' FindingSummary ResourceType
- findingSummary_condition :: Lens' FindingSummary (HashMap Text Text)
- findingSummary_createdAt :: Lens' FindingSummary UTCTime
- findingSummary_analyzedAt :: Lens' FindingSummary UTCTime
- findingSummary_updatedAt :: Lens' FindingSummary UTCTime
- findingSummary_status :: Lens' FindingSummary FindingStatus
- findingSummary_resourceOwnerAccount :: Lens' FindingSummary Text
Documentation
data FindingSummary Source #
Contains information about a finding.
See: newFindingSummary smart constructor.
Constructors
| FindingSummary' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ResourceType | |
| -> UTCTime | |
| -> UTCTime | |
| -> UTCTime | |
| -> FindingStatus | |
| -> Text | |
| -> FindingSummary |
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_id :: Lens' FindingSummary Text Source #
The ID of the finding.
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_status :: Lens' FindingSummary FindingStatus Source #
The status of the finding.
findingSummary_resourceOwnerAccount :: Lens' FindingSummary Text Source #
The Amazon Web Services account ID that owns the resource.