Testing an OPA policy which has built-in function http.send #421
Answered
by
anderseknert
Ronnie-personal
asked this question in
OPA and Rego
-
Hi There, What would be the mock up options for testing a policy which utilizes OPA built-in function http.send? Thank you so much! |
Beta Was this translation helpful? Give feedback.
Answered by
anderseknert
May 10, 2023
Replies: 1 comment 1 reply
-
Hi Ronnie! Yep, see https://www.openpolicyagent.org/docs/latest/policy-testing/#data-and-function-mocking |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Ronnie-personal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Ronnie!
Yep, see https://www.openpolicyagent.org/docs/latest/policy-testing/#data-and-function-mocking