View Source GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerability (google_api_os_config v0.21.1)

A vulnerability affecting the VM instance.

Attributes

  • availableInventoryItemIds (type: list(String.t), default: nil) - Corresponds to the AVAILABLE_PACKAGE inventory item on the VM. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. If there is no available fix, the field is empty. The inventory_item value specifies the latest SoftwarePackage available to the VM that fixes the vulnerability.
  • createTime (type: DateTime.t, default: nil) - The timestamp for when the vulnerability was first detected.
  • details (type: GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerabilityDetails.t, default: nil) - Contains metadata as per the upstream feed of the operating system and NVD.
  • installedInventoryItemIds (type: list(String.t), default: nil) - Corresponds to the INSTALLED_PACKAGE inventory item on the VM. This field displays the inventory items affected by this vulnerability. If the vulnerability report was not updated after the VM inventory update, these values might not display in VM inventory. For some distros, this field may be empty.
  • items (type: list(GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerabilityItem.t), default: nil) - List of items affected by the vulnerability.
  • updateTime (type: DateTime.t, default: nil) - The timestamp for when the vulnerability was last modified.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerability{
  availableInventoryItemIds: [String.t()] | nil,
  createTime: DateTime.t() | nil,
  details:
    GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerabilityDetails.t()
    | nil,
  installedInventoryItemIds: [String.t()] | nil,
  items:
    [GoogleApi.OSConfig.V1.Model.VulnerabilityReportVulnerabilityItem.t()] | nil,
  updateTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.