Anders Eknert

Results 167 issues of Anders Eknert

In some cases, it would be useful if Rego allowed for limited/local mutation of a variable, similar to `reduce` from functional languages. Rego is not a functional language, but we...

design
feature-request
rego

When working with many annotated packages and rules, the current "# METADATA" format for annotations feel rather verbose, and the fact that nothing else in Rego is written in capital...

feature-request
rego

Even when "unused", simply referencing a huge array will have a big impact on evaluation time. ``` package evaluator access := bar { data.slow_bundle.index.feeds bar := "baz" } ``` In...

bug
pre1.0

The docs on the [default keyword](https://www.openpolicyagent.org/docs/latest/policy-language/#default-keyword) describes the new default function feature like: > The value of a default function follows the same conditions as that of a default rule....

bug
docs

By updating the custom signature example deps — also fix an error in those docs. Additionally, update link in Kafka plug-in deprecated message.

Trying to get rid of github.com/pkg/errors in OPA and use the stdlib errors instead. This was one of the upstream deps still using this library. If there's a reason for...

Hello, friends at Kics! This PR introduces [Regal](https://github.com/styrainc/regal) for linting the massive Rego library included in this project. Given the size of this policy library, it should come as no...

bug
feature request
query
community

This is a quite common ask, so we should link some blogs to demonstrate end-user stories grouped by use case.

While there are currently a few talks embedded with other links, it would be nice if we had a separate section for the best talks on OPA, with each one...