Back to Integrations

OPA Plugin

Enforce policy-as-code in env zero deployments with the Open Policy Agent plugin

Integration
category

Plugins

Overview

Open Policy Agent (OPA) lets you express infrastructure rules as code. The env zero OPA plugin runs those policies during deployments, automatically checking your IaC against your organization's standards before anything is applied.

How it works

Add the OPA plugin to your deployment flow, and env zero evaluates your code against your Rego policies on each run. Violations show up in the deployment logs and can block the apply, so non-compliant changes never reach your cloud.