-
When trying to build JSON paths from an array of strings and numbers, `concat` will fail:
```rego
r := concat("/", ["path", 0, "foo"])
```
```
1 error occurred: policy.rego:5: rego_type_error…
-
The way we currently report `rego_unsafe_var_error`s is really confusing, and reasonably more so for people new to Rego. Given a policy like this:
```rego
package play
rule {
my_string := …
-
It would be neat if it was possible to point Regal at Markdown files and have it lint any code blocks with `rego` set as the language identifier. This should probably be opt-in when Regal is pointed a…
-
OPA currently allows users to set the schema for input and data paths via the schemas annotation. This example says that `input.foo` is an object with a property `bar` that has type `string`.
```
…
-
I had this happen to me today, and while it was pretty easy to spot my mistake, the only useful information from the error message was the location. Simplified example:
```rego
package play
imp…
-
As a user of config-validator I would like the ability to call an HTTP endpoint to have config-validator reload the rego policy files in order to maintain state in the running config-validator server.
-
# 🐛 Summary #
The AAD Rego policies that examine conditional access configurations are not checking to see if the user excluded any guest users or excluded any cloud applications. An adversary coul…
-
**Name:** Rego
**URL:** https://www.openpolicyagent.org/docs/latest/how-do-i-write-policies/
Rego is a declarative language, inspired by [Datalog](https://en.wikipedia.org/wiki/Datalog), use…
-
I am writing a unit test for my conftest and I was looking into the following documention, which suggest that parse_config_file would parse the terraform file.
https://www.conftest.dev/
However, …
-
## Short description
Status API does not return metadata added in .manifest file of the OPA bundle.
## Steps To Reproduce
### Discussed in https://github.com/orgs/open-policy-agent/discussio…