amazonka-inspector2-2.0: Amazon Inspector2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Inspector2.Types.Finding

Description

 
Synopsis

Documentation

data Finding Source #

Details about an Amazon Inspector finding.

See: newFinding smart constructor.

Constructors

Finding' 

Fields

Instances

Instances details
FromJSON Finding Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Finding

Generic Finding Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Finding

Associated Types

type Rep Finding :: Type -> Type #

Methods

from :: Finding -> Rep Finding x #

to :: Rep Finding x -> Finding #

Read Finding Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Finding

Show Finding Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Finding

NFData Finding Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Finding

Methods

rnf :: Finding -> () #

Eq Finding Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Finding

Methods

(==) :: Finding -> Finding -> Bool #

(/=) :: Finding -> Finding -> Bool #

Hashable Finding Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Finding

Methods

hashWithSalt :: Int -> Finding -> Int #

hash :: Finding -> Int #

type Rep Finding Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Finding

type Rep Finding = D1 ('MetaData "Finding" "Amazonka.Inspector2.Types.Finding" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Finding'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "exploitAvailable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExploitAvailable)) :*: S1 ('MetaSel ('Just "exploitabilityDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExploitabilityDetails))) :*: (S1 ('MetaSel ('Just "fixAvailable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FixAvailable)) :*: S1 ('MetaSel ('Just "inspectorScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: ((S1 ('MetaSel ('Just "inspectorScoreDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InspectorScoreDetails)) :*: S1 ('MetaSel ('Just "networkReachabilityDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkReachabilityDetails))) :*: (S1 ('MetaSel ('Just "packageVulnerabilityDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PackageVulnerabilityDetails)) :*: (S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))) :*: (((S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "findingArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "firstObservedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "lastObservedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))) :*: ((S1 ('MetaSel ('Just "remediation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Remediation) :*: S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Resource))) :*: (S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Severity) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FindingStatus) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FindingType)))))))

newFinding 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: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_title :: Lens' Finding (Maybe Text) Source #

The title of the 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_description :: Lens' Finding Text Source #

The description of the finding.

finding_findingArn :: Lens' Finding Text Source #

The Amazon Resource Number (ARN) of 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_severity :: Lens' Finding Severity Source #

The severity of the finding.

finding_status :: Lens' Finding FindingStatus Source #

The status of the finding.

finding_type :: Lens' Finding FindingType Source #

The type of the finding.