View Source GoogleApi.ContainerAnalysis.V1alpha1.Model.VulnerabilityType (google_api_container_analysis v0.28.0)

VulnerabilityType provides metadata about a security vulnerability.

Attributes

  • cvssScore (type: number(), default: nil) - The CVSS score for this Vulnerability.
  • cvssV2 (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.CVSS.t, default: nil) - The full description of the CVSS for version 2.
  • cvssVersion (type: String.t, default: nil) - CVSS version used to populate cvss_score and severity.
  • cwe (type: list(String.t), default: nil) - A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
  • details (type: list(GoogleApi.ContainerAnalysis.V1alpha1.Model.Detail.t), default: nil) - All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
  • severity (type: String.t, default: nil) - Note provider assigned impact of the vulnerability

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.VulnerabilityType{
  cvssScore: number() | nil,
  cvssV2: GoogleApi.ContainerAnalysis.V1alpha1.Model.CVSS.t() | nil,
  cvssVersion: String.t() | nil,
  cwe: [String.t()] | nil,
  details: [GoogleApi.ContainerAnalysis.V1alpha1.Model.Detail.t()] | nil,
  severity: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.