search_audit_trail
Search the guardrail audit log and rollback history for recent destructive pfSense actions, then filter results by risk level or tool name.
Instructions
Search the guardrail audit log for recent destructive actions taken.
Checks the in-memory rollback history and, if MCP_AUDIT_LOG is configured, reads recent entries from the audit log file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_audit_trail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of entries to return (default 20) | |
| risk_filter | No | Optional filter by risk level (read, low, medium, high, critical) | |
| tool_filter | No | Optional filter by tool name (substring match) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||