Overview
This plugin executes the Open Policy Agent engine (aka theopa CLI) and integrates policy enforcement within your env zero 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, reference it in your custom flow and pass the following inputs:path(Required) - the path to your bundle directory (the root folder is your project’s root folder)query(Required) - a query to eval with opa evalflags- a string containing additional flags as one string
Further reading
- Using Open Policy Agent (OPA) with Terraform: tutorial and examples
- How policy-as-code enhances infrastructure governance with OPA