TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Open Policy Registry: a Docker-inspired workflow for OPA policies

26 pointsby ogazittover 3 years ago

7 comments

apolandover 3 years ago
Excited to see this develop further. It would be amazing to have a searchable destination for extendable policies like we now do with docker images.
评论 #30282600 未加载
ogazittover 3 years ago
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:&#x2F;&#x2F;www.openpolicyagent.org" rel="nofollow">https:&#x2F;&#x2F;www.openpolicyagent.org</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;opcr-io&#x2F;policy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;opcr-io&#x2F;policy</a><p>[3] <a href="https:&#x2F;&#x2F;openpolicyregistry.io" rel="nofollow">https:&#x2F;&#x2F;openpolicyregistry.io</a>
itsronenhover 3 years ago
Can the tool push policies to other OCI registries like docker hub or the GitHub registry? I mean, it&#x27;s nice to have a dedicated registry for OPA policies but are there alternatives?
评论 #30274636 未加载
评论 #30274635 未加载
gertdover 3 years ago
The policy CLI builds upon the ideas and direction described in <a href="https:&#x2F;&#x2F;github.com&#x2F;open-policy-agent&#x2F;opa&#x2F;issues&#x2F;1413" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;open-policy-agent&#x2F;opa&#x2F;issues&#x2F;1413</a> (May 2019) and attempts to provide a concrete solution for a standard workflow for Policy As Code creation, publishing, sharing, and consumption.
viovanovover 3 years ago
Once you start using policies as code, something like this is great because you need something to handle the lifecycle of your policy artifact.
rschwabcoover 3 years ago
Looks like I need an account to use the registry. What information do you collect?
评论 #30290260 未加载
mcmmover 3 years ago
Are there any github actions available to build and push policies to openpolicyregistry.io ?
评论 #30275719 未加载