Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability.
A vulnerability affecting the VM instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#available_inventory_item_ids
def available_inventory_item_ids() -> ::Array<::String>
Returns
-
(::Array<::String>) — 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. Theinventory_item
value specifies the latestSoftwarePackage
available to the VM that fixes the vulnerability.
#available_inventory_item_ids=
def available_inventory_item_ids=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — 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. Theinventory_item
value specifies the latestSoftwarePackage
available to the VM that fixes the vulnerability.
Returns
-
(::Array<::String>) — 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. Theinventory_item
value specifies the latestSoftwarePackage
available to the VM that fixes the vulnerability.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The timestamp for when the vulnerability was first detected.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The timestamp for when the vulnerability was first detected.
Returns
- (::Google::Protobuf::Timestamp) — The timestamp for when the vulnerability was first detected.
#details
def details() -> ::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details
Returns
- (::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details) — Contains metadata as per the upstream feed of the operating system and NVD.
#details=
def details=(value) -> ::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details
Parameter
- value (::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details) — Contains metadata as per the upstream feed of the operating system and NVD.
Returns
- (::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details) — Contains metadata as per the upstream feed of the operating system and NVD.
#installed_inventory_item_ids
def installed_inventory_item_ids() -> ::Array<::String>
Returns
-
(::Array<::String>) — 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.
#installed_inventory_item_ids=
def installed_inventory_item_ids=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — 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.
Returns
-
(::Array<::String>) — 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
def items() -> ::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Item>
Returns
- (::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Item>) — List of items affected by the vulnerability.
#items=
def items=(value) -> ::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Item>
Parameter
- value (::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Item>) — List of items affected by the vulnerability.
Returns
- (::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Item>) — List of items affected by the vulnerability.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The timestamp for when the vulnerability was last modified.
#update_time=
def update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The timestamp for when the vulnerability was last modified.
Returns
- (::Google::Protobuf::Timestamp) — The timestamp for when the vulnerability was last modified.