View Source GoogleApi.ContainerAnalysis.V1.Model.VulnerabilityNote (google_api_container_analysis v0.28.0)

A security vulnerability that can be found in resources.

Attributes

  • cvssScore (type: number(), default: nil) - The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.
  • cvssV2 (type: GoogleApi.ContainerAnalysis.V1.Model.CVSS.t, default: nil) - The full description of the v2 CVSS for this vulnerability.
  • cvssV3 (type: GoogleApi.ContainerAnalysis.V1.Model.CVSSv3.t, default: nil) - The full description of the CVSSv3 for this vulnerability.
  • cvssVersion (type: String.t, default: nil) - CVSS version used to populate cvss_score and severity.
  • details (type: list(GoogleApi.ContainerAnalysis.V1.Model.Detail.t), default: nil) - Details of all known distros and packages affected by this vulnerability.
  • severity (type: String.t, default: nil) - The note provider assigned severity of this vulnerability.
  • sourceUpdateTime (type: DateTime.t, default: nil) - The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
  • windowsDetails (type: list(GoogleApi.ContainerAnalysis.V1.Model.WindowsDetail.t), default: nil) - Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1.Model.VulnerabilityNote{
  cvssScore: number() | nil,
  cvssV2: GoogleApi.ContainerAnalysis.V1.Model.CVSS.t() | nil,
  cvssV3: GoogleApi.ContainerAnalysis.V1.Model.CVSSv3.t() | nil,
  cvssVersion: String.t() | nil,
  details: [GoogleApi.ContainerAnalysis.V1.Model.Detail.t()] | nil,
  severity: String.t() | nil,
  sourceUpdateTime: DateTime.t() | nil,
  windowsDetails: [GoogleApi.ContainerAnalysis.V1.Model.WindowsDetail.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.