TMAegisBêta
Plus de règles pour macos

macOS

TMA-MACOS15-2.6.1.2

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

FaibleNiveau 2Automatiséemacos

Description

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

Méthode de vérification

Méthode d'audit: Commande shell

shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.locationmenu').objectForKey('ShowSystemServices').js
EOS
Sortie attendue
true

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

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.

Propriétés

Systèmes d'exploitation
macos-15
Étiquettes
macossystem-settings
Référence
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

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target macos --level 2