Pangolin provides comprehensive audit logs for governance.
Base Endpoint: /api/v1/audit
- Method:
GET - Path:
/api/v1/audit - Parameters:
user_id: Filter by actor.action: Filter by action (e.g.,create_table).resource_type: Filter by type (e.g.,Catalog).result:SuccessorFailure.limit,offset: Pagination.
curl "http://localhost:8080/api/v1/audit?action=create_table&limit=10" \
-H "Authorization: Bearer <token>"- Method:
GET - Path:
/api/v1/audit/{event_id}
# List recent
pangolin-admin list-audit-events --limit 20
# Filter by user
pangolin-admin list-audit-events --user-id <uuid>
# Filter by failure
pangolin-admin list-audit-events --result Failurepangolin-admin get-audit-event --id <uuid>events = client.audit.list(
limit=50,
action="delete_table",
result="Success"
)
for e in events:
print(e.timestamp, e.username, e.action, e.resource_name)event = client.audit.get("event-uuid")
print(event.metadata)- Log in as Tenant Admin.
- Navigate to Audit Logs (usually in the Governance or Admin section).
- Browse: View the chronological list of events.
- Filter: Use the filter bar to search by Actor, Action, or Status.
- Details: Click on an event row to see full JSON metadata (IP address, User Agent, request details).