Skip to content
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

Rego API: add option to allow bundle to own all roots except defined #7097

Open
anderseknert opened this issue Oct 4, 2024 · 1 comment
Open

Comments

@anderseknert
Copy link
Member

anderseknert commented Oct 4, 2024

Bundles currently own the roots they've defined, or all roots if none have been provided. Some tools extending OPA embed a bundle of their own to e.g. provide Rego rules and functions as an embedded library. This easily creates conflicts if the same tool loads user provided policy directories as bundles unless these have provided .manifest files where non-conflicting bundle roots are defined. For this scenario, it would be helpful if the Rego API allowed a mode where defined bundle roots had precedence, but where a bundle loaded without defined roots instead of trying to claim all roots would claim all roots not previously defined.

If there are better ways to do this available already, that would be even better :)

Copy link

stale bot commented Nov 4, 2024

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days. Although currently inactive, the issue could still be considered and actively worked on in the future. More details about the use-case this issue attempts to address, the value provided by completing it or possible solutions to resolve it would help to prioritize the issue.

@stale stale bot added the inactive label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant