TMAegisBeta
Thêm quy tắc cho macos

macOS

TMA-MACOS14-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. Disallowing unsigned software will reduce the risk of unauthorized or malicious applications from running on the system.

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

Graphical Method: Perform the following steps to enable Gatekeeper: 1. Open System Settings 2. Select Privacy & Security 3. Set 'Allow apps downloaded from' to 'App Store and identified developers' Terminal Method: Run the following command to enable Gatekeeper to allow applications from App Store and identified developers: % /usr/bin/sudo /usr/sbin/spctl --global-enable Profile Method: Create or edit a configuration profile with the following information: 1. The PayloadType string is com.apple.systempolicy.control 2. The key to include is AllowIdentifiedDevelopers 3. The key must be set to <true/> 4. The key to also include is EnableAssessment 5. The key must be set to <true/>

Thuộc tính

Hệ điều hành
macos-14
Thẻ
macossonoma
Tham chiếu
CIS Apple macOS 14.0 Sonoma Benchmark v3.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