get_patch_status
Retrieve per-VM patch posture from Azure Resource Graph assessments. Classifies VMs as pending, current, or not evaluable based on update data.
Instructions
Report per-VM patch/update posture from Azure Resource Graph patch assessments.
Honest about provenance: every finding carries source="arg" — verdicts
come from the ARG patchassessmentresources table (Azure Update Manager
assessment data), never inferred from resource properties alone. A VM whose
posture cannot be trusted is not_evaluable — a deallocated/stopped VM
(Azure cannot assess a stopped VM) or a VM with no assessment data — with
pendingUpdateCount null (unknown, not zero), never a fake "current".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Restrict to VMs whose ARG resource ID contains this string (matches a subscription id, resource group, or resource name). | |
| severity | No | Which update classifications count: "critical" (critical only), "security" (critical + security), or "all" (default). | all |
| status_filter | No | Return only "pending" VMs (default), only "current", only "not_evaluable", or "all". The default answers "which VMs have pending updates?" and excludes "not_evaluable". | pending |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |