macOS
TMA-MACOS15-1.2
Ensure Download New Updates When Available Is Enabled
中等級 1自動化macos
說明
In the GUI, both "Install macOS updates" and "Install app updates from the App Store" are dependent on whether "Download new updates when available" is selected.
檢查方式
稽核方法: Shell 指令
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.SoftwareUpdate').objectForKey('AutomaticDownload').js
EOS- 預期輸出
true
修補方式
修補方法: 操作指南或基礎設施修補檔
Profile (preferred): com.apple.SoftwareUpdate AutomaticDownload = <true/>. Terminal: sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool true. GUI: System Settings > General > Software Update > i > Set Download new updates when available to enabled > Done.
屬性
- 作業系統
- macos-15
- 標籤
- macossoftware-update
- 參考資料
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 1.2 Ensure Download New Updates When Available Is Enabled
檢查此主機
請在您有權稽核的機器上執行此指令。掃描為唯讀操作。
shell
tmaegis scan --target macos