libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.Vulnerability

Description

 
Synopsis

Documentation

data Vulnerability Source #

A vulnerability associated with a finding.

See: newVulnerability smart constructor.

Constructors

Vulnerability' 

Fields

Instances

Instances details
Eq Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

Read Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

Show Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

Generic Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

Associated Types

type Rep Vulnerability :: Type -> Type #

NFData Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

Methods

rnf :: Vulnerability -> () #

Hashable Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

ToJSON Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

FromJSON Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

type Rep Vulnerability Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Vulnerability

type Rep Vulnerability = D1 ('MetaData "Vulnerability" "Amazonka.SecurityHub.Types.Vulnerability" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "Vulnerability'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "vendor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VulnerabilityVendor)) :*: (S1 ('MetaSel ('Just "relatedVulnerabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "vulnerablePackages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SoftwarePackage])))) :*: (S1 ('MetaSel ('Just "referenceUrls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "cvss") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Cvss])) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newVulnerability Source #

Create a value of Vulnerability 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:vendor:Vulnerability', vulnerability_vendor - Information about the vendor that generates the vulnerability report.

$sel:relatedVulnerabilities:Vulnerability', vulnerability_relatedVulnerabilities - List of vulnerabilities that are related to this vulnerability.

$sel:vulnerablePackages:Vulnerability', vulnerability_vulnerablePackages - List of software packages that have the vulnerability.

$sel:referenceUrls:Vulnerability', vulnerability_referenceUrls - A list of URLs that provide additional information about the vulnerability.

$sel:cvss:Vulnerability', vulnerability_cvss - CVSS scores from the advisory related to the vulnerability.

$sel:id:Vulnerability', vulnerability_id - The identifier of the vulnerability.

vulnerability_vendor :: Lens' Vulnerability (Maybe VulnerabilityVendor) Source #

Information about the vendor that generates the vulnerability report.

vulnerability_relatedVulnerabilities :: Lens' Vulnerability (Maybe [Text]) Source #

List of vulnerabilities that are related to this vulnerability.

vulnerability_vulnerablePackages :: Lens' Vulnerability (Maybe [SoftwarePackage]) Source #

List of software packages that have the vulnerability.

vulnerability_referenceUrls :: Lens' Vulnerability (Maybe [Text]) Source #

A list of URLs that provide additional information about the vulnerability.

vulnerability_cvss :: Lens' Vulnerability (Maybe [Cvss]) Source #

CVSS scores from the advisory related to the vulnerability.

vulnerability_id :: Lens' Vulnerability Text Source #

The identifier of the vulnerability.