An open API service indexing awesome lists of open source software.

https://github.com/anderseknert/opa-json-schema-lab

Experiments with JSON schema and OPA
https://github.com/anderseknert/opa-json-schema-lab

Last synced: 10 months ago
JSON representation

Experiments with JSON schema and OPA

Awesome Lists containing this project

README

          

# opa-json-schema-lab

Experiments with JSON schema and OPA.

## Currently testing

```shell
echo '{"username":"anders"}' | opa eval 'data.rego.allow' --format pretty --data policy/policy.rego --schema schema --stdin-input
```

Given how "roles" should be a required attribute, why is this not a violation?