OPA Plugin

An env0 plugin that executes the Open Policy Agent engine


This plugin executes the Open Policy Agent engine (aka the opa CLI) and lets you easily integrate policy enforcements within your env0 deployments.

The plugin will install the opa binary and execute its opa eval command

For more information, check out the OPA Plugin git repository.


To use the OPA plugin, you need to pass the following inputs:

  1. path (Required) - the path to your bundle directory (the root folder is your project's root folder)
  2. query (Required) - a query to eval with opa eval
  3. flags - a string containing additional flags as one string