open-policy-agent/conftest
Some data may be outdated — see provenance labels.
Write tests against structured configuration data using the Open Policy Agent Rego query language observed · 2026-09-30
Health v2 · maintenance only
98/100
- Activity 97
- Release rhythm 97
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 19.0
- age_days: 2763
- days_rel: 21
- days_push: 21
- n_releases_24m: 21
Adoption not part of the score
3274 stars · 363 forks observed · 2026-09-30
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Conftest is a CLI utility for writing tests against structured configuration data using the Open Policy Agent Rego language. It validates files like Kubernetes manifests, Terraform code, and Tekton pipelines against deny/warn policy rules, commonly in CI pipelines.
Use cases
- validate kubernetes manifests against policies in ci
- test terraform code for security misconfigurations
- write policy-as-code tests for config files
- enforce that containers don't run as root
- lint structured configuration with rego policies
- generate documentation from policy metadata
When to choose
- you want policy-as-code validation of Kubernetes, Terraform, or other structured configs
- your team already uses Open Policy Agent and Rego
- you need a lightweight CLI that fits into CI/CD pipelines
When to avoid
- you need runtime admission enforcement rather than static config testing (use OPA Gatekeeper)
- you prefer writing validation rules in a non-Rego language
- you only need simple YAML/JSON schema validation without policy logic
Facets
cli-tool · maturity active
testing security configuration-management cli ci-cd developer-tools testing infrastructure-as-code security windows cli go rego open-policy-agent policy-as-code kubernetes terraform configuration-validation devops linux macos docker
4 sources
- readme: https://github.com/open-policy-agent/conftest · fetched 2026-09-30 · 40a1d1f3c51c
- homepage: https://conftest.dev · fetched 2026-08-29 · 2d6774eb8afc
- site_page: https://www.conftest.dev/install · fetched 2026-08-29 · 79a59f203ac5
- site_page: https://www.conftest.dev/documentation · fetched 2026-08-29 · f1bd135b0b9d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| open-policy-agent/conftest | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="open-policy-agent/conftest")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem