class Google::Apis::OsconfigV1::VulnerabilityReportVulnerability
A vulnerability affecting the VM instance.
Attributes
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. Corresponds to the JSON property `availableInventoryItemIds` @return [Array<String>]
The timestamp for when the vulnerability was first detected. Corresponds to the JSON property `createTime` @return [String]
Contains metadata information for the vulnerability. This information is collected from the upstream feed of the operating system. Corresponds to the JSON property `details` @return [Google::Apis::OsconfigV1::VulnerabilityReportVulnerabilityDetails]
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. Corresponds to the JSON property `installedInventoryItemIds` @return [Array<String>]
The timestamp for when the vulnerability was last modified. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/osconfig_v1/classes.rb, line 1795 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/osconfig_v1/classes.rb, line 1800 def update!(**args) @available_inventory_item_ids = args[:available_inventory_item_ids] if args.key?(:available_inventory_item_ids) @create_time = args[:create_time] if args.key?(:create_time) @details = args[:details] if args.key?(:details) @installed_inventory_item_ids = args[:installed_inventory_item_ids] if args.key?(:installed_inventory_item_ids) @update_time = args[:update_time] if args.key?(:update_time) end