View Source GoogleApi.ContainerAnalysis.V1.Model.VulnerabilityOccurrence (google_api_container_analysis v0.25.0)

An occurrence of a severity vulnerability on a resource.


  • cvssScore (type: number(), default: nil) - Output only. 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.
  • cvssv3 (type: GoogleApi.ContainerAnalysis.V1.Model.CVSS.t, default: nil) - The cvss v3 score for the vulnerability.
  • effectiveSeverity (type: String.t, default: nil) - The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
  • fixAvailable (type: boolean(), default: nil) - Output only. Whether at least one of the affected packages has a fix available.
  • longDescription (type: String.t, default: nil) - Output only. A detailed description of this vulnerability.
  • packageIssue (type: list(GoogleApi.ContainerAnalysis.V1.Model.PackageIssue.t), default: nil) - Required. The set of affected locations and their fixes (if available) within the associated resource.
  • relatedUrls (type: list(GoogleApi.ContainerAnalysis.V1.Model.RelatedUrl.t), default: nil) - Output only. URLs related to this vulnerability.
  • severity (type: String.t, default: nil) - Output only. The note provider assigned severity of this vulnerability.
  • shortDescription (type: String.t, default: nil) - Output only. A one sentence description of this vulnerability.
  • type (type: String.t, default: nil) - The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.ContainerAnalysis.V1.Model.VulnerabilityOccurrence{
  cvssScore: number() | nil,
  cvssv3: GoogleApi.ContainerAnalysis.V1.Model.CVSS.t() | nil,
  effectiveSeverity: String.t() | nil,
  fixAvailable: boolean() | nil,
  longDescription: String.t() | nil,
  packageIssue: [GoogleApi.ContainerAnalysis.V1.Model.PackageIssue.t()] | nil,
  relatedUrls: [GoogleApi.ContainerAnalysis.V1.Model.RelatedUrl.t()] | nil,
  severity: String.t() | nil,
  shortDescription: String.t() | nil,
  type: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.