Lint Rego Policies Before Promotion with Regal
Analyze Rego policy files for style, correctness, and maintainability issues before policy bundles are promoted.
Prerequisites
Regal, Rego policy files, OPA-compatible policy repository
Installation
Use the upstream install or setup path that matches your environment:
- brew install regal
- docker pull ghcr.io/open-policy-agent/regal:latest
Requirements and caveats from upstream:
- Docker
- page, and published Docker images at the packages
Basic usage or getting-started notes:
-
Download Regal
-
shell
-
macOS
-
Extracted from upstream docs: https://raw.githubusercontent.com/StyraInc/regal/HEAD/README.md