Fleet uses osquery tables to query operating system, hardware, and software data. Each table provides specific data for analysis and filtering.
alf
Details about the status of the built-in firewall protection on this Mac.
Column | Type | Description |
---|---|---|
allow_signed_enabled | integer | 1 If allow signed mode is enabled else 0 (not supported on macOS 15+) |
firewall_unload | integer | 1 If firewall unloading enabled else 0 (not supported on macOS 15+) |
global_state | integer | 1 If the firewall is enabled with exceptions, 2 if the firewall is configured to block all incoming connections, else 0 |
logging_enabled | integer | 1 If logging mode is enabled else 0 |
logging_option | integer | Firewall logging option (not supported on macOS 15+) |
stealth_enabled | integer | 1 If stealth mode is enabled else 0 |
version | text | Application Layer Firewall version |
See the state of the Application Layer Firewall on a Mac. A result of 0 means it is disabled, 1 means it is enabled, and 2 means it is enabled and blocking all inbound connections. See our standard query library for an example policy query using this.
SELECT global_state FROM alf;