Can OPA compare two JSON files and capture the differences between two JSON file into another #284
Unanswered
sbalakrishn
asked this question in
OPA and Rego
Replies: 1 comment
-
Hi @sbalakrishn! I don't think there's any built-in function that allows you to do this without some manual work. See open-policy-agent/opa#1143 for an open issue on this. I guess I would do something like traverse each object using the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Rego code..that can help us to compare two JSON files and find the differences between the two into another JSON file
We are trying to compare two JSON files and identify the difference between the two JSON file . Can OPA help us in capturing the difference between the two JSON files into another file.
Regards
Sreejith Balakrishnan
Beta Was this translation helpful? Give feedback.
All reactions