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.Cvss

Description

 
Synopsis

Documentation

data Cvss Source #

CVSS scores from the advisory related to the vulnerability.

See: newCvss smart constructor.

Constructors

Cvss' 

Fields

Instances

Instances details
Eq Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

Methods

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

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

Read Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

Show Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

Methods

showsPrec :: Int -> Cvss -> ShowS #

show :: Cvss -> String #

showList :: [Cvss] -> ShowS #

Generic Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

Associated Types

type Rep Cvss :: Type -> Type #

Methods

from :: Cvss -> Rep Cvss x #

to :: Rep Cvss x -> Cvss #

NFData Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

Methods

rnf :: Cvss -> () #

Hashable Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

Methods

hashWithSalt :: Int -> Cvss -> Int #

hash :: Cvss -> Int #

ToJSON Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

FromJSON Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

type Rep Cvss Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.Cvss

type Rep Cvss = D1 ('MetaData "Cvss" "Amazonka.SecurityHub.Types.Cvss" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "Cvss'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "adjustments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Adjustment])) :*: S1 ('MetaSel ('Just "baseVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "baseScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

newCvss :: Cvss Source #

Create a value of Cvss 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:adjustments:Cvss', cvss_adjustments - Adjustments to the CVSS metrics.

$sel:baseVector:Cvss', cvss_baseVector - The base scoring vector for the CVSS score.

$sel:version:Cvss', cvss_version - The version of CVSS for the CVSS score.

$sel:source:Cvss', cvss_source - The origin of the original CVSS score and vector.

$sel:baseScore:Cvss', cvss_baseScore - The base CVSS score.

cvss_adjustments :: Lens' Cvss (Maybe [Adjustment]) Source #

Adjustments to the CVSS metrics.

cvss_baseVector :: Lens' Cvss (Maybe Text) Source #

The base scoring vector for the CVSS score.

cvss_version :: Lens' Cvss (Maybe Text) Source #

The version of CVSS for the CVSS score.

cvss_source :: Lens' Cvss (Maybe Text) Source #

The origin of the original CVSS score and vector.

cvss_baseScore :: Lens' Cvss (Maybe Double) Source #

The base CVSS score.