
Overview
Cerbos is an authorization layer for your application. You define context-aware access rules for your resources in simple YAML policies, and your app asks Cerbos whether a user may perform an action. This repository is the self-hosted Policy Decision Point (PDP); Cerbos Hub is an optional hosted control plane for authoring and distributing policies.
What it does well
The PDP is a stateless service that runs as a Kubernetes service or sidecar, a systemd service or a standalone binary. Your app calls it to ask whether a user can access a resource, or which resources of a kind they can access, and query plan adapters turn that answer into a database query. Start with role-based access and add attribute-based conditions when roles aren't enough. Policies can be stored on disk, in cloud object storage, in Git repos or in a database, and SDKs cover many languages.
Why it’s in the collection
Cerbos takes permission logic out of your code and into policies you can test, review and change without redeploying. It's Apache-2.0 licensed.
On GitHub
- Stars
- 4,668
- Forks
- 220
- Commits
- 2,802
- Repository
- cerbos/cerbos
Languages
- Go 92%
- Shell 3.1%
- Go Template 2.1%
- Other 2.8%
Compared with
Auth0 FGAOkta's fine-grained authorization service.
OsoCommercial authorization service.
PermifyNo. 474Open-source fine-grained authorization.
See every open-source alternative to Auth0 FGA and Oso in the collection.



