View Source GoogleApi.OnDemandScanning.V1.Model.PackageIssue (google_api_on_demand_scanning v0.4.0)

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

Attributes

  • affectedCpeUri (type: String.t, default: nil) - Required. The CPE URI this vulnerability was found in.
  • affectedPackage (type: String.t, default: nil) - Required. The package this vulnerability was found in.
  • affectedVersion (type: GoogleApi.OnDemandScanning.V1.Model.Version.t, default: nil) - Required. The version of the package that is installed on the resource affected by this vulnerability.
  • effectiveSeverity (type: String.t, default: nil) - Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.
  • fileLocation (type: list(GoogleApi.OnDemandScanning.V1.Model.GrafeasV1FileLocation.t), default: nil) - The location at which this package was found.
  • fixAvailable (type: boolean(), default: nil) - Output only. Whether a fix is available for this package.
  • fixedCpeUri (type: String.t, default: nil) - The CPE URI this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.
  • fixedPackage (type: String.t, default: nil) - The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.
  • fixedVersion (type: GoogleApi.OnDemandScanning.V1.Model.Version.t, default: nil) - Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available.
  • packageType (type: String.t, default: nil) - The type of package (e.g. OS, MAVEN, GO).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.PackageIssue{
  affectedCpeUri: String.t() | nil,
  affectedPackage: String.t() | nil,
  affectedVersion: GoogleApi.OnDemandScanning.V1.Model.Version.t() | nil,
  effectiveSeverity: String.t() | nil,
  fileLocation:
    [GoogleApi.OnDemandScanning.V1.Model.GrafeasV1FileLocation.t()] | nil,
  fixAvailable: boolean() | nil,
  fixedCpeUri: String.t() | nil,
  fixedPackage: String.t() | nil,
  fixedVersion: GoogleApi.OnDemandScanning.V1.Model.Version.t() | nil,
  packageType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.