View Source GoogleApi.ContainerAnalysis.V1alpha1.Model.VulnerabilityDetails (google_api_container_analysis v0.25.0)

Used by Occurrence to point to where the vulnerability exists and how to fix it.


  • 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.V1alpha1.Model.CVSS.t, default: nil) - The CVSS v3 score of this vulnerability.
  • effectiveSeverity (type: String.t, default: nil) - The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues.
  • packageIssue (type: list(GoogleApi.ContainerAnalysis.V1alpha1.Model.PackageIssue.t), default: nil) - The set of affected locations and their fixes (if available) within the associated resource.
  • severity (type: String.t, default: nil) - Output only. The note provider assigned Severity of the vulnerability.
  • type (type: String.t, default: nil) - The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.VulnerabilityDetails{
  cvssScore: number() | nil,
  cvssV3: GoogleApi.ContainerAnalysis.V1alpha1.Model.CVSS.t() | nil,
  effectiveSeverity: String.t() | nil,
    [GoogleApi.ContainerAnalysis.V1alpha1.Model.PackageIssue.t()] | nil,
  severity: 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.