Savin Cristi
09/09/2025, 10:33 AMAlon Boshi
09/09/2025, 10:36 AMAsk Inkeep
09/09/2025, 10:36 AMAsk Inkeep
09/09/2025, 10:36 AMpermit.check results that are logged in the audit log. There are a few ways to access this information:
Via API
You can use the Audit Logs API to retrieve detailed audit log information (1) . The API provides endpoints to:
1. *List audit logs* with filtering capabilities:
api_instance.list_audit_logs(proj_id, env_id, opts)
2. *Get detailed audit log* for a specific log entry:
api_instance.get_detailed_audit_log(proj_id, env_id, log_id)
The API allows you to filter by various parameters including users, decision results, resources, tenants, actions, and timestamps .
Detailed Response Structure
The audit logs contain comprehensive information about each authorization check (2) , including:
• The authorization decision (Allow/Deny)
• Debug information with the reasoning behind the decision
• User details and attributes
• Resource and action information
• The specific roles or policies that allowed/denied access
For example, the response includes a debug section with details like which role granted permission and why .
Direct PDP Access
Since audit logs are written to the PDP's stdout/stderr, you can also stream them directly from your deployed PDP microservice into your logging platform .
Would you like more specific details about implementing any of these approaches?Ask Inkeep
09/09/2025, 10:36 AMAlon Boshi
09/09/2025, 11:27 AMSavin Cristi
09/09/2025, 11:29 AMSavin Cristi
09/09/2025, 11:29 AM