Cerbos Playground - Prototype, test and share policies
Files
Export
_schemas
policies
derived_roles_common.yaml
resource_album.yaml
tests
README.md
Welcome to your playground!
This environment lets you prototype, test, and experiment with Cerbos policies right in your browser.
Policy files
You can add new resource, derived role, or principal policies on the left.
For syntax of the policy files, please see the documentation.
Testing actions for principals and resources
You can add multiple principal and resource definitions on the right.
At any point, you can see whether the listed actions are allowed or disallowed on the right.
Alternatively, Check all buttons allow bulk checks for all the principals or resources.
Welcome to your playground!
No policy outputs defined. Policies can return context along with the decisions - read more in the documentation..
Principal
Who is performing the action(s)?
Try the API
user1
{
"id": "BUGS001",
"roles": [
"test"
],
"attr": {
"beta_tester": true
}
}
Resource
What is being accessed?
Resource 1
{
"id": "BUGS001",
"kind": "album:object",
"attr": {
"owner": "bugs_bunny",
"public": true,
"flagged": false
}
}
Actions
List of actions the principal is attempting to do with the resource
album:object Actions |
Result |
|---|---|
| Denied | |
| Denied |
Aux Data
Additional request context
Request
The HTTP request payload to Cerbos PDP
Try the API
Response
The HTTP response from Cerbos PDP
Welcome to the Cerbos Playground
This environment allows your to build, test and debug authorization policies in realtime and share examples with your team.
Full documentation can be found at docs.cerbos.dev