firewall_log
Retrieve recent firewall log entries to investigate network traffic, with optional filtering by pass, block, reject, rdr, or nat actions to isolate and diagnose specific events.
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 |