Skip to content

PDP - Find out responsible policy for DENY/ALLOW #1588

Answered by charithe
bbodensieck asked this question in Q&A
Discussion options

You must be logged in to vote

Hi. If you add includeMeta: true to the request, the response will include a meta section that tells you which policy produced the decision. See number 17 in the request block and number 6 in the response block at https://docs.cerbos.dev/cerbos/latest/api/index.html#check-resources for an example.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bbodensieck
Comment options

Answer selected by bbodensieck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants