# Class Vulnerability (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.2 1.19.0 1.18.1 1.17.5 1.16.0 1.15.3 1.14.1 1.13.0 1.12.4 1.11.2 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.1.2

    Vulnerability(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A vulnerability affecting the VM instance.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `details` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.types.VulnerabilityReport.Vulnerability.Details` Contains metadata as per the upstream feed of the operating system and NVD. |
| `installed_inventory_item_ids` | `MutableSequence[str]` 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. |
| `available_inventory_item_ids` | `MutableSequence[str]` 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. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` The timestamp for when the vulnerability was first detected. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` The timestamp for when the vulnerability was last modified. |
| `items` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1alpha.types.VulnerabilityReport.Vulnerability.Item]` List of items affected by the vulnerability. |

## Classes

### Details

    Details(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains metadata information for the vulnerability. This
information is collected from the upstream feed of the operating
system.

### Item

    Item(mapping=None, *, ignore_unknown_fields=False, **kwargs)

OS inventory item that is affected by a vulnerability or
fixed as a result of a vulnerability.