We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The topdown package exposes a random seed parameter however it's not plumbed into the rego package which means that callers can't control it.
We should extend the rego package to let users set the seed:
https://pkg.go.dev/github.com/open-policy-agent/opa/topdown#Query.WithSeed
The changes required in the rego package a minimal:
The changes in rego.go from this which added support for setting the wallclock time are a good model to follow.
The text was updated successfully, but these errors were encountered:
rego: Expose random seeding in rego package
42563af
Fixes open-policy-agent#3560 Signed-off-by: Torin Sandall <torinsandall@gmail.com>
a60577d
Fixes #3560 Signed-off-by: Torin Sandall <torinsandall@gmail.com>
Successfully merging a pull request may close this issue.
The topdown package exposes a random seed parameter however it's not plumbed into the rego package which means that callers can't control it.
We should extend the rego package to let users set the seed:
https://pkg.go.dev/github.com/open-policy-agent/opa/topdown#Query.WithSeed
The changes required in the rego package a minimal:
The changes in rego.go from this which added support for setting the wallclock time are a good model to follow.
The text was updated successfully, but these errors were encountered: