macOS
TMA-MACOS-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-26
- 태그
- macossystem-settings
- 참고 자료
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.4.1 Ensure Backup Automatically is Enabled If Time Machine Is Enabled
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target macos --level 2