Files
fleet/schema/tables/wifi_networks.yml
T
Brock WaltersandEric f0bfff2b6c Add SQL query for last connected times in wifi_networks (#37919)
Added example SQL query to discover last connected times for WiFi
networks highlighting new columns.

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2026-02-04 17:40:34 -06:00

23 lines
815 B
YAML

name: wifi_networks
description: Wi-Fi networks previously connected to by this Mac, or that are otherwise in this computer's known/remembered Wi-Fi networks list.
examples: |-
Find WiFi networks configured on Macs that are unencrypted and require a
captive portal. This can be useful to understand how much people use laptops
in hotels, airports and other environments, and is a good indicator that tools
such as DNS-over-HTTPS would improve privacy of connectivity.
```
SELECT network_name FROM wifi_networks WHERE security_type='Open' AND captive_portal='1';
```
Discover last connected times for WiFi networks:
```
SELECT network_name,last_connected,last_connected_automatic,last_connected_manual
FROM wifi_networks
ORDER BY
COALESCE(last_connected, 0)
DESC
LIMIT 10;
```