macOS
TMA-MACOS15-1.4
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.
점검 방법
감사 방식: 셸 명령
shell
/usr/bin/osascript -l JavaScript <<'EOS'
function run() {
let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.commerce').objectForKey('AutoUpdate'))
let pref2 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.SoftwareUpdate').objectForKey('AutomaticallyInstallAppUpdates'))
if ( pref1 == 1 || pref2 == 1 ) {
return("true")
} else {
return("false")
}
}
EOS- 예상 출력
true
조치 방법
조치 방식: 가이드 또는 인프라 패치
Profile (preferred): com.apple.SoftwareUpdate AutomaticallyInstallAppUpdates = <true/>. Terminal: sudo /usr/bin/defaults write /Library/Preferences/com.apple.commerce AutoUpdate -bool TRUE. GUI: System Settings > General > Software Update > i > Set Install application updates from the App Store to enabled > Done.
속성
- 운영 체제
- macos-15
- 태그
- macossoftware-update
- 참고 자료
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 1.4 Ensure Install Application Updates from the App Store Is Enabled
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target macos