View Source GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1VulnerabilityDetails (google_api_container_analysis v0.28.0)

Details of a vulnerability Occurrence.

Attributes

  • 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.
  • cvssV2 (type: GoogleApi.ContainerAnalysis.V1beta1.Model.CVSS.t, default: nil) - The cvss v2 score for the vulnerability.
  • cvssV3 (type: GoogleApi.ContainerAnalysis.V1beta1.Model.CVSS.t, default: nil) - The cvss v3 score for the vulnerability.
  • cvssVersion (type: String.t, default: nil) - Output only. CVSS version used to populate cvss_score and severity.
  • effectiveSeverity (type: String.t, default: nil) - The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. 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.
  • extraDetails (type: String.t, default: nil) - Occurrence-specific extra details about the vulnerability.
  • longDescription (type: String.t, default: nil) - Output only. A detailed description of this vulnerability.
  • packageIssue (type: list(GoogleApi.ContainerAnalysis.V1beta1.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.V1beta1.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 the 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(ruby gems, node.js packages etc)
  • vexAssessment (type: GoogleApi.ContainerAnalysis.V1beta1.Model.VexAssessment.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContainerAnalysis.V1beta1.Model.GrafeasV1beta1VulnerabilityDetails{
    cvssScore: number() | nil,
    cvssV2: GoogleApi.ContainerAnalysis.V1beta1.Model.CVSS.t() | nil,
    cvssV3: GoogleApi.ContainerAnalysis.V1beta1.Model.CVSS.t() | nil,
    cvssVersion: String.t() | nil,
    effectiveSeverity: String.t() | nil,
    extraDetails: String.t() | nil,
    longDescription: String.t() | nil,
    packageIssue:
      [GoogleApi.ContainerAnalysis.V1beta1.Model.PackageIssue.t()] | nil,
    relatedUrls:
      [GoogleApi.ContainerAnalysis.V1beta1.Model.RelatedUrl.t()] | nil,
    severity: String.t() | nil,
    shortDescription: String.t() | nil,
    type: String.t() | nil,
    vexAssessment:
      GoogleApi.ContainerAnalysis.V1beta1.Model.VexAssessment.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.