macOS
TMA-MACOS15-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-15
- 標籤
- macossystem-settings
- 參考資料
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.6.5 Ensure Gatekeeper Is Enabled
檢查此主機
請在您有權稽核的機器上執行此指令。掃描為唯讀操作。
shell
tmaegis scan --target macos