| 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.Inspector.Types.Finding
Description
Synopsis
- data Finding = Finding' {
- assetAttributes :: Maybe AssetAttributes
- assetType :: Maybe AssetType
- confidence :: Maybe Natural
- description :: Maybe Text
- id :: Maybe Text
- indicatorOfCompromise :: Maybe Bool
- numericSeverity :: Maybe Double
- recommendation :: Maybe Text
- schemaVersion :: Maybe Natural
- service :: Maybe Text
- serviceAttributes :: Maybe InspectorServiceAttributes
- severity :: Maybe Severity
- title :: Maybe Text
- arn :: Text
- attributes :: [Attribute]
- userAttributes :: [Attribute]
- createdAt :: POSIX
- updatedAt :: POSIX
- newFinding :: Text -> UTCTime -> UTCTime -> Finding
- finding_assetAttributes :: Lens' Finding (Maybe AssetAttributes)
- finding_assetType :: Lens' Finding (Maybe AssetType)
- finding_confidence :: Lens' Finding (Maybe Natural)
- finding_description :: Lens' Finding (Maybe Text)
- finding_id :: Lens' Finding (Maybe Text)
- finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool)
- finding_numericSeverity :: Lens' Finding (Maybe Double)
- finding_recommendation :: Lens' Finding (Maybe Text)
- finding_schemaVersion :: Lens' Finding (Maybe Natural)
- finding_service :: Lens' Finding (Maybe Text)
- finding_serviceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes)
- finding_severity :: Lens' Finding (Maybe Severity)
- finding_title :: 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.
Constructors
| Finding' | |
Fields
| |
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:assetAttributes:Finding', finding_assetAttributes - A collection of attributes of the host from which the finding is
generated.
$sel:assetType:Finding', finding_assetType - The type of the host from which the finding is generated.
$sel:confidence:Finding', finding_confidence - This data element is currently not used.
$sel:description:Finding', finding_description - The description of the finding.
$sel:id:Finding', finding_id - The ID of the finding.
$sel:indicatorOfCompromise:Finding', finding_indicatorOfCompromise - This data element is currently not used.
$sel:numericSeverity:Finding', finding_numericSeverity - The numeric value of the finding severity.
$sel:recommendation:Finding', finding_recommendation - The recommendation for the finding.
Finding, finding_schemaVersion - The schema version of this data type.
$sel:service:Finding', finding_service - The data element is set to "Inspector".
$sel:serviceAttributes:Finding', finding_serviceAttributes - This data type is used in the Finding data type.
$sel:severity:Finding', finding_severity - The finding severity. Values can be set to High, Medium, Low, and
Informational.
$sel:title:Finding', finding_title - The name of 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_assetAttributes :: Lens' Finding (Maybe AssetAttributes) Source #
A collection of attributes of the host from which the finding is generated.
finding_assetType :: Lens' Finding (Maybe AssetType) Source #
The type of the host from which the finding is generated.
finding_confidence :: Lens' Finding (Maybe Natural) Source #
This data element is currently not used.
finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool) Source #
This data element is currently not used.
finding_numericSeverity :: Lens' Finding (Maybe Double) Source #
The numeric value of the finding severity.
finding_schemaVersion :: Lens' Finding (Maybe Natural) Source #
The schema version of this data type.
finding_serviceAttributes :: Lens' Finding (Maybe InspectorServiceAttributes) Source #
This data type is used in the Finding data type.
finding_severity :: Lens' Finding (Maybe Severity) Source #
The finding severity. Values can be set to High, Medium, Low, and Informational.
finding_attributes :: Lens' Finding [Attribute] Source #
The system-defined attributes for the finding.