Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Write tests against structured configuration data using the Open Policy Agent Rego query language
| Date | Stars |
|---|---|
| 2026-07-24 | 3226 |
| 2026-07-25 | 3226 |
| 2026-07-28 | 3226 |
| 2026-07-30 | 3226 |
| 2026-07-31 | 3231 |
| 2026-08-07 | 3230 |
| 2026-08-16 | 3235 |
| 2026-08-18 | 3240 |
| 2026-08-20 | 3241 |
| 2026-08-21 | 3243 |
| 2026-08-22 | 3245 |
| 2026-08-23 | 3247 |
| 2026-08-24 | 3247 |
| 2026-08-25 | 3249 |
| 2026-08-27 | 3250 |
| 2026-08-28 | 3252 |
| 2026-08-29 | 3253 |
| 2026-08-30 | 3256 |
| 2026-09-04 | 3256 |
| 2026-09-07 | 3257 |
| 2026-09-08 | 3257 |
| 2026-09-09 | 3258 |
| 2026-09-10 | 3259 |
| 2026-09-12 | 3259 |
| 2026-09-13 | 3261 |
| 2026-09-14 | 3261 |
| 2026-09-15 | 3261 |
| 2026-09-16 | 3262 |
| 2026-09-20 | 3261 |
Today
-1 stars today
This week
— stars this week
This month
+18 stars this month
Momentum
35.0
growth rate 0.00%/day
# Conftest
[](https://goreportcard.com/report/open-policy-agent/conftest) [](https://app.netlify.com/sites/vibrant-villani-65041c/deploys)
Conftest helps you write tests against structured configuration data. Using Conftest you can
write tests for your Kubernetes configuration, Tekton pipeline definitions, Terraform code,
Serverless configs or any other config files.
Conftest uses the Rego language from [Open Policy Agent](https://www.openpolicyagent.org/) for writing
the assertions. You can read more about Rego in the [Policy Language](https://www.openpolicyagent.org/docs/policy-language)
section in the Open Policy Agent documentation.
Here's a quick example. Save the following as `policy/deployment.rego`:
```rego
package main
deny contains msg if {
input.kind == "Deployment"
not input.spec.template.spec.securityContext.runAsNonRoot
msg := "Containers must not run as root"
}
deny contains msg if {
input.kind == "Deployment"
not input.spec.selector.matchLabels.app
msg := "Containers must provide app label for pod selectors"
}
```
Assuming you have a Kubernetes deployment in `deployment.yaml` you can run Conftest like so:
```console
$ conftest test deployment.yaml
FAIL - deployment.yaml - Containers must not run as root
FAIL - deployment.yaml - Containers must provide app label for pod selectors
2 tests, 0 passed, 0 warnings, 2 failures, 0 exceptions
```
Conftest isn't specific to Kubernetes. It will happily let you write tests for any configuration files in a variety of different formats. See the [documentation](https://www.conftest.dev/) for [installation instructions](https://www.conftest.dev/install/) and
more details about the features.
## Want to contribute to Conftest?
* See [DEVELOPMENT.md](DEVELOPMENT.md) to build and test Conftest itself.
* See [CONTRIBUTING.md](CONTRIBUTING.md) to get started.
For discussions and questions join us on the [Open Policy Agent Slack](https://slack.openpolicyagent.org/)
in the `#opa-conftest` channel.
Excerpt of 2,173 characters
Read on GitHub303
207
192
102
85
74
KeisukeYamashita
35
Ville Vesilehto · @iceye-ltd · Finland
23
Anders Eknert · Apple · Sweden
18
12
8
Manuel Rüger · Germany
6
6
5
5
4
Stewart Platt · Anatinus Ltd · United Kingdom
4
Stephan Renatus · @apple · Germany
4
3
3
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:fe30f1149ec9f8a1, topic:kubernetes
matched fp:fe30f1149ec9f8a1, topic:testing