conftest

Write tests against structured configuration data using the Open Policy Agent Rego query language

OTHER License

Stars
2.8K

Bot releases are visible (Hide)

conftest - v0.8.0

Published by garethr over 5 years ago

Changelog

26e9e3a Merge branch 'master' into feature/add-rego-file-support-to-policy-flag
5fac061 Merge pull request #11 from sublimino/patch-2
3ecbc29 Merge pull request #14 from boranx/master
01b2a86 Merge pull request #16 from Blokje5/feature/add-rego-file-support-to-policy-flag
b468b1f Merge pull request #17 from Blokje5/feat/include-toml-support
84d6130 added an example of testing standard Kubernetes app labels
407cafa feat: Add Parser interface. Edit processFile method to include use of new Parser interface. Include TOMLParser.
feba8b0 feat: Allow policy file to be specified for the policy flag
0835ac4 fix: Acceptance tests in dockerfile
0b30107 fix: typos
402cb72 update opa to 0.12.0 for new keywords, fix acceptance for reduced output for trace

conftest - v0.7.0

Published by garethr over 5 years ago

Changelog

a27d073 Added ability to push bundles to registries
f610824 An example of running Conftest in Tekton pipeline
47629c7 Changed the label name to the shorter trace and added docs
14dea61 Merge pull request #10 from sublimino/patch-1
1e2364b add CircleCI badge
751e611 add acceptance tests to CircleCI build
2c1644b add trace-query flag for rego
9d714a6 fix OPA tests for sample policy
9394170 fix issue with examples not capturing both labels
430239e fix the acceptance test for the flag name change
b589b63 testing out CirclCI for testing
cbe8c78 update dependencies

conftest - v0.6.0

Published by garethr over 5 years ago

Changelog

a27d073 Added ability to push bundles to registries
c2a9ddc correct README formatting
c857a70 improve message for warning example
8d409f8 update docs with working Docker example

conftest - v0.5.5

Published by garethr over 5 years ago

Changelog

4a139cb fix typo in kubectl plugin, and add -h flag for help

conftest - v0.5.4

Published by garethr over 5 years ago

Changelog

11d6c46 correct spelling of examples target
904c3a2 follow symlink for path to binary

conftest - v0.5.3

Published by garethr over 5 years ago

Changelog

0d13e50 Formal docker images for conftest
fdef1ea Include conftest binary in the plugin to make install easier
8ca4397 Update plan for latest release candidate of Terraform
d662db5 update plugin name to conftest and update hash

conftest - v0.5.2

Published by garethr over 5 years ago

Changelog

8b72877 Krew guidelines suggest not using generic verbs so switching to tool name
ea38f18 use github archive for plugin to match path between versions

conftest - v0.5.1

Published by garethr over 5 years ago

Changelog

08d2139 Added Docker Compose example
317ad5f Example using Typescript generated data being tested with conftest/OPA
66275f8 Remove vendored pkg from oras
16f3c47 Show resource name for impoved error messages when running policy
8e69565 Updated docker cli and oras to latest, now oras types are correct
f776548 added initial test for a kubectl plugin
d014c41 debugging the krew installer
5acdd51 update dependencies
e1bd8df updated go dependencies

conftest - v0.5.0

Published by garethr over 5 years ago

Changelog

49e6d59 Ability to download policies from OCI registries
45b6817 Added CUE testing examples
5307472 Added a Terraform example using Terraform 0.12 beta
dba75ad Added a serverless config testing example
83effd2 Added acceptance tests demonstraing configuration file usage
6b12629 Demonstrate policy organisation into modules with different namespaces
ff4037a Move test to a subcommand
fbdc780 Support configuration of the namespace to find rules
102bb91 Support updating and testing in one command
5be1a15 Use shared contexts throughout rather than recreating
85c378d added a kustomize example
65d364e added homebrew formula publishing
34dca77 added links to examples in README
c824df1 added scoop package publishing
6de1e93 demonstrate writing tests for the policies
00b9b83 fix error in usagee instructions
35c183c make clearer how to run Kustomize example
d9f4095 updated dependencies
81bab71 updates to README with install instructions

conftest - v0.4.2

Published by garethr over 5 years ago

Changelog

c824df1 added scoop package publishing
d9f4095 updated dependencies

conftest - v0.4.1

Published by garethr over 5 years ago

Changelog

65d364e added homebrew formula publishing
5d865c9 moe testdata to examples, add add additional tests
d51b528 update dependent modules
991d879 updated README with installation and usage details

conftest - v0.4.0

Published by garethr over 5 years ago

Changelog

2b727d2 use deny to fail tests in keeping with other OPA examples

conftest - v0.3.0

Published by garethr over 5 years ago

Changelog

4d8ffed support stdin for passing files

conftest - v0.2.0

Published by garethr over 5 years ago

Changelog

bc332de add concept of warnings
b67f75a added an explicit license
95cb114 exit with non-zero exit code on failures or flagged warnings
d3039d4 nicer version information
408fee9 prettier formatting of errors and warnings
63ef92f usage information in the README

conftest - v0.1.0

Published by garethr over 5 years ago

Initial release for anyone super interested in trying out conftest. Testing is very rudimentary at present so expect bugs, and the project needs examples to explain why and how you might want to use it.

Changelog

f250c17 added a basic readme
4df84c9 added automatic releases using goreleaser
dde41bd convert to using Go modules
6e9c8e3 initial version of conftest
858d3fb scaffold for acceptance tests in GitHub actions
3588a98 support switching policy directory