View Source GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerabilityDetails (google_api_os_config v0.21.1)

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

Attributes

  • cve (type: String.t, default: nil) - The CVE of the vulnerability. CVE cannot be empty and the combination of should be unique across vulnerabilities for a VM.
  • cvssV2Score (type: number(), default: nil) - 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.
  • cvssV3 (type: GoogleApi.OSConfig.V1.Model.CVSSv3.t, default: nil) - The full description of the CVSSv3 for this vulnerability from NVD.
  • description (type: String.t, default: nil) - The note or description describing the vulnerability from the distro.
  • references (type: list(GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerabilityDetailsReference.t), default: nil) - Corresponds to the references attached to the VulnerabilityDetails.
  • severity (type: String.t, default: nil) - Assigned severity/impact ranking from the distro.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerabilityDetails{
  cve: String.t() | nil,
  cvssV2Score: number() | nil,
  cvssV3: GoogleApi.OSConfig.V1.Model.CVSSv3.t() | nil,
  description: String.t() | nil,
  references:
    [
      GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerabilityDetailsReference.t()
    ]
    | nil,
  severity: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.