states_table
Retrieve active firewall state-table entries to inspect currently tracked connections. Control result size with 'top' and select a specific firewall via 'target'.
Instructions
[READ] Active pf state-table entries (connections currently tracked).
Args: top: How many state entries to return (default 100). target: Firewall target name from config; omit for the default.
Returns an envelope: {"states": [...], "returned": N, "limit": L, "truncated": bool, "total": T}. "truncated" is true when the state table holds more entries than were returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| target | No |