-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add rego function to consume modules and evaluate them #1787
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1787 +/- ##
==========================================
+ Coverage 31.47% 31.54% +0.07%
==========================================
Files 144 144
Lines 8890 8929 +39
==========================================
+ Hits 2798 2817 +19
- Misses 5756 5771 +15
- Partials 336 341 +5
Continue to review full report at Codecov.
|
8a2f717
to
6d653f8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit, the lint warning about dropping the else.
Thanks for doing this! |
f9fc70c
to
4e12bbc
Compare
Signed-off-by: hectorj2f <[email protected]>
4e12bbc
to
6229fd9
Compare
@vaikas This is ready for a review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
Signed-off-by: hectorj2f <[email protected]>
Signed-off-by: hectorj2f [email protected]
Summary
Add a function that consumes rego policy modules and evaluate them. This would be useful for #1772 work when consuming rego policies and evaluate them.
I also added some unit tests.
Ticket Link
Fixes
Release Note