macOS
brew install conftestlocal Homebrew formula metadata
brew
conftest のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install conftestlocal Homebrew formula metadata
nix profile install nixpkgs#conftestnixpkgs package indexes · pkgs/by-name/co/conftest/package.nix · ソース: api.github.com
sudo zypper install conftestopenSUSE Tumbleweed package metadata · conftest · ソース: download.opensuse.org
scoop install main/conftestScoop official bucket manifest trees · bucket/conftest.json · ソース: api.github.com
概要
Test your configuration files using Open Policy Agent
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.toml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
conftest | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/open-policy-agent/conftest
インストールメタデータ
| パッケージキー | brew:conftest |
|---|---|
| バージョン | 0.68.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/conftest |
| ホームページ | https://www.conftest.dev/ |
| リポジトリ | https://github.com/open-policy-agent/conftest |
| 上流ドキュメント | https://www.conftest.dev/ |
| ライセンス | Apache-2.0 |
| ソースアーカイブ | https://github.com/open-policy-agent/conftest/archive/refs/tags/v0.68.2.tar.gz |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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/conftestソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.