| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECR.Types.CvssScore
Description
Synopsis
Documentation
The CVSS score for a finding.
See: newCvssScore smart constructor.
Constructors
| CvssScore' | |
Instances
| FromJSON CvssScore Source # | |
| Generic CvssScore Source # | |
| Read CvssScore Source # | |
| Show CvssScore Source # | |
| NFData CvssScore Source # | |
Defined in Amazonka.ECR.Types.CvssScore | |
| Eq CvssScore Source # | |
| Hashable CvssScore Source # | |
Defined in Amazonka.ECR.Types.CvssScore | |
| type Rep CvssScore Source # | |
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.