munkireport / location
Module for munkireport.
Installs: 10 018
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 3
Open Issues: 1
Language:JavaScript
pkg:composer/munkireport/location
This package is auto-updated.
Last update: 2025-10-29 02:36:15 UTC
README
Provides location information on where a Mac is physical located.
This module relies on pinpoint an external project located here: https://github.com/jelockwood/pinpoint
Note: To avoid seeing the Development Map you need to enable Maps JavaScript API for your project in the Google Cloud Platform Console and add it as GOOGLE_MAPS_API_KEY in the MunkiReport's .env configuration file.
#Database entries
The following data is collected and can be accessed via MunkiReport's API:
- Address - Str, Estimated street address
 - Latitude - Str, Latitude
 - Longitude - Str, Longitude
 - LatitudeAccuracy - Int, Latitude Accuracy
 - LongitudeAccuracy - Int, Longitude Accuracy
 - Altitude - Int, Altitude
 - GoogleMap - Str, Pre-populated Google Maps URL
 - LastRun - Str, Last run time stored in UTC time
 - LastLocationRun - Str, Last time a location run was done successfully
 - CurrentStatus - Str, Friendly message describing last run
 - LS_Enabled - Int, are Location Services enabled
 - StaleLocation - Str, Yes/No to indicate if the lookup location is from an old run