signalgrid_software_updates
Audit macOS update posture: check auto-update settings, last check date, and cached available updates to identify patch-hygiene risks. Optionally trigger a live softwareupdate scan.
Instructions
Software update posture: auto-update settings, last successful check, cached count of available updates, and optionally a live check.
LastUpdatesAvailable > 0 or a stale LastSuccessfulDate is a patch-hygiene red flag. Values are null when a preference is unset or unreadable.
Args:
check_online: run a live softwareupdate -l (slow) in addition to the
cached state.
Returns: dict with keys: settings (dict of SoftwareUpdate preferences incl. AutomaticCheckEnabled, AutomaticallyInstallMacOSUpdates, CriticalUpdateInstall, LastSuccessfulDate, LastUpdatesAvailable, AppStoreAutoUpdate), and live_check (str, only when check_online=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check_online | No | If true, also query Apple's update servers live via `softwareupdate -l` (slow: 30-120s). If false (default), report only cached preference state, which is instant. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||