Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Cvss = Cvss' {
- adjustments :: Maybe [Adjustment]
- baseVector :: Maybe Text
- version :: Maybe Text
- source :: Maybe Text
- baseScore :: Maybe Double
- newCvss :: Cvss
- cvss_adjustments :: Lens' Cvss (Maybe [Adjustment])
- cvss_baseVector :: Lens' Cvss (Maybe Text)
- cvss_version :: Lens' Cvss (Maybe Text)
- cvss_source :: Lens' Cvss (Maybe Text)
- cvss_baseScore :: Lens' Cvss (Maybe Double)
Documentation
CVSS scores from the advisory related to the vulnerability.
See: newCvss
smart constructor.
Cvss' | |
|
Instances
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.