Read the audit log
pg_audit_logReview recent PostgreSQL audit log entries to see which tool ran, on which connection, the SQL, the outcome, and the rule that refused it.
Instructions
Show the most recent entries of pgharbor's audit log: which tool ran, on which connection, the SQL, the outcome and the rule that refused it.
Useful to review what was executed in this and previous sessions.
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": "pg_audit_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| outcome | No | ||
| connection | No |