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' {
- exploitAvailable :: Maybe ExploitAvailable
- exploitabilityDetails :: Maybe ExploitabilityDetails
- fixAvailable :: Maybe FixAvailable
- inspectorScore :: Maybe Double
- inspectorScoreDetails :: Maybe InspectorScoreDetails
- networkReachabilityDetails :: Maybe NetworkReachabilityDetails
- packageVulnerabilityDetails :: Maybe PackageVulnerabilityDetails
- title :: Maybe Text
- updatedAt :: Maybe POSIX
- awsAccountId :: Text
- description :: Text
- findingArn :: Text
- firstObservedAt :: POSIX
- lastObservedAt :: POSIX
- remediation :: Remediation
- resources :: NonEmpty Resource
- severity :: Severity
- status :: FindingStatus
- type' :: FindingType
- newFinding :: Text -> Text -> Text -> UTCTime -> UTCTime -> Remediation -> NonEmpty Resource -> Severity -> FindingStatus -> FindingType -> Finding
- finding_exploitAvailable :: Lens' Finding (Maybe ExploitAvailable)
- finding_exploitabilityDetails :: Lens' Finding (Maybe ExploitabilityDetails)
- finding_fixAvailable :: Lens' Finding (Maybe FixAvailable)
- finding_inspectorScore :: Lens' Finding (Maybe Double)
- finding_inspectorScoreDetails :: Lens' Finding (Maybe InspectorScoreDetails)
- finding_networkReachabilityDetails :: Lens' Finding (Maybe NetworkReachabilityDetails)
- finding_packageVulnerabilityDetails :: Lens' Finding (Maybe PackageVulnerabilityDetails)
- finding_title :: Lens' Finding (Maybe Text)
- finding_updatedAt :: Lens' Finding (Maybe UTCTime)
- finding_awsAccountId :: Lens' Finding Text
- finding_description :: Lens' Finding Text
- finding_findingArn :: Lens' Finding Text
- finding_firstObservedAt :: Lens' Finding UTCTime
- finding_lastObservedAt :: Lens' Finding UTCTime
- finding_remediation :: Lens' Finding Remediation
- finding_resources :: Lens' Finding (NonEmpty Resource)
- finding_severity :: Lens' Finding Severity
- finding_status :: Lens' Finding FindingStatus
- finding_type :: Lens' Finding FindingType
Documentation
Details about an Amazon Inspector finding.
See: newFinding
smart constructor.
Finding' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> Remediation | |
-> NonEmpty Resource | |
-> Severity | |
-> FindingStatus | |
-> FindingType | |
-> Finding |
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:exploitAvailable:Finding'
, finding_exploitAvailable
- If a finding discovered in your environment has an exploit available.
$sel:exploitabilityDetails:Finding'
, finding_exploitabilityDetails
- The details of an exploit available for a finding discovered in your
environment.
$sel:fixAvailable:Finding'
, finding_fixAvailable
- Details on whether a fix is available through a version update. This
value can be YES
, NO
, or PARTIAL
. A PARTIAL
fix means that some,
but not all, of the packages identified in the finding have fixes
available through updated versions.
$sel:inspectorScore:Finding'
, finding_inspectorScore
- The Amazon Inspector score given to the finding.
$sel:inspectorScoreDetails:Finding'
, finding_inspectorScoreDetails
- An object that contains details of the Amazon Inspector score.
$sel:networkReachabilityDetails:Finding'
, finding_networkReachabilityDetails
- An object that contains the details of a network reachability finding.
$sel:packageVulnerabilityDetails:Finding'
, finding_packageVulnerabilityDetails
- An object that contains the details of a package vulnerability finding.
$sel:title:Finding'
, finding_title
- The title of the finding.
$sel:updatedAt:Finding'
, finding_updatedAt
- The date and time the finding was last updated at.
$sel:awsAccountId:Finding'
, finding_awsAccountId
- The Amazon Web Services account ID associated with the finding.
$sel:description:Finding'
, finding_description
- The description of the finding.
$sel:findingArn:Finding'
, finding_findingArn
- The Amazon Resource Number (ARN) of the finding.
$sel:firstObservedAt:Finding'
, finding_firstObservedAt
- The date and time that the finding was first observed.
$sel:lastObservedAt:Finding'
, finding_lastObservedAt
- The date and time that the finding was last observed.
$sel:remediation:Finding'
, finding_remediation
- An object that contains the details about how to remediate a finding.
$sel:resources:Finding'
, finding_resources
- Contains information on the resources involved in a finding.
$sel:severity:Finding'
, finding_severity
- The severity of the finding.
$sel:status:Finding'
, finding_status
- The status of the finding.
Finding
, finding_type
- The type of the finding.
finding_exploitAvailable :: Lens' Finding (Maybe ExploitAvailable) Source #
If a finding discovered in your environment has an exploit available.
finding_exploitabilityDetails :: Lens' Finding (Maybe ExploitabilityDetails) Source #
The details of an exploit available for a finding discovered in your environment.
finding_fixAvailable :: Lens' Finding (Maybe FixAvailable) Source #
Details on whether a fix is available through a version update. This
value can be YES
, NO
, or PARTIAL
. A PARTIAL
fix means that some,
but not all, of the packages identified in the finding have fixes
available through updated versions.
finding_inspectorScore :: Lens' Finding (Maybe Double) Source #
The Amazon Inspector score given to the finding.
finding_inspectorScoreDetails :: Lens' Finding (Maybe InspectorScoreDetails) Source #
An object that contains details of the Amazon Inspector score.
finding_networkReachabilityDetails :: Lens' Finding (Maybe NetworkReachabilityDetails) Source #
An object that contains the details of a network reachability finding.
finding_packageVulnerabilityDetails :: Lens' Finding (Maybe PackageVulnerabilityDetails) Source #
An object that contains the details of a package vulnerability finding.
finding_updatedAt :: Lens' Finding (Maybe UTCTime) Source #
The date and time the finding was last updated at.
finding_awsAccountId :: Lens' Finding Text Source #
The Amazon Web Services account ID associated with the finding.
finding_firstObservedAt :: Lens' Finding UTCTime Source #
The date and time that the finding was first observed.
finding_lastObservedAt :: Lens' Finding UTCTime Source #
The date and time that the finding was last observed.
finding_remediation :: Lens' Finding Remediation Source #
An object that contains the details about how to remediate a finding.
finding_resources :: Lens' Finding (NonEmpty Resource) Source #
Contains information on the resources involved in a finding.
finding_status :: Lens' Finding FindingStatus Source #
The status of the finding.
finding_type :: Lens' Finding FindingType Source #
The type of the finding.