amazonka-ecr-2.0: Amazon EC2 Container Registry 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.ECR.Types.CvssScore

Description

 
Synopsis

Documentation

data CvssScore Source #

The CVSS score for a finding.

See: newCvssScore smart constructor.

Constructors

CvssScore' 

Fields

Instances

Instances details
FromJSON CvssScore Source # 
Instance details

Defined in Amazonka.ECR.Types.CvssScore

Generic CvssScore Source # 
Instance details

Defined in Amazonka.ECR.Types.CvssScore

Associated Types

type Rep CvssScore :: Type -> Type #

Read CvssScore Source # 
Instance details

Defined in Amazonka.ECR.Types.CvssScore

Show CvssScore Source # 
Instance details

Defined in Amazonka.ECR.Types.CvssScore

NFData CvssScore Source # 
Instance details

Defined in Amazonka.ECR.Types.CvssScore

Methods

rnf :: CvssScore -> () #

Eq CvssScore Source # 
Instance details

Defined in Amazonka.ECR.Types.CvssScore

Hashable CvssScore Source # 
Instance details

Defined in Amazonka.ECR.Types.CvssScore

type Rep CvssScore Source # 
Instance details

Defined in Amazonka.ECR.Types.CvssScore

type Rep CvssScore = D1 ('MetaData "CvssScore" "Amazonka.ECR.Types.CvssScore" "amazonka-ecr-2.0-BqgZWPod2JCFn2nq69DCrJ" 'False) (C1 ('MetaCons "CvssScore'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "baseScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "scoringVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newCvssScore :: CvssScore Source #

Create a value of CvssScore 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:baseScore:CvssScore', cvssScore_baseScore - The base CVSS score used for the finding.

$sel:scoringVector:CvssScore', cvssScore_scoringVector - The vector string of the CVSS score.

$sel:source:CvssScore', cvssScore_source - The source of the CVSS score.

$sel:version:CvssScore', cvssScore_version - The version of CVSS used for the score.

cvssScore_baseScore :: Lens' CvssScore (Maybe Double) Source #

The base CVSS score used for the finding.

cvssScore_scoringVector :: Lens' CvssScore (Maybe Text) Source #

The vector string of the CVSS score.

cvssScore_source :: Lens' CvssScore (Maybe Text) Source #

The source of the CVSS score.

cvssScore_version :: Lens' CvssScore (Maybe Text) Source #

The version of CVSS used for the score.