macOS
TMA-MACOS15-2.6.1.2
Ensure 'Show Location Icon in Control Center when System Services Request Your Location' Is Enabled
BajaNivel 2Automatizadamacos
Descripción
This setting provides the user an understanding of the current status of Location Services and which applications are using it.
Cómo se verifica
Método de auditoría: Comando de shell
shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.locationmenu').objectForKey('ShowSystemServices').js
EOS- Salida esperada
true
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
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.
Propiedades
- Sistemas operativos
- macos-15
- Etiquetas
- macossystem-settings
- Referencia
- 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
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
shell
tmaegis scan --target macos --level 2