TMA-MACOS-2.6.5
Ensure Gatekeeper Is Enabled
高级别 1自动化macos
说明
Gatekeeper is Apple’s application that utilizes allowlisting to restrict downloaded applications from launching. It functions as a control to limit applications from unverified sources from running without authorization. In an update to Gatekeeper in macOS 13 Ventura, Gatekeeper checks every application on every launch, not just quarantined apps.
检查方式
审计方法: Shell 命令
shell
/usr/sbin/spctl --status 2>&1- 预期输出
assessments enabled
修复方式
修复方法: 操作指南或基础设施补丁
Profile (preferred): com.apple.systempolicy.control AllowIdentifiedDevelopers = <true/>; com.apple.systempolicy.control EnableAssessment = <true/>. GUI: System Settings > Privacy & Security > Set 'Allow apps downloaded from' to 'App Store and identified developers'.
属性
- 操作系统
- macos-26
- 标签
- macossystem-settings
- 参考
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.6.5 Ensure Gatekeeper Is Enabled
检查本机
请在您有权审计的机器上运行此命令。扫描为只读操作。
shell
tmaegis scan --target macos