TMAegis
Thêm quy tắc cho macos

TMA-MACOS-2.6.5

Ensure Gatekeeper Is Enabled

CaoCấp 1Tự độngmacos

Mô tả

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.

Cách kiểm tra

Phương pháp kiểm tra: Lệnh shell

shell
/usr/sbin/spctl --status 2>&1
Đầu ra mong đợi
assessments enabled

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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'.

Thuộc tính

Hệ điều hành
macos-26
Thẻ
macossystem-settings
Tham chiếu
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.6.5 Ensure Gatekeeper Is Enabled

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target macos