firewall_log
Read recent firewall log entries, optionally filtering by action, target, or limit to investigate traffic decisions and blocked activity.
Instructions
[READ] Recent firewall-log entries, optionally filtered to pass/block.
Args: action: Optional filter — one of pass, block, reject, rdr, nat. limit: Max entries to return (default 200). target: Firewall target name from config; omit for the default.
Returns an envelope: {"entries": [...], "returned": N, "limit": L, "truncated": bool}. When "truncated" is true there are more entries than were returned — re-run with a higher limit rather than treating the result as the complete log.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| action | No | ||
| target | No |