How to operate on array while masking with Decision logs? #618
Unanswered
RohitRox
asked this question in
OPA and Rego
Replies: 1 comment 4 replies
-
Hi @RohitRox , thanks for the question here. I think might have a bug here, I've opened an issue for you to continue the chat there open-policy-agent/opa#6883 - please feel free to comment and follow along there. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been trying to incorporate masking with Decision logs.
Got the basics working. But I could not get masking of keys/values inside an array working.
Documentation says something like
/input/emails/0/value
is perfectly allowed.However I couldn't see working in scenario like
I have in payload
Tried something like this with rego
The masking does not work.
Can somebody help me figure how we can operator on simple array items in parsed_body?
(Here' s playground link I have been experimenting: https://play.openpolicyagent.org/p/xMCAO1hNbA)
Beta Was this translation helpful? Give feedback.
All reactions