-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Description
Summary
The system_settings_softwareupdate_current rule uses LastFullSuccessfulDate to determine if the device is up-to-date. This is unreliable because the value changes even when running softwareupdate -l, without confirming update status.
Steps to reproduce
- Run the compliance script that checks
LastFullSuccessfulDate. - Run
softwareupdate -l. - Notice that the compliance check reports the device as up-to-date even when updates are pending.
Operating System version
(macOS 13 / 14 / 15 – reproducible across builds)
Intel or Apple Silicon
Both
Current behavior
Reports device as compliant when updates are still available.
Expected behavior
Compliance should only report up-to-date when no new software updates are available.
Relevant logs
defaults read /Library/Preferences/com.apple.SoftwareUpdate.plist LastFullSuccessfulDate
# Shows a recent date even though updates are pending
Possible fixes
softwareupdate -l 2>&1 | grep -q "No new software available." && echo "0" || echo "1"
Metadata
Metadata
Assignees
Labels
No labels