macOS
TMA-MACOS15-1.6
Ensure Software Update Deferment Is Less Than or Equal to 30 Days
高级别 1自动化macos
说明
Apple provides the capability to manage software updates on Apple devices through mobile device management. Part of those capabilities permit organizations to defer software updates and allow for testing. Many organizations have specialized software and configurations that may be negatively impacted by Apple updates. If software updates are deferred, they should not be deferred for more than 30 days. Audit: No deferral profile (no value) passes, as the benchmark states.
检查方式
审计方法: Shell 命令
shell
/usr/bin/osascript -l JavaScript <<'EOS'
function run() {
let delay = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess').objectForKey('enforcedSoftwareUpdateDelay'))
if ( delay == null || delay <= 30 ) {
return("true")
} else {
return("false")
}
}
EOS- 预期输出
true
修复方式
修复方法: 操作指南或基础设施补丁
Profile (preferred): com.apple.applicationaccess enforcedSoftwareUpdateDelay = <integer><1-30></integer>.
属性
- 操作系统
- macos-15
- 标签
- macossoftware-update
- 参考
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 1.6 Ensure Software Update Deferment Is Less Than or Equal to 30 Days
检查本机
请在您有权审计的机器上运行此命令。扫描为只读操作。
shell
tmaegis scan --target macos