This repository contains basic rego, a JSON superset language, examples based on Open Policy Agent (OPA) documentation.
Setup the repository by running the setup script
./bin/setup.shExecute the tests by running the test script
./bin/run_tests.shWhen committing tests will be run. This package was built with the VSCode Opa extension.
/bin: contains bash scripts for repository setup and testing/policy: is the most simple policy example/rest: is a REST API example/rest_detailed: is a REST API example with tests