libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.Types.Finding

Description

 
Synopsis

Documentation

data Finding Source #

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

Instances details
Eq Finding Source # 
Instance details

Defined in Amazonka.Inspector.Types.Finding

Methods

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

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

Read Finding Source # 
Instance details

Defined in Amazonka.Inspector.Types.Finding

Show Finding Source # 
Instance details

Defined in Amazonka.Inspector.Types.Finding

Generic Finding Source # 
Instance details

Defined in Amazonka.Inspector.Types.Finding

Associated Types

type Rep Finding :: Type -> Type #

Methods

from :: Finding -> Rep Finding x #

to :: Rep Finding x -> Finding #

NFData Finding Source # 
Instance details

Defined in Amazonka.Inspector.Types.Finding

Methods

rnf :: Finding -> () #

Hashable Finding Source # 
Instance details

Defined in Amazonka.Inspector.Types.Finding

Methods

hashWithSalt :: Int -> Finding -> Int #

hash :: Finding -> Int #

FromJSON Finding Source # 
Instance details

Defined in Amazonka.Inspector.Types.Finding

type Rep Finding Source # 
Instance details

Defined in Amazonka.Inspector.Types.Finding

type Rep Finding = D1 ('MetaData "Finding" "Amazonka.Inspector.Types.Finding" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "Finding'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Severity))) :*: (S1 ('MetaSel ('Just "schemaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "assetAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetAttributes)) :*: S1 ('MetaSel ('Just "serviceAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InspectorServiceAttributes))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "numericSeverity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "assetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetType)))))) :*: (((S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "indicatorOfCompromise") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recommendation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Attribute])) :*: (S1 ('MetaSel ('Just "userAttributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Attribute]) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))))

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

The data element is set to "Inspector".

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

The ID of the finding.

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

The name of the finding.

finding_indicatorOfCompromise :: Lens' Finding (Maybe Bool) Source #

This data element is currently not used.

finding_description :: Lens' Finding (Maybe Text) Source #

The description of the finding.

finding_recommendation :: Lens' Finding (Maybe Text) Source #

The recommendation for the finding.

finding_arn :: Lens' Finding Text Source #

The ARN that specifies the finding.

finding_attributes :: Lens' Finding [Attribute] Source #

The system-defined attributes for the finding.

finding_userAttributes :: Lens' Finding [Attribute] Source #

The user-defined attributes that are assigned to the finding.

finding_createdAt :: Lens' Finding UTCTime Source #

The time when the finding was generated.

finding_updatedAt :: Lens' Finding UTCTime Source #

The time when AddAttributesToFindings is called.