Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details.
Contains metadata information for the vulnerability. This information is collected from the upstream feed of the operating system.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cve
def cve() -> ::String
Returns
- (::String) — The CVE of the vulnerability. CVE cannot be empty and the combination of
#cve=
def cve=(value) -> ::String
Parameter
- value (::String) — The CVE of the vulnerability. CVE cannot be empty and the combination of
Returns
- (::String) — The CVE of the vulnerability. CVE cannot be empty and the combination of
#cvss_v2_score
def cvss_v2_score() -> ::Float
Returns
- (::Float) — The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
#cvss_v2_score=
def cvss_v2_score=(value) -> ::Float
Parameter
- value (::Float) — The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
Returns
- (::Float) — The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
#cvss_v3
def cvss_v3() -> ::Google::Cloud::OsConfig::V1::CVSSv3
Returns
- (::Google::Cloud::OsConfig::V1::CVSSv3) — The full description of the CVSSv3 for this vulnerability from NVD.
#cvss_v3=
def cvss_v3=(value) -> ::Google::Cloud::OsConfig::V1::CVSSv3
Parameter
- value (::Google::Cloud::OsConfig::V1::CVSSv3) — The full description of the CVSSv3 for this vulnerability from NVD.
Returns
- (::Google::Cloud::OsConfig::V1::CVSSv3) — The full description of the CVSSv3 for this vulnerability from NVD.
#description
def description() -> ::String
Returns
- (::String) — The note or description describing the vulnerability from the distro.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — The note or description describing the vulnerability from the distro.
Returns
- (::String) — The note or description describing the vulnerability from the distro.
#references
def references() -> ::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>
Returns
-
(::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>) — Corresponds to the references attached to the
VulnerabilityDetails
.
#references=
def references=(value) -> ::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>
Parameter
-
value (::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>) — Corresponds to the references attached to the
VulnerabilityDetails
.
Returns
-
(::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>) — Corresponds to the references attached to the
VulnerabilityDetails
.
#severity
def severity() -> ::String
Returns
- (::String) — Assigned severity/impact ranking from the distro.
#severity=
def severity=(value) -> ::String
Parameter
- value (::String) — Assigned severity/impact ranking from the distro.
Returns
- (::String) — Assigned severity/impact ranking from the distro.