class Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetails

Contains metadata information for the vulnerability. This information is collected from the upstream feed of the operating system.

Attributes

cve[RW]

The CVE of the vulnerability. CVE cannot be empty and the combination of should be unique across vulnerabilities for a VM. Corresponds to the JSON property `cve` @return [String]

cvss_v2_score[RW]

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. Corresponds to the JSON property `cvssV2Score` @return [Float]

cvss_v3[RW]

Common Vulnerability Scoring System version 3. For details, see www. first.org/cvss/specification-document Corresponds to the JSON property `cvssV3` @return [Google::Apis::OsconfigV1::CvsSv3]

description[RW]

The note or description describing the vulnerability from the distro. Corresponds to the JSON property `description` @return [String]

references[RW]

Corresponds to the references attached to the `VulnerabilityDetails`. Corresponds to the JSON property `references` @return [Array<Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetailsReference>]

severity[RW]

Assigned severity/impact ranking from the distro. Corresponds to the JSON property `severity` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1/classes.rb, line 1847
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1/classes.rb, line 1852
def update!(**args)
  @cve = args[:cve] if args.key?(:cve)
  @cvss_v2_score = args[:cvss_v2_score] if args.key?(:cvss_v2_score)
  @cvss_v3 = args[:cvss_v3] if args.key?(:cvss_v3)
  @description = args[:description] if args.key?(:description)
  @references = args[:references] if args.key?(:references)
  @severity = args[:severity] if args.key?(:severity)
end