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

Revise example policies with import rego.v1 #81

Closed
wata727 opened this issue Dec 27, 2023 · 0 comments · Fixed by #88
Closed

Revise example policies with import rego.v1 #81

wata727 opened this issue Dec 27, 2023 · 0 comments · Fixed by #88

Comments

@wata727
Copy link
Member

wata727 commented Dec 27, 2023

OPA v0.59 adds support for import rego.v1 to ensure compatibility with future OPA v1.0.
https://github.com/open-policy-agent/opa/releases/tag/v0.59.0

As far as I can see, the example policies in the official documentation seems to have switched to a syntax that uses import rego.v1, so it would be a good idea to follow this in the example policies in this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant