An example of local Open Policy Agent (OPA) testing pipeline for Java\Maven\Spring Boot projects.
This is a minimalistic example of artifacts, intended to be a starting point of your journey into a Governance as a Code world.
It contains some scripts and basic rules to validate:
- application.yml files which usually contains service configuration
- pom.xml files where Maven stuff lies
- Run
docker-compose up
to see how it works on examples - Modify docker-compose.yml with your settings, or change ones in examples folder