How to import a json file to use within a rego policy #543
Unanswered
omansh-arora
asked this question in
OPA and Rego
Replies: 1 comment 3 replies
-
You can store policy and data in a Bundle and pass that to |
Beta Was this translation helpful? Give feedback.
3 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.
-
For instance, I have an "example.json" file in the same directory as my rego policy. Can I import this json file to use in my policy? The reason I need to do this is because I need to compare the input json file (Which I'm passing in the opa exec command) againt this json file.
Beta Was this translation helpful? Give feedback.
All reactions