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 |
Synopsis
- data Finding = Finding' {
- accountId :: Maybe Text
- archived :: Maybe Bool
- category :: Maybe FindingCategory
- classificationDetails :: Maybe ClassificationDetails
- count :: Maybe Integer
- createdAt :: Maybe ISO8601
- description :: Maybe Text
- id :: Maybe Text
- partition :: Maybe Text
- policyDetails :: Maybe PolicyDetails
- region :: Maybe Text
- resourcesAffected :: Maybe ResourcesAffected
- sample :: Maybe Bool
- schemaVersion :: Maybe Text
- severity :: Maybe Severity
- title :: Maybe Text
- type' :: Maybe FindingType
- updatedAt :: Maybe ISO8601
- newFinding :: Finding
- finding_accountId :: Lens' Finding (Maybe Text)
- finding_archived :: Lens' Finding (Maybe Bool)
- finding_category :: Lens' Finding (Maybe FindingCategory)
- finding_classificationDetails :: Lens' Finding (Maybe ClassificationDetails)
- finding_count :: Lens' Finding (Maybe Integer)
- finding_createdAt :: Lens' Finding (Maybe UTCTime)
- finding_description :: Lens' Finding (Maybe Text)
- finding_id :: Lens' Finding (Maybe Text)
- finding_partition :: Lens' Finding (Maybe Text)
- finding_policyDetails :: Lens' Finding (Maybe PolicyDetails)
- finding_region :: Lens' Finding (Maybe Text)
- finding_resourcesAffected :: Lens' Finding (Maybe ResourcesAffected)
- finding_sample :: Lens' Finding (Maybe Bool)
- finding_schemaVersion :: Lens' Finding (Maybe Text)
- finding_severity :: Lens' Finding (Maybe Severity)
- finding_title :: Lens' Finding (Maybe Text)
- finding_type :: Lens' Finding (Maybe FindingType)
- finding_updatedAt :: Lens' Finding (Maybe UTCTime)
Documentation
Provides the details of a finding.
See: newFinding
smart constructor.
Finding' | |
|
Instances
newFinding :: Finding Source #
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:accountId:Finding'
, finding_accountId
- The unique identifier for the Amazon Web Services account that the
finding applies to. This is typically the account that owns the affected
resource.
$sel:archived:Finding'
, finding_archived
- Specifies whether the finding is archived (suppressed).
$sel:category:Finding'
, finding_category
- The category of the finding. Possible values are: CLASSIFICATION, for a
sensitive data finding; and, POLICY, for a policy finding.
$sel:classificationDetails:Finding'
, finding_classificationDetails
- The details of a sensitive data finding. This value is null for a policy
finding.
$sel:count:Finding'
, finding_count
- The total number of occurrences of the finding. For sensitive data
findings, this value is always 1. All sensitive data findings are
considered unique.
$sel:createdAt:Finding'
, finding_createdAt
- The date and time, in UTC and extended ISO 8601 format, when Amazon
Macie created the finding.
Finding
, finding_description
- The description of the finding.
$sel:id:Finding'
, finding_id
- The unique identifier for the finding. This is a random string that
Amazon Macie generates and assigns to a finding when it creates the
finding.
$sel:partition:Finding'
, finding_partition
- The Amazon Web Services partition that Amazon Macie created the finding
in.
$sel:policyDetails:Finding'
, finding_policyDetails
- The details of a policy finding. This value is null for a sensitive data
finding.
$sel:region:Finding'
, finding_region
- The Amazon Web Services Region that Amazon Macie created the finding in.
$sel:resourcesAffected:Finding'
, finding_resourcesAffected
- The resources that the finding applies to.
$sel:sample:Finding'
, finding_sample
- Specifies whether the finding is a sample finding. A sample finding is
a finding that uses example data to demonstrate what a finding might
contain.
$sel:schemaVersion:Finding'
, finding_schemaVersion
- The version of the schema that was used to define the data structures in
the finding.
$sel:severity:Finding'
, finding_severity
- The severity level and score for the finding.
$sel:title:Finding'
, finding_title
- The brief description of the finding.
$sel:type':Finding'
, finding_type
- The type of the finding.
$sel:updatedAt:Finding'
, finding_updatedAt
- The date and time, in UTC and extended ISO 8601 format, when Amazon
Macie last updated the finding. For sensitive data findings, this value
is the same as the value for the createdAt property. All sensitive data
findings are considered new.
finding_accountId :: Lens' Finding (Maybe Text) Source #
The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.
finding_archived :: Lens' Finding (Maybe Bool) Source #
Specifies whether the finding is archived (suppressed).
finding_category :: Lens' Finding (Maybe FindingCategory) Source #
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
finding_classificationDetails :: Lens' Finding (Maybe ClassificationDetails) Source #
The details of a sensitive data finding. This value is null for a policy finding.
finding_count :: Lens' Finding (Maybe Integer) Source #
The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered unique.
finding_createdAt :: Lens' Finding (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.
finding_id :: Lens' Finding (Maybe Text) Source #
The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
finding_partition :: Lens' Finding (Maybe Text) Source #
The Amazon Web Services partition that Amazon Macie created the finding in.
finding_policyDetails :: Lens' Finding (Maybe PolicyDetails) Source #
The details of a policy finding. This value is null for a sensitive data finding.
finding_region :: Lens' Finding (Maybe Text) Source #
The Amazon Web Services Region that Amazon Macie created the finding in.
finding_resourcesAffected :: Lens' Finding (Maybe ResourcesAffected) Source #
The resources that the finding applies to.
finding_sample :: Lens' Finding (Maybe Bool) Source #
Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
finding_schemaVersion :: Lens' Finding (Maybe Text) Source #
The version of the schema that was used to define the data structures in the finding.
finding_severity :: Lens' Finding (Maybe Severity) Source #
The severity level and score for the finding.
finding_type :: Lens' Finding (Maybe FindingType) Source #
The type of the finding.