macOS
brew install conftestlocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de conftest pour les workflows d'agents IA.
installation
brew install conftestlocal Homebrew formula metadata
nix profile install nixpkgs#conftestnixpkgs package indexes · pkgs/by-name/co/conftest/package.nix · Source: api.github.com
sudo zypper install conftestopenSUSE Tumbleweed package metadata · conftest · Source: download.opensuse.org
scoop install main/conftestScoop official bucket manifest trees · bucket/conftest.json · Source: api.github.com
aperçu
Test your configuration files using Open Policy Agent
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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.tomlexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
conftest | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/open-policy-agent/conftest
métadonnées d'installation
| Clé du paquet | brew:conftest |
|---|---|
| Version | 0.68.2 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/conftest |
| Page d'accueil | https://www.conftest.dev/ |
| Dépôt | https://github.com/open-policy-agent/conftest |
| Docs amont | https://www.conftest.dev/ |
| Licence | Apache-2.0 |
| Archive source | https://github.com/open-policy-agent/conftest/archive/refs/tags/v0.68.2.tar.gz |
| Dépendances de compilation | go |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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/conftestpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.