Pending Updates
list_pending_updatesRetrieve hosts with pending software updates, including package names and versions, to identify systems requiring patching.
Instructions
Hosts with any pending updates, security or not, with package names and versions.
Covers all updates, not only security ones, and is correspondingly larger. Naming each package costs one API request, capped by max_packages_per_host.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return. Defaults to 50, maximum 500. | |
| max_packages_per_host | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to narrow the query when truncated. | |
| count | Yes | Number of rows in `items`. | |
| items | Yes | The rows, at most `limit` of them. | |
| truncated | Yes | True if openITCOCKPIT held more rows than were returned. |