TMAegisБета
Другие правила для macos

macOS

TMA-MACOS14-1.3

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. It is important that a system has the newest updates downloaded so that they can be applied.

Как проверяется

Метод проверки: Команда оболочки

shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.SoftwareUpdate').objectForKey('AutomaticallyInstallMacOSUpdates').js
EOS
Ожидаемый вывод
true

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

Perform the following to enable the system to automatically check for updates: Graphical Method: 1. Open System Settings 2. Select General 3. Select Software Update 4. Select the i 5. Set Download new updates when available to enabled 6. Select Done Terminal Method: Run the following command to enable auto update: % /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -bool true Profile Method: Create or edit a configuration profile with the following information: 1. The PayloadType string is com.apple.SoftwareUpdate 2. The key to include is AutomaticDownload 3. The key must be set to <true/>

Свойства

Операционные системы
macos-14
Теги
macospatchingsonoma
Источник
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 1.3 Ensure Download New Updates When Available Is Enabled

Проверить этот хост

Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.

shell
tmaegis scan --target macos