OPA Plugin

An env0 plugin that executes the Open Policy Agent engine

Overview

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.

Inputs

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