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 Vulnerability = Vulnerability' {
- vendor :: Maybe VulnerabilityVendor
- relatedVulnerabilities :: Maybe [Text]
- vulnerablePackages :: Maybe [SoftwarePackage]
- referenceUrls :: Maybe [Text]
- cvss :: Maybe [Cvss]
- id :: Text
- newVulnerability :: Text -> Vulnerability
- vulnerability_vendor :: Lens' Vulnerability (Maybe VulnerabilityVendor)
- vulnerability_relatedVulnerabilities :: Lens' Vulnerability (Maybe [Text])
- vulnerability_vulnerablePackages :: Lens' Vulnerability (Maybe [SoftwarePackage])
- vulnerability_referenceUrls :: Lens' Vulnerability (Maybe [Text])
- vulnerability_cvss :: Lens' Vulnerability (Maybe [Cvss])
- vulnerability_id :: Lens' Vulnerability Text
Documentation
data Vulnerability Source #
A vulnerability associated with a finding.
See: newVulnerability
smart constructor.
Vulnerability' | |
|
Instances
Create a value of Vulnerability
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:vendor:Vulnerability'
, vulnerability_vendor
- Information about the vendor that generates the vulnerability report.
$sel:relatedVulnerabilities:Vulnerability'
, vulnerability_relatedVulnerabilities
- List of vulnerabilities that are related to this vulnerability.
$sel:vulnerablePackages:Vulnerability'
, vulnerability_vulnerablePackages
- List of software packages that have the vulnerability.
$sel:referenceUrls:Vulnerability'
, vulnerability_referenceUrls
- A list of URLs that provide additional information about the
vulnerability.
$sel:cvss:Vulnerability'
, vulnerability_cvss
- CVSS scores from the advisory related to the vulnerability.
$sel:id:Vulnerability'
, vulnerability_id
- The identifier of the vulnerability.
vulnerability_vendor :: Lens' Vulnerability (Maybe VulnerabilityVendor) Source #
Information about the vendor that generates the vulnerability report.
vulnerability_relatedVulnerabilities :: Lens' Vulnerability (Maybe [Text]) Source #
List of vulnerabilities that are related to this vulnerability.
vulnerability_vulnerablePackages :: Lens' Vulnerability (Maybe [SoftwarePackage]) Source #
List of software packages that have the vulnerability.
vulnerability_referenceUrls :: Lens' Vulnerability (Maybe [Text]) Source #
A list of URLs that provide additional information about the vulnerability.
vulnerability_cvss :: Lens' Vulnerability (Maybe [Cvss]) Source #
CVSS scores from the advisory related to the vulnerability.
vulnerability_id :: Lens' Vulnerability Text Source #
The identifier of the vulnerability.