Conftest is a utility to help you write tests against structured configuration data. For instance, you could write tests for your Kubernetes configurations, Tekton pipeline definitions, Terraform code, Serverless configs, or any other structured data. Conftest relies on the Rego language from Open Policy Agent for writing policies. If you're unsure what exactly a policy is, or unfamiliar with the Rego policy language, the Policy Language documentation provided by the Open Policy Agent documentation site is a great resource to read.

Features

  • Conftest looks for deny, violation, and warn rules
  • Rules can optionally be suffixed with an underscore and an identifier
  • Documentation available
  • Examples available
  • Conftest supplies a default document with additional contextual information at the data.conftest location that can be used in policy evaluation
  • Note that Conftest isn't specific to Kubernetes, It will happily let you write tests for any configuration files

Project Samples

Project Activity

See All Activity >

Categories

Software Testing

License

Apache License V2.0

Follow Conftest

Conftest Web Site

Other Useful Business Software
Deploy Apps in Seconds with Cloud Run Icon
Deploy Apps in Seconds with Cloud Run

Host and run your applications without the need to manage infrastructure. Scales up from and down to zero automatically.

Cloud Run is the fastest way to deploy containerized apps. Push your code in Go, Python, Node.js, Java, or any language and Cloud Run builds and deploys it automatically. Get fast autoscaling, pay only when your code runs, and skip the infrastructure headaches. Two million requests free per month. And new customers get $300 in free credit.
Try Cloud Run Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Conftest!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Software Testing Tool

Registered

2024-03-08