TMAegisБета
Више правила за macos

macOS

TMA-MACOS15-2.6.1.2

Ensure 'Show Location Icon in Control Center when System Services Request Your Location' Is Enabled

НискаНиво 2Аутоматскаmacos

Опис

This setting provides the user an understanding of the current status of Location Services and which applications are using it.

Како се проверава

Метод провере: Команда љуске

shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.locationmenu').objectForKey('ShowSystemServices').js
EOS
Очекивани излаз
true

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

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.

Својства

Оперативни системи
macos-15
Ознаке
macossystem-settings
Референца
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

Проверите овај рачунар

Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.

shell
tmaegis scan --target macos --level 2