Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Finding = Finding' {
- classificationDetails :: Maybe ClassificationDetails
- policyDetails :: Maybe PolicyDetails
- createdAt :: Maybe POSIX
- category :: Maybe FindingCategory
- severity :: Maybe Severity
- count :: Maybe Integer
- schemaVersion :: Maybe Text
- resourcesAffected :: Maybe ResourcesAffected
- accountId :: Maybe Text
- partition :: Maybe Text
- id :: Maybe Text
- region :: Maybe Text
- updatedAt :: Maybe POSIX
- title :: Maybe Text
- type' :: Maybe FindingType
- archived :: Maybe Bool
- description :: Maybe Text
- sample :: Maybe Bool
- newFinding :: Finding
- finding_classificationDetails :: Lens' Finding (Maybe ClassificationDetails)
- finding_policyDetails :: Lens' Finding (Maybe PolicyDetails)
- finding_createdAt :: Lens' Finding (Maybe UTCTime)
- finding_category :: Lens' Finding (Maybe FindingCategory)
- finding_severity :: Lens' Finding (Maybe Severity)
- finding_count :: Lens' Finding (Maybe Integer)
- finding_schemaVersion :: Lens' Finding (Maybe Text)
- finding_resourcesAffected :: Lens' Finding (Maybe ResourcesAffected)
- finding_accountId :: Lens' Finding (Maybe Text)
- finding_partition :: Lens' Finding (Maybe Text)
- finding_id :: Lens' Finding (Maybe Text)
- finding_region :: Lens' Finding (Maybe Text)
- finding_updatedAt :: Lens' Finding (Maybe UTCTime)
- finding_title :: Lens' Finding (Maybe Text)
- finding_type :: Lens' Finding (Maybe FindingType)
- finding_archived :: Lens' Finding (Maybe Bool)
- finding_description :: Lens' Finding (Maybe Text)
- finding_sample :: Lens' Finding (Maybe Bool)
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:classificationDetails:Finding'
, finding_classificationDetails
- The details of a sensitive data finding. This value is null for a policy
finding.
$sel:policyDetails:Finding'
, finding_policyDetails
- The details of a policy finding. This value is null for a sensitive data
finding.
$sel:createdAt:Finding'
, finding_createdAt
- The date and time, in UTC and extended ISO 8601 format, when the finding
was created.
$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:severity:Finding'
, finding_severity
- The severity level and score for the 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 new (unique) because they derive from individual
classification jobs.
$sel:schemaVersion:Finding'
, finding_schemaVersion
- The version of the schema that was used to define the data structures in
the finding.
$sel:resourcesAffected:Finding'
, finding_resourcesAffected
- The resources that the finding applies to.
$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:partition:Finding'
, finding_partition
- The Amazon Web Services partition that Amazon Macie created the finding
in.
$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:region:Finding'
, finding_region
- The Amazon Web Services Region that Amazon Macie created the finding in.
$sel:updatedAt:Finding'
, finding_updatedAt
- The date and time, in UTC and extended ISO 8601 format, when the finding
was last updated. For sensitive data findings, this value is the same as
the value for the createdAt property. All sensitive data findings are
considered new (unique) because they derive from individual
classification jobs.
$sel:title:Finding'
, finding_title
- The brief description of the finding.
$sel:type':Finding'
, finding_type
- The type of the finding.
$sel:archived:Finding'
, finding_archived
- Specifies whether the finding is archived (suppressed).
$sel:description:Finding'
, finding_description
- The description of the finding.
$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.
finding_classificationDetails :: Lens' Finding (Maybe ClassificationDetails) Source #
The details of a sensitive data finding. This value is null for a policy finding.
finding_policyDetails :: Lens' Finding (Maybe PolicyDetails) Source #
The details of a policy finding. This value is null for a sensitive data finding.
finding_createdAt :: Lens' Finding (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
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_severity :: Lens' Finding (Maybe Severity) Source #
The severity level and score for the 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 new (unique) because they derive from individual classification jobs.
finding_schemaVersion :: Lens' Finding (Maybe Text) Source #
The version of the schema that was used to define the data structures in the finding.
finding_resourcesAffected :: Lens' Finding (Maybe ResourcesAffected) Source #
The resources that the finding applies to.
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_partition :: Lens' Finding (Maybe Text) Source #
The Amazon Web Services partition that Amazon Macie created the finding in.
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_region :: Lens' Finding (Maybe Text) Source #
The Amazon Web Services Region that Amazon Macie created the finding in.
finding_updatedAt :: Lens' Finding (Maybe UTCTime) Source #
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
finding_type :: Lens' Finding (Maybe FindingType) Source #
The type of the finding.