patch_status
Assess patch-level distribution across endpoints and list those behind the target patch level, including counts and truncation handling for large fleets.
Instructions
[READ] Patch-level distribution + which endpoints are behind the target level.
Args: target_patch: Desired patch level; omit to use the fleet-majority level. endpoints: Injected inventory rows; skips live collection. target: Endpoint-management target name from config; omit for the default. limit: Max behind-endpoints to return (default 200).
Returns dict: {totalEndpoints, targetPatch, targetSource, distribution, behindCount, behind:{items[], returned, limit, truncated}}. behindCount is the full count; when behind.truncated is true, re-run with a higher limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| target | No | ||
| endpoints | No | ||
| target_patch | No |