Automic VaultAutomic Vault

brew

Install opa with Homebrew, apk, scoop, zypper

Open source, general-purpose policy engine. Version 1.18.2 via Homebrew; verified 2026-07-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install opa

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/opa

Scoop official bucket manifest trees · bucket/opa.json · source: api.github.com

overview

Package summary

Open source, general-purpose policy engine

Commands and aliases

  • opa

history

Project history and usage

Open Policy Agent, usually invoked as opa, is a general-purpose policy engine for policy-as-code. It lets teams move authorization and operational policy out of application code into Rego policies evaluated by a standalone binary, sidecar, library, or service integration.

Project history

OPA was created to provide a unified policy decision point across the stack. The official docs describe it as an open-source, general-purpose policy engine with simple APIs for offloading policy decisions and a high-level declarative language, Rego, for writing policies against structured data.

OPA entered the Cloud Native Computing Foundation on March 29, 2018, moved to Incubating on April 2, 2019, and reached Graduated maturity on January 29, 2021. CNCF's graduation announcement emphasized open governance, feature maturity, sustainability, and production use across cloud-native environments.

Adoption history

By the 2021 CNCF graduation announcement, OPA had more than 90 contributors from roughly 30 organizations, maintainers from Google, Microsoft, VMware, and Styra, and production adoption at organizations including Goldman Sachs, Netflix, Pinterest, and T-Mobile. CNCF also reported survey data from more than 150 organizations, with 91% using OPA in some stage from QA to production.

OPA's ecosystem expanded through Kubernetes admission control, Envoy authorization, CI/CD checks, API gateways, service meshes, and infrastructure-as-code validation. Gatekeeper became the Kubernetes-native policy-controller companion, while related tools such as Conftest and OPA's official ecosystem entries made the opa binary useful both in clusters and in developer workflows.

How it is used

Developers write Rego policies and feed OPA JSON-like input and data. The opa CLI is used to run policies locally, test Rego, build bundles, evaluate decisions, and support CI checks; services can call OPA over APIs or embed policy evaluation into a broader control plane.

Platform and security teams use OPA to enforce Kubernetes admission rules, API authorization, deployment guardrails, configuration rules, and audit policies without hard-coding every rule in each application. The same policy language can be reused from local command-line checks to production admission controllers.

Why package nerds care

OPA is one of the canonical examples of a single CLI package representing a much larger cloud-native control-plane concept. The Homebrew formula is just opa, but the binary brings a policy language, evaluator, test runner, bundle format, server mode, WebAssembly targets, and a CNCF ecosystem with it.

Timeline

  • 2018-03-29: OPA was accepted into the CNCF.
  • 2019-04-02: OPA moved to CNCF Incubating maturity.
  • 2019: Kubernetes Gatekeeper work helped make OPA a common choice for admission control and cluster policy.
  • 2021-01-29: OPA reached CNCF Graduated maturity.
  • 2021-02-04: CNCF announced OPA's graduation and summarized contributor, maintainer, and adopter data.

Related projects

  • Related projects include OPA Gatekeeper, Conftest, Rego Playground, Kubernetes admission webhooks, Envoy external authorization integrations, SPIFFE/SPIRE, Helm, CoreDNS, and other policy-as-code tooling.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for opa. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
opacliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.18.2
manager updated2026-07-02
local dataok
upstreamcurrent
latest detectedv1.18.2

https://github.com/open-policy-agent/opa

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:opa
Version1.18.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/opa
Homepagehttps://www.openpolicyagent.org
Repositoryhttps://github.com/open-policy-agent/opa
Upstream docshttps://www.openpolicyagent.org/docs/latest
LicenseApache-2.0
Source archivehttps://github.com/open-policy-agent/opa/archive/refs/tags/v1.18.2.tar.gz
Last updated2026-07-02T16:41:00Z
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopa
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

apk95%

opa 1.15.2-r1

Open source, general-purpose policy engine

https://www.openpolicyagent.org/

sudo apk add opa
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: opa
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Opa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opa from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

opa-bash-completion 1.15.2-r1

Bash completions for opa

https://www.openpolicyagent.org/

sudo apk add opa-bash-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: opa
  • normalized package name match
  • Matched by: Opa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opa-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

opa-doc 1.15.2-r1

Open source, general-purpose policy engine (documentation)

https://www.openpolicyagent.org/

sudo apk add opa-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: opa
  • normalized package name match
  • Matched by: Opa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opa-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

opa-fish-completion 1.15.2-r1

Fish completions for opa

https://www.openpolicyagent.org/

sudo apk add opa-fish-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: opa
  • normalized package name match
  • Matched by: Opa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opa-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

opa-zsh-completion 1.15.2-r1

Zsh completions for opa

https://www.openpolicyagent.org/

sudo apk add opa-zsh-completion
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: opa
  • normalized package name match
  • Matched by: Opa
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: opa-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
zypper95%

opa 1.17.1-1.1

Open source, general-purpose policy engine

https://github.com/open-policy-agent/opa

sudo zypper install opa
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: opa
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Opa
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: opa from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

opa-bash-completion 1.17.1-1.1

Bash Completion for opa

https://github.com/open-policy-agent/opa

sudo zypper install opa-bash-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: opa
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Opa
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: opa-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

opa-fish-completion 1.17.1-1.1

Fish Completion for opa

https://github.com/open-policy-agent/opa

sudo zypper install opa-fish-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: opa
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Opa
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: opa-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

opa-zsh-completion 1.17.1-1.1

Zsh Completion for opa

https://github.com/open-policy-agent/opa

sudo zypper install opa-zsh-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: opa
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Opa
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: opa-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Scoop95%

main/opa

scoop install main/opa
  • normalized package name match
  • Matched by: Opa
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/opa.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment