macOS
TMA-MACOS15-2.6.1.2
Ensure 'Show Location Icon in Control Center when System Services Request Your Location' Is Enabled
ThấpCấp 2Tự độngmacos
Mô tả
This setting provides the user an understanding of the current status of Location Services and which applications are using it.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.locationmenu').objectForKey('ShowSystemServices').js
EOS- Đầu ra mong đợi
true
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
Terminal: sudo /usr/bin/defaults write /Library/Preferences/com.apple.locationmenu.plist ShowSystemServices -bool true. GUI: System Settings > Privacy & Security > Location Services > Details > Set Show location icon in menu bar when System Services request your location to enabled.
Thuộc tính
- Hệ điều hành
- macos-15
- Thẻ
- macossystem-settings
- Tham chiếu
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.6.1.2 Ensure 'Show Location Icon in Control Center when System Services Request Your Location' 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 --level 2