PDP - Find out responsible policy for DENY/ALLOW #1588
Answered
by
charithe
bbodensieck
asked this question in
Q&A
-
Hello everyone, is it possible to find out which policy was responsible (the strongest) for the relevant DENY/ALLOW in a check? Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
charithe
May 16, 2023
Replies: 1 comment 1 reply
-
Hi. If you add |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bbodensieck
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. If you add
includeMeta: true
to the request, the response will include ameta
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.