Pending Updates
find_pending_updatesCheck hosts with pending software updates, showing package names and versions. Filter to security-relevant updates only.
Instructions
Hosts with pending updates, with the package names and versions for each.
Covers every update by default; security_only narrows it to the security ones. Naming each package costs one API request, capped by max_packages_per_host; the update count itself is always exact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return. Defaults to 50, maximum 500. | |
| security_only | No | Only updates the vendor marks as security relevant. Far shorter, and the one an operator usually means. | |
| 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. |