Audit Logs enable enhanced security, easier compliance verification and faster debugging.
Each Cerbos PDP instance records detailed audit logs for every decision made. When collected by Cerbos Hub, all the logs are centralized, making it easy to manage and analyze them from a single pane. Speed up your workflow with two types of logs:
This sample log entry indicates that user "sally"
was allowed to view "expense1"
based on the expense resource policy (default version). It’s really that simple.
{
"timestamp": "2023-01-05T15:51:13.150492178Z",
"requestId": "01GP1A25FW6BVX9JWYM9M6T0Z0",
"principal": {
"id": "sally",
"roles": ["USER"],
"attr": {
"region": "EMEA",
"department": "SALES"
}
},
"resource": {
"kind": "expense",
"id": "expense1",
"attr": {
"status": "PENDING",
"amount": "40",
"region": "EMEA",
"vendor": "Expense 1",
"approvedBy": "frank",
"createdAt": "2023-01-03T15:45:55.461Z",
"ownerId": "sally"
}
},
"action": "view",
"effect": "EFFECT_ALLOW",
"policy": "resource.expense.vdefault",
"effectiveDerivedRoles": ["OWNER"]
}
Copy
Cerbos Hub brings all Logs together in one unified view, making it easier to troubleshoot and giving teams more control over managing authorization. So you retain control over all your permissions.
Track user activities, investigate potential breaches, and meet compliance requirements.
Quickly diagnose access issues, understand user behavior, and make data-driven decisions.
Ensure the reliability of your authorization policies with built-in testing capabilities.
More on Cerbos Audit Logs
Why audit logs are essential for production environments
Documentation: Setting up audit logs in Cerbos Hub
How to set up and managed your unified streams of decision logs and change logs.
Documentation: How to configure audit logs for the Cerbos open source PDP
Set up an audit block to collect decision activity for each PDP instance.
Security standards
Learn why audit logs are vital for compliance with security standards
Importance of audit logs
Why audit logs are essential for production environments
Community discussions
Engage with peers and learn from their experiences and insights on audit logging with Cerbos
Fit Cerbos seamlessly into your tech stack
Prototype policies in your browser right now
Implement roles & permissions in your app
Book an intro call and learn more
Join thousands of developers | Features and updates | 1x per month | No spam, just goodies.