TMAegisBeta
Más reglas para macos

macOS

TMA-MACOS14-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. Apple has fully integrated location services into macOS. When user applications access location, an arrow is displayed next to the Control Center in the menu bar to give users an indication when their location is being accessed. By default, system services like time zones, weather, travel times, geolocation, "Find my Mac," and advertising services do not indicate the location is accessed. Enabling the “Show location icon in the menu bar when System Services request your location” setting will show an arrow in the control center when a system service accesses the location. Although an indication that location was accessed, Control Center will only say that it was accessed by "System Services" and not the individual service. Looking in System Settings > Locatio...

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

Graphical Method: Perform the following steps to set whether the location services icon is in the menu bar: 1. Open System Settings 2. Select Privacy & Security 3. Select Location Services 4. Select Details... 5. Set Show location icon in menu bar when System Services request your location to enabled Terminal Method: Run the following commands to set the option of the location services icon being in the menu bar: % /usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.locationmenu.plist ShowSystemServices -bool true

Propiedades

Sistemas operativos
macos-14
Etiquetas
macossonoma
Referencia
CIS Apple macOS 14.0 Sonoma Benchmark v3.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