I had a distinct memory that `wifi_survey` had sto...
# macos
z
I had a distinct memory that
wifi_survey
had stopped working on macos (due to Apple changing the permissions around this?). Trying it just now I found that it works and
wifi_networks
does not. Is that expected? And is there some entitlement or profile that can allow
wifi_networks
to work?
m
https://github.com/osquery/osquery/issues/7206 looks like we've just had it in our backlog
z
Ah, thank you.
s
Generally apple has been locking down the various APIs that lead API data. Mostly the
bssid
. So that's going generally stop appearing. wifi_survey probably works aside from that. There are a couple of apple system tools that leak the info. We report them to Apple, and they slowly get fixed.
I haven't chased down what permissions are needed. I don't think there's a blanket entitlement. There might be a way to prompt for it through the privacy settings
z
Ah, so the
wifi_survey
never stopped working besides for the
bssid
.
s
That's my understanding, yes.
z
Thanks for clarifying y'all.
s
wifi_networks
looks liked a pretty simple fix, but I could quite make it work in the c++ code, and filed an issue instead of a PR.
f
Iirc you were not mistaken earlier @zwass there was a period where querying wifi_survey resulted in a seg fault
ty 1