When we first started using OPA [1], we were impressed with how flexible it is as a general-purpose decision engine. One thing we missed, though, is the ability to interact with policy bundles in the same way that we interact with docker images.<p>We created the policy CLI [2] to replicate the docker workflow for OPA policies, and the open policy registry [3] as a place where the OPA community can store and share policy images.<p>[1] <a href="https://www.openpolicyagent.org" rel="nofollow">https://www.openpolicyagent.org</a><p>[2] <a href="https://github.com/opcr-io/policy" rel="nofollow">https://github.com/opcr-io/policy</a><p>[3] <a href="https://openpolicyregistry.io" rel="nofollow">https://openpolicyregistry.io</a>
Can the tool push policies to other OCI registries like docker hub or the GitHub registry? I mean, it's nice to have a dedicated registry for OPA policies but are there alternatives?
The policy CLI builds upon the ideas and direction described in <a href="https://github.com/open-policy-agent/opa/issues/1413" rel="nofollow">https://github.com/open-policy-agent/opa/issues/1413</a> (May 2019) and attempts to provide a concrete solution for a standard workflow for Policy As Code creation, publishing, sharing, and consumption.