https://cerbos.dev logo
Title
n

Nimit

11/11/2022, 3:10 PM
hi All, is there a debug/verbose mode that i can run the cerbos server to catch and logs (how does it decide allow/deny etc) ?
a

Alex Olivier (Cerbos)

11/11/2022, 3:16 PM
Yes if you turn on audit logging https://docs.cerbos.dev/cerbos/latest/configuration/audit.html Also if you set the
includeMeta
flag in the checkResource request it will tell you which policy matched https://docs.cerbos.dev/cerbos/latest/api/index.html#check-resources
n

Nimit

11/11/2022, 3:17 PM
thanks alex