TMAegisБета
Више правила за macos

macOS

TMA-MACOS14-1.5

Ensure Install Application Updates from the App Store Is Enabled

ВисокаНиво 1Аутоматскаmacos

Опис

Ensure that application updates are installed after they are available from Apple. These updates do not require reboots or administrator privileges for end users. Patches need to be applied in a timely manner to reduce the risk of vulnerabilities being exploited.

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

Метод провере: Команда љуске

shell
/usr/bin/osascript -l JavaScript <<'EOS'
function run() {
  let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.SoftwareUpdate').objectForKey('ConfigDataInstall'))
  let pref2 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.SoftwareUpdate').objectForKey('CriticalUpdateInstall'))
  if ( pref1 == 1 && pref2 == 1 ) {
    return("true")
  } else {
    return("false")
  }
}
EOS
Очекивани излаз
true

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

Graphical Method: Perform the following steps to enable App Store updates to install automatically: 1. Open System Settings 2. Select General 3. Select Software Update 4. Select the i 5. Set Install application updates from the App Store to enabled 6. Select Done Terminal Method: Run the following command to turn on App Store auto updating: % /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.commerce AutoUpdate -bool TRUE Note: This remediation requires a log out and log in to show in the GUI. 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 AutomaticallyInstallAppUpdates 3. The key must be set to <true/>

Својства

Оперативни системи
macos-14
Ознаке
macospatchingsonoma
Референца
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 1.5 Ensure Install Application Updates from the App Store Is Enabled

Проверите овај рачунар

Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.

shell
tmaegis scan --target macos