| 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.Inspector2.Types.CvssScore
Description
Synopsis
- data CvssScore = CvssScore' {}
- newCvssScore :: Double -> Text -> Text -> Text -> CvssScore
- cvssScore_baseScore :: Lens' CvssScore Double
- cvssScore_scoringVector :: Lens' CvssScore Text
- cvssScore_source :: Lens' CvssScore Text
- cvssScore_version :: Lens' CvssScore Text
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.Inspector2.Types.CvssScore | |
| Eq CvssScore Source # | |
| Hashable CvssScore Source # | |
Defined in Amazonka.Inspector2.Types.CvssScore | |
| type Rep CvssScore Source # | |
Defined in Amazonka.Inspector2.Types.CvssScore type Rep CvssScore = D1 ('MetaData "CvssScore" "Amazonka.Inspector2.Types.CvssScore" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "CvssScore'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "baseScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "scoringVector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) | |
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.