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' {
- service :: Maybe Text
- severity :: Maybe Severity
- schemaVersion :: Maybe Natural
- confidence :: Maybe Natural
- assetAttributes :: Maybe AssetAttributes
- serviceAttributes :: Maybe InspectorServiceAttributes
- id :: Maybe Text
- numericSeverity :: Maybe Double
- assetType :: Maybe AssetType
- title :: Maybe Text
- indicatorOfCompromise :: Maybe Bool
- description :: Maybe Text
- recommendation :: Maybe Text
- arn :: Text
- attributes :: [Attribute]
- userAttributes :: [Attribute]
- createdAt :: POSIX
- updatedAt :: POSIX
- newFinding :: Text -> UTCTime -> UTCTime -> Finding
- finding_service :: Lens' Finding (Maybe Text)
- finding_severity :: Lens' Finding (Maybe Severity)
- finding_schemaVersion :: Lens' Finding (Maybe Natural)
- finding_confidence :: Lens' Finding (Maybe Natural)
- finding_assetAttributes :: Lens' Finding (Maybe AssetAttributes)
- finding_serviceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes)
- finding_id :: Lens' Finding (Maybe Text)
- finding_numericSeverity :: Lens' Finding (Maybe Double)
- finding_assetType :: Lens' Finding (Maybe AssetType)
- finding_title :: Lens' Finding (Maybe Text)
- finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool)
- finding_description :: Lens' Finding (Maybe Text)
- finding_recommendation :: Lens' Finding (Maybe Text)
- finding_arn :: Lens' Finding Text
- finding_attributes :: Lens' Finding [Attribute]
- finding_userAttributes :: Lens' Finding [Attribute]
- finding_createdAt :: Lens' Finding UTCTime
- finding_updatedAt :: Lens' Finding UTCTime
Documentation
Contains information about an Amazon Inspector finding. This data type is used as the response element in the DescribeFindings action.
See: newFinding
smart constructor.
Finding' | |
|
Instances
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:service:Finding'
, finding_service
- The data element is set to "Inspector".
$sel:severity:Finding'
, finding_severity
- The finding severity. Values can be set to High, Medium, Low, and
Informational.
$sel:schemaVersion:Finding'
, finding_schemaVersion
- The schema version of this data type.
$sel:confidence:Finding'
, finding_confidence
- This data element is currently not used.
$sel:assetAttributes:Finding'
, finding_assetAttributes
- A collection of attributes of the host from which the finding is
generated.
$sel:serviceAttributes:Finding'
, finding_serviceAttributes
- This data type is used in the Finding data type.
$sel:id:Finding'
, finding_id
- The ID of the finding.
$sel:numericSeverity:Finding'
, finding_numericSeverity
- The numeric value of the finding severity.
$sel:assetType:Finding'
, finding_assetType
- The type of the host from which the finding is generated.
$sel:title:Finding'
, finding_title
- The name of the finding.
$sel:indicatorOfCompromise:Finding'
, finding_indicatorOfCompromise
- This data element is currently not used.
$sel:description:Finding'
, finding_description
- The description of the finding.
$sel:recommendation:Finding'
, finding_recommendation
- The recommendation for the finding.
$sel:arn:Finding'
, finding_arn
- The ARN that specifies the finding.
$sel:attributes:Finding'
, finding_attributes
- The system-defined attributes for the finding.
$sel:userAttributes:Finding'
, finding_userAttributes
- The user-defined attributes that are assigned to the finding.
$sel:createdAt:Finding'
, finding_createdAt
- The time when the finding was generated.
$sel:updatedAt:Finding'
, finding_updatedAt
- The time when AddAttributesToFindings is called.
finding_severity :: Lens' Finding (Maybe Severity) Source #
The finding severity. Values can be set to High, Medium, Low, and Informational.
finding_schemaVersion :: Lens' Finding (Maybe Natural) Source #
The schema version of this data type.
finding_confidence :: Lens' Finding (Maybe Natural) Source #
This data element is currently not used.
finding_assetAttributes :: Lens' Finding (Maybe AssetAttributes) Source #
A collection of attributes of the host from which the finding is generated.
finding_serviceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes) Source #
This data type is used in the Finding data type.
finding_numericSeverity :: Lens' Finding (Maybe Double) Source #
The numeric value of the finding severity.
finding_assetType :: Lens' Finding (Maybe AssetType) Source #
The type of the host from which the finding is generated.
finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool) Source #
This data element is currently not used.
finding_attributes :: Lens' Finding [Attribute] Source #
The system-defined attributes for the finding.