T or F Relevance

Hi,

I’m trying to get a true or false from this, but instead I get.

Q: exists ip interface whose (gateway of it = “192.168.1.1”) of network
E: The operator “gateway” is not defined.

I pilfered my version this from the BigFix fixlet authoring page.

Thanks!

Either of these will work on Windows. Not sure if there’s some advantage to phrasing it one way or the other. I don’t see any documentation for inspectors to pull gateway on a Mac, which seems weird?

exists gateways whose (it = "192.168.1.1") of adapters of network

exists adapters whose (gateway of it ="192.168.1.1") of network

The Mac is proving hard to get that information out of, but hopefully it will be added at some later point

You might be able to use this linux approach: