Policies are written using the Rego language. The language is widely used to create policies for different use cases such as authorization (see Open Policy Agent), configuration validation (see conftest) and many others.
Reposaur adopted Rego for it's simplicity, flexibility and easiness to read and write.
This section describes how Reposaur uses Rego and gives an overview of the language, but the reader is encouraged to read the Policy Language documentation for an in-depth introduction to the language.
Several examples of policies can be found in Reposaur's policy library repository and in the Writing your first policy guide.