Skip to main content
GitHub Action for OPA Rego Test Logo

GitHub Action for OPA Rego Test

GitHub Action to automate testing OPA Rego policies

GitHub Action for OPA Rego Policy Tests by Masterpoint is used to automate testing for your OPA (Open Policy Agent) Rego policies, generates a report with coverage information, and posts the test results as a comment on your pull requests, making it easy for your team to review and approve policies.

Use this to test your OPA Rego files for Spacelift policies, Kubernetes Admission Controller policies, Docker authorization policies, or any other use case that uses Open Policy Agent's policy language Rego. This Action also updates PR comments with the test results in place to prevent duplication.

Code:
Tutorials:
Category: library
Layer: