Automic VaultAutomic Vault

brew

conftest を Homebrew, Nix, zypper, scoop でインストール

conftest のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install conftest

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#conftest

nixpkgs package indexes · pkgs/by-name/co/conftest/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install conftest

openSUSE Tumbleweed package metadata · conftest · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/conftest

Scoop official bucket manifest trees · bucket/conftest.json · ソース: api.github.com

概要

パッケージ概要

Test your configuration files using Open Policy Agent

コマンドとエイリアス

  • conftest

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2025: release notes show ongoing OPA dependency updates and parser maintenance in the v0.62 line.
  • 2026: v0.68.0 added an nginx parser and moved to OPA 1.15.1.
  • 2026: v0.68.1 adjusted push behavior to use Rego v1 by default.
  • 2026: v0.68.2 updated the embedded OPA dependency to 1.15.2.

Related projects

  • Official sources tie Conftest to Open Policy Agent, Rego, Kubernetes, Tekton, Terraform, Serverless, Dockerfile, HCL, Jsonnet, CUE, and pre-commit-style workflows.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./conftest.toml

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
conftestcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.68.2
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.68.2

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

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameconftest
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

conftest

nix profile install nixpkgs#conftest
  • normalized package name match
  • 一致条件: Conftest
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/conftest/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

conftest 0.68.2-1.1

Tool to write tests against structured configuration data

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

sudo zypper install conftest
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: conftest
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Conftest
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: conftest from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

conftest-bash-completion 0.68.2-1.1

Bash Completion for conftest

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

sudo zypper install conftest-bash-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: conftest
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Conftest
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: conftest-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

conftest-fish-completion 0.68.2-1.1

Fish Completion for conftest

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

sudo zypper install conftest-fish-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: conftest
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Conftest
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: conftest-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

conftest-zsh-completion 0.68.2-1.1

Zsh Completion for conftest

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

sudo zypper install conftest-zsh-completion
  • License: Apache-2.0
  • Category: System/Shells
  • Architecture: noarch
  • Source Package: conftest
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Conftest
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: conftest-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Scoop95%

main/conftest

scoop install main/conftest
  • normalized package name match
  • 一致条件: Conftest
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/conftest.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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