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

macOS

TMA-MACOS15-2.3.4.1

Ensure Backup Automatically is Enabled If Time Machine Is Enabled

СреднийУровень 2Автоматическаяmacos

Описание

Backup solutions are only effective if the backups run on a regular basis. The time to check for backups is before the hard drive fails or the computer goes missing. In order to simplify the user experience so that backups are more likely to occur, Time Machine should be on and set to Back Up Automatically whenever the target volume is available. Audit: Passes when Time Machine is not configured (preference not set) or AutoBackup is enabled.

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

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

shell
/usr/bin/osascript -l JavaScript <<'EOS'
function run() {
  let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.TimeMachine').objectForKey('AutoBackup'))
  if ( pref1 == null || pref1 == 1 ) {
    return("true")
  } else {
    return("false")
  }
}
EOS
Ожидаемый вывод
true

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

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

Profile (preferred): com.apple.MCX.TimeMachine AutoBackup = <true/>. GUI: System Settings > General > Time Machine > Options > Set Back up frequency to Automatically <every hour/every day/every week>.

Свойства

Операционные системы
macos-15
Теги
macossystem-settings
Источник
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.3.4.1 Ensure Backup Automatically is Enabled If Time Machine Is Enabled

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

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

shell
tmaegis scan --target macos --level 2