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

The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.

Attributes

  • classification (type: String.t, default: nil) - The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)
  • cpeUri (type: String.t, default: nil) - Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
  • cve (type: list(String.t), default: nil) - The cve tied to this Upgrade.
  • severity (type: String.t, default: nil) - The severity as specified by the upstream operating system.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.UpgradeDistribution{
  classification: String.t() | nil,
  cpeUri: String.t() | nil,
  cve: [String.t()] | nil,
  severity: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.