TMAegisBeta
Aturan lainnya untuk macos

macOS

TMA-MACOS14-2.3.4.1

Ensure Backup Automatically is Enabled If Time Machine Is Enabled

SedangLevel 2Otomatismacos

Deskripsi

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. Operational staff should ensure that backups complete on a regular basis and the backups are tested to ensure that file restoration from backup is possible when needed. Backup dates are available even when the target volume is not available in the Time Machine plist. SnapshotDates = ( "2020-08-20 12:10:22 +0000", "2021-02-03 23:43:22 +0000", "2022- 02-19 21:37:21 +0000", "2023-02-22 13:07:25 +0000", "2024-08-20 14:07:14 +0000" When the backup volume is connected to the computer, more extensive information is available through tmutil. See man...

Cara pemeriksaan

Metode audit: Perintah shell

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
Output yang diharapkan
true

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

Graphical Method: Perform the following steps to enable Time Machine automatic backup: 1. Open System Settings 2. Select General 3. Select Time Machine 4. Select Options... 5. Set Back up frequency to Automatically <every hour/every day/every week> Profile Method: Create or edit a configuration profile with the following information: 1. The PayloadType string is com.apple.MCX.TimeMachine 2. The key to include is AutoBackup 3. The key must be set to <true/> Note: In previous versions of the benchmark, the plist could be set in Terminal. In macOS 15 Sequoia that plist is now protected and cannot be written to, so the command line remediation has been removed. Both the profile method and graphical method still configure Time Machine to the required state.

Properti

Sistem operasi
macos-14
Tag
backupmacossonoma
Referensi
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 2.3.4.1 Ensure Backup Automatically is Enabled If Time Machine Is Enabled

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target macos --level 2