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
Categories
Software TestingLicense
Apache License V2.0Follow Conftest
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Conftest!