This repo contains an example of what policy as code would look like for an organizations autoamted governance implementation.
The automated governance implementation uses the Open Policy Agent as the policy engine. Rego is the language OPA uses to write policies in. This repo has policies by environment, simulating how once can apply more leaninet policies in lower environments, then make them more strict as the application deploys to higher-level environments.
This is a monorepository. All applicaiton policies are in this repository.
The structure is as follows
project root
|
|- organization-name
| |- application-name
| | |- *.rego
For the automated governance demo, there is an organizaiton called Platform
. Inside this organization is where all of the demo apps will be housed.