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 VulnerabilityVendor = VulnerabilityVendor' {
- vendorSeverity :: Maybe Text
- url :: Maybe Text
- vendorCreatedAt :: Maybe Text
- vendorUpdatedAt :: Maybe Text
- name :: Text
- newVulnerabilityVendor :: Text -> VulnerabilityVendor
- vulnerabilityVendor_vendorSeverity :: Lens' VulnerabilityVendor (Maybe Text)
- vulnerabilityVendor_url :: Lens' VulnerabilityVendor (Maybe Text)
- vulnerabilityVendor_vendorCreatedAt :: Lens' VulnerabilityVendor (Maybe Text)
- vulnerabilityVendor_vendorUpdatedAt :: Lens' VulnerabilityVendor (Maybe Text)
- vulnerabilityVendor_name :: Lens' VulnerabilityVendor Text
Documentation
data VulnerabilityVendor Source #
A vendor that generates a vulnerability report.
See: newVulnerabilityVendor
smart constructor.
VulnerabilityVendor' | |
|
Instances
newVulnerabilityVendor Source #
Create a value of VulnerabilityVendor
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:vendorSeverity:VulnerabilityVendor'
, vulnerabilityVendor_vendorSeverity
- The severity that the vendor assigned to the vulnerability.
$sel:url:VulnerabilityVendor'
, vulnerabilityVendor_url
- The URL of the vulnerability advisory.
$sel:vendorCreatedAt:VulnerabilityVendor'
, vulnerabilityVendor_vendorCreatedAt
- Indicates when the vulnerability advisory was created.
Uses the date-time
format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
$sel:vendorUpdatedAt:VulnerabilityVendor'
, vulnerabilityVendor_vendorUpdatedAt
- Indicates when the vulnerability advisory was last updated.
Uses the date-time
format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
$sel:name:VulnerabilityVendor'
, vulnerabilityVendor_name
- The name of the vendor.
vulnerabilityVendor_vendorSeverity :: Lens' VulnerabilityVendor (Maybe Text) Source #
The severity that the vendor assigned to the vulnerability.
vulnerabilityVendor_url :: Lens' VulnerabilityVendor (Maybe Text) Source #
The URL of the vulnerability advisory.
vulnerabilityVendor_vendorCreatedAt :: Lens' VulnerabilityVendor (Maybe Text) Source #
Indicates when the vulnerability advisory was created.
Uses the date-time
format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
vulnerabilityVendor_vendorUpdatedAt :: Lens' VulnerabilityVendor (Maybe Text) Source #
Indicates when the vulnerability advisory was last updated.
Uses the date-time
format specified in
RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
vulnerabilityVendor_name :: Lens' VulnerabilityVendor Text Source #
The name of the vendor.