macOS
brew install conftestlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für conftest in AI-Agent-Workflows.
Installation
brew install conftestlocal Homebrew formula metadata
nix profile install nixpkgs#conftestnixpkgs package indexes · pkgs/by-name/co/conftest/package.nix · Quelle: api.github.com
sudo zypper install conftestopenSUSE Tumbleweed package metadata · conftest · Quelle: download.opensuse.org
scoop install main/conftestScoop official bucket manifest trees · bucket/conftest.json · Quelle: api.github.com
Überblick
Test your configuration files using Open Policy Agent
Verlauf
Conftest is an Open Policy Agent project for testing structured configuration data with Rego policies. It is commonly used to check Kubernetes manifests, Terraform, Tekton, Serverless configuration, and other machine-readable config before deployment.
The README and documentation describe Conftest as a utility for writing tests against structured configuration data and explicitly ground its policy language in Open Policy Agent's Rego. The project lives under the open-policy-agent GitHub organization and documents discussion in the OPA Slack #opa-conftest channel.
The documentation evolved from Kubernetes examples into a broader parser and policy-testing tool. It supports many formats including CUE, Dockerfile, HCL/HCL2, INI, JSON, Jsonnet, nginx, TOML, XML, YAML, CycloneDX, SPDX, and others, making it useful for policy-as-code checks across infrastructure repositories.
Conftest's adoption tracks the rise of policy-as-code in infrastructure delivery: it lets teams test configs locally, in CI, and through pre-commit before tools such as Kubernetes, Terraform, or deployment platforms consume them. Package-manager availability in Homebrew, Nix, Scoop, and zypper reflects that it is treated as a portable developer and CI binary.
Typical usage is to place Rego files under a policy directory and run conftest test against one or more config files. The tool evaluates deny, violation, and warn rules in the main namespace by default, but supports namespace flags, stdin, metadata, unit tests with conftest verify, and parser builtins for policy tests.
For package curators, Conftest is notable because it packages OPA's policy engine into a focused CLI for files rather than services. It turns Rego from a runtime authorization language into a general-purpose config linting and testing binary that can sit cleanly in CI images and developer package sets.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./conftest.tomlExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
conftest | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/open-policy-agent/conftest
Installationsmetadaten
| Paketschlüssel | brew:conftest |
|---|---|
| Version | 0.68.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/conftest |
| Homepage | https://www.conftest.dev/ |
| Repository | https://github.com/open-policy-agent/conftest |
| Upstream-Dokumentation | https://www.conftest.dev/ |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://github.com/open-policy-agent/conftest/archive/refs/tags/v0.68.2.tar.gz |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | conftest |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
conftest
nix profile install nixpkgs#conftestconftest 0.68.2-1.1
Tool to write tests against structured configuration data
https://github.com/open-policy-agent/conftest
sudo zypper install conftestconftest-bash-completion 0.68.2-1.1
Bash Completion for conftest
https://github.com/open-policy-agent/conftest
sudo zypper install conftest-bash-completionconftest-fish-completion 0.68.2-1.1
Fish Completion for conftest
https://github.com/open-policy-agent/conftest
sudo zypper install conftest-fish-completionconftest-zsh-completion 0.68.2-1.1
Zsh Completion for conftest
https://github.com/open-policy-agent/conftest
sudo zypper install conftest-zsh-completionmain/conftest
scoop install main/conftestQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.