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.24.0

Published by github-actions[bot] over 3 years ago

NOTE: Starting from v0.24.0, Conftest will be available from the core repositories for both brew and Scoop. The instrumenta repositories are no longer needed when fetching the newest version.

Changelog

1a4a433 Add .tfvars as an HCL2 parseable file type
cf6b7cf Add additional files to dockerignore
eebd8b2 Add fmt command
01f6e9e Automatically parse dockerfiles with extensions (#492)
03e6b2e Bump github.com/deislabs/oras from 0.9.0 to 0.10.0 (#487)
8bbbb74 Bump github.com/hashicorp/go-getter from 1.5.2 to 1.5.3
665a354 Bump github.com/moby/buildkit from 0.8.1 to 0.8.2 (#494)
31e8f9e Bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5 (#483)
af2defb Bump github.com/spf13/cobra from 1.0.0 to 1.1.3 (#482)
5d2677d Bump jinja2 from 2.11.1 to 2.11.3 (#509)
e677e2c Enable Buildkit in Docker builds to speed things up (#469)
4965867 Fix formatting error in options documentation (#495)
9de0ec2 Fix ignore policy and format
7a18ff5 Fix issue where test count could be negative
8c1b2f7 Fix: Version command does not print the version. (#488)
bbb1309 Format junit output
14f596d Ignore .git for docker
8202f7f Migrate to GitHub Actions
c577d67 Minor documentation update to latest Conftest version (#506)
552cd0b Move plugin tests to test folder
6e53dc5 Move tests to tests directory
ff17bca Remove oci prefix on push if it exists
a82d4f3 Rename contrib directory for plugins
091d6d5 Support a build stage indicator in the Docker parser. (#499)
2831d8c Support for comments in Dockerfile
efe11de Suppress warnings from push and pull
644b8c6 Update documentation for installing plugins (#493)
891de8e Update gogoproto to v1.3.2
93ab7a5 Update options.md (#489)
d61a1ad Update supported extensions
5ca953b Update the source docker image (#502)
e391b11 Upgrade OPA to 0.27.1
aeeacb0 Upgrade ORAS to 0.11.0
1344695 Upgrade to oras version 0.9.0 (#472)
002e012 Use bulk append for building tabular data
66664ce Use dependabot for OPA updates
16f63b1 Verify: count and report skipped tests

conftest - v0.23.0

Published by garethr almost 4 years ago

Changelog

2615e53 Bump github.com/google/go-jsonnet from 0.16.0 to 0.17.0 (#450)
fc529cb Bump github.com/hashicorp/go-getter from 1.5.0 to 1.5.2
288feb3 Bump github.com/moby/buildkit from 0.3.3 to 0.8.1
5078434 Bump github.com/open-policy-agent/opa from 0.24.0 to 0.25.2 (#460)
9366d99 Fix case sensitivity in Dockerfile parser detection (#452)
3644df2 Fix for incorrect docker command in Makefile (#444)
e2d34d5 Fixed an issue where the parse command returns a different result from what is passed internally to the policy engine with the --combine flag.
6190ded Merge pull request #448 from Blokje5/fix/bug-in-parse-command-with-combine-flag
6f4549c Merge pull request #463 from open-policy-agent/dependabot/go_modules/github.com/moby/buildkit-0.8.1
430ce65 Merge pull request #467 from shteou/chore-remove-unit-test-printlns
9344fa2 Merge pull request #468 from open-policy-agent/dependabot/go_modules/github.com/hashicorp/go-getter-1.5.2
f666df5 chore: remove unneeded Printlns from unit tests
26f2970 fix: tracing output with array inputs (#465)

conftest - v0.22.0

Published by garethr almost 4 years ago

NOTE: For conftest versions 0.22.0 and later, please use the Docker image located at https://hub.docker.com/r/openpolicyagent/conftest

Changelog

819d3c3 Add development document (#417)
336af58 Add git to Dockerfile (#404)
b34aa10 Add linting to CircleCI & to the Makefile. (#418)
67f5f4e Add maintainers field (#408)
14d1378 Add namespace to output (#434)
cdc8387 Add support for parsing ignore files (#435)
64ddfd5 Assume yaml file extension for empty extensions. Add tests
9ede5bf Bind pull flag (#395)
6c42672 Bump github.com/go-ini/ini from 1.61.0 to 1.62.0 (#425)
1fdc9d0 Bump github.com/hashicorp/go-getter from 1.4.1 to 1.4.2 (#398)
0fd7e41 Bump github.com/hashicorp/go-getter from 1.4.2 to 1.5.0 (#420)
86dbcf4 Bump github.com/open-policy-agent/opa from 0.23.2 to 0.24.0 (#430)
c3d0ac2 Bump junit from 4.12 to 4.13.1 in /examples/xml (#429)
1bf3744 Bump version in docs (#392)
b5bad18 Change input flag to parser (#410)
4845175 Check for file extension before trying to read it
cc794a6 Combine configurations into struct when using combine (#388)
66636b2 Consolidate evaluation logic into a public package (#381)
01ab5c8 Fix plugins on Windows (#400)
b6c2129 Fix push command on Windows (#415)
353086b Fix typo in JUnit output command in documentation (#431)
0bfe31c Improve violations documentation (#437)
9a80b55 Include warnings when subconfigs are present (#384)
d31f0c8 Initial commit (#402)
019a093 Load policies and data individually (#394)
f74e0ea Merge pull request #382 from HaveFun83/gitlab-ci-fix
07a60e7 Merge pull request #436 from Blokje5/feat/adhere-to-xdg-spec
d2c303a Merge pull request #440 from FairwindsOps/sudermanjr/fix-panic-on-file-extension
41c0f5e Push image on release (#411)
3e5e03c Remove custom HCL2 conversion (#403)
9711356 Remove input-file from verify docs (#396)
cf13dff Remove runtime check on YAML parser (#406)
08e48bf Remove warn prefix when evaluating exceptions (#416)
73cfc1c Render trace results once (#393)
e273d73 Simplify testing list of kubernetes resources (#385)
1d94894 Sort combined results by file path (#405)
d27a05a Support XDG specification
3a772ae Update docs to reflect newest releases (#407)
853e778 Update documentation to reflect the deprecation of the instrumenta/conftest docker image. (#423)
46ec246 fixed gitlab-ci example

conftest - v0.21.0

Published by garethr about 4 years ago

Changelog

78f3ec0 .goreleaser: Support arm64 builds
e807681 Add GitLab registry to OCI detector (#351)
154e53a Add additional exit codes (#378)
5d1e3d8 Allow multiple -p flags to merge policy directories (#344)
44921f0 Also publish the Docker images to the Open Policy Agent namespace
125160d Break up output package (#380)
d04158b Bump github.com/go-ini/ini from 1.51.0 to 1.61.0 (#371)
16c1bd8 Bump github.com/hashicorp/go-getter from 1.4.0 to 1.4.1 (#372)
2a37ddf Bump github.com/hashicorp/hcl/v2 from 2.2.0 to 2.6.0 (#375)
62cbd98 Bump github.com/spf13/cobra from 0.0.5 to 0.0.7 (#379)
c5a62be Dockerfile: Lint and prepare for multiarch
9dfbdb9 Ensure successes don't return a msg (#367)
b055a7b Exception docs are published but not linked in the nav
07ff559 Fix pipeline by pinning API version
bbfd1d2 Mac OS support and other fixes (#369)
d653c17 Merge pull request #327 from Blokje5/chore/refactor_command_logic_into_subpackages
d39ab69 Merge pull request #345 from open-policy-agent/new-docker-namespace
f174e42 Merge pull request #346 from open-policy-agent/missing-docs-navigation
6ddeb35 Merge pull request #347 from mrueg/arm
7b3ebbd Merge pull request #358 from Blokje5/fix/issue-with-exception-rules
bc983d7 Migrate dependabot to github native version 2 (#366)
8ce1a23 Move configuration options to options doc (#354)
5c69d2d Move output to a seperate package and remove old output in internal/commands
6e79a2f Number of configurations for successes (#376)
d9c928e Refactor Test Command (#368)
3b618a2 Report error on verify command (#377)
6c68ff1 chore: Add a CONTRIBUTING.md document (#365)
4ec36f9 chore: Copy Output to a seperate dir
6bddcf3 chore: Refactor Parse Command
24a45a3 chore: Refactor Verify command into Runner
e483052 fix: Ensure exceptions are consistenly applied, not only in the multiple objects in a single yaml file case
51d108f refactor(parse): make parse more testable, modify parserunner (#350)

conftest - v0.20.0

Published by garethr over 4 years ago

Changelog

a99c5b3 Add Jsonnet support
6555440 Add testcase for json parser (#332)
c6905ec Add dependable config (#338)
dd04bb8 Add detech of GCR and ECR
7bb8bea Add link for Jsonnet
83f1d81 Add localhost repository testcase
677d4b1 Add localhost to detect as OCI registry
373141a Add support for JUnit (#328)
c5346c7 Added multiple namespace flags to acceptable tests. (#341)
9bf762a Exceptions (#334)
8415206 Fix an issue where push would only load json data (#342)
66a0afd Fix badge for Netlify docs deploy (#325)
0257374 Fix typo grc to gcr
521bf48 Fix typo in help message
2c68d0d Merge pull request #321 from davewongillies/dgillies/update_viper
caaf7fd Merge pull request #330 from toVersus/typo
dc9717a Merge pull request #331 from KeisukeYamashita/add-jsonnet-support
17ed938 Merge pull request #336 from KeisukeYamashita/downloader/add-oci-registries
0ed59eb Update pull command help message (#333)
5a78e68 Update spf13/viper from 1.5.0 to 1.7.0
88e8f6f Use encoding/json for json marshalling (#329)

conftest - v0.19.0

Published by garethr over 4 years ago

Changelog

0049efc Allow testing of multiple namespaces (#319)
844abe7 Merge pull request #306 from tsandall/update-module-paths-v2
81920e9 Merge pull request #317 from jpreese/variable-naming
0b2bc83 Refactor variable naming
546c3f7 Remove third party orb for the moment (#307)
f0e1134 Rewite module paths to prepare for transfer to open-policy-agent
6fdb6f2 The CircleCI badge pointed at the old CI project (#308)
91a97a2 Update commands and outputs for options docs (#293)
775b2d5 Update documents as part of the move to the OPA project (#302)
4d90463 Update opa module to v0.20.5 (#318)
4f38287 feat(test): add ignore flag for filtering unwanted inputs (#312)
d58f240 misc: More github.com/instrumenta => github.com/open-policy-agent updates

conftest - v0.18.2

Published by garethr over 4 years ago

Changelog

18abaf3 Allow nested namespaces (#295)
149d139 Inject Opa Runtime term into test & verify commands
8baa158 Merge pull request #296 from Blokje5/feat/add-opa-runtime-support
510358a Merge pull request #299 from davewongillies/opa/0.19.1
af172c0 Update opa module to 0.19.1

conftest - v0.18.1

Published by garethr over 4 years ago

Changelog

b8221b9 Add example for --combine with kubernetes resources. Demonstrates (#278)
600bca1 Add violation rule to docs
d2121d4 Adding additional tests for hcl parser (#284)
20a3e66 Example links in docs need to be absolute (#282)
d190371 Fix Kubernetes tests (#276)
ce5a2cc Fix small index typo (#290)
c857a46 Fix: incorrect total number of results (#291)
68a5f24 Merge pull request #285 from sarcasticadmin/sa/fix-hcl2
ade3a56 Merge pull request #287 from jpreese/violation-docs
c71cdea Modified the results summary UI (#283)
5fb268b Reduce input variable footprint (#272)
d952608 Remove references to hcl2 in examples and docs
2ee255f Remove unused hcl2 type
56bd545 Update to latest version of OPA (#286)
c1515ce updates to OPA dependency (0.17.3) (#280)

conftest - v0.18.0

Published by garethr over 4 years ago

Note that this release changes the default behaviour for tf files to use the HCL2 parser. This is now the default for Terraform as of 0.12 and a better default.

Changelog

058ae35 Always ensure we're building with the latest base image
84553e1 Created a separate multi-page site for the growing documentation
35a1d8d Directory support (#262)
fa04376 Example for #106 : --combine to find duplicates are non-matching fields
3cc1615 Explicit install no longer required
9db6bee Fix typo in README (#270)
cb878a1 Introduce --all-namespaces flag (#267)
0c3e043 Merge pull request #263 from instrumenta/documentation-site
8ba3617 Merge pull request #265 from jremond/issue-106-combine-example
0affa09 Now building docker image with PRs (#269)
d5b71fa Strip down the readme and point to the documentation site (#268)
16fa757 Use official Snyk orb, and make Go scan explicit

conftest - v0.17.1

Published by garethr over 4 years ago

Changelog

45177b4 Add additional documentation (#256)
e247288 Fix Docker acceptance test
f5e55f5 Improvements to the output for the test and verify commands (#254)
a73f626 Make output.go viper-agnostic (#261)
f51cf6c Merge pull request #248 from jpreese/set-modules
07ebb57 Merge pull request #255 from jpreese/fix-docker-build
6710ee9 Parse HCL2 correctly (#253)
ece33a4 Set modules for test compiler
5297398 fix: Ensure that the correct plugin is loaded (#252)

conftest - v0.17.0

Published by garethr over 4 years ago

Changelog

aa06940 Add last line to data example
4cf48e0 Add 127.0.0.1:5000 as an OCI registry by default (#219)
ae7dc1f Add VCL support (#217)
898385e Add multiple check results test for jsonOutputManager
3fca6bc Add plugin system for conftest
3364fc9 Add types for ini file type
93ee280 Allow structured errors in rules (#243)
61551ac Change the HCL2 parser to output more structure
b682d35 Don't join the policy path with the policy file name
785fef6 Fix plugin test on Windows
491c498 Improve documentation for conftest commands by providing a proper long description.
d18e603 Merge pull request #211 from KeisukeYamashita/add-types-for-ini
43b9f3d Merge pull request #216 from issyl0/patch-1
df9b697 Merge pull request #222 from Blokje5/feat/improve-documentation-in-commands
32432e9 Merge pull request #223 from davewongillies/verify_filename
846c9eb Merge pull request #224 from KeisukeYamashita/add-lastline-to-data-example
58e94e6 Merge pull request #225 from boranx/combine-flag-for-parse
0ec84c2 Merge pull request #228 from boranx/push-specific-directory-readme
d41694c Merge pull request #229 from foostan/support_numerics_as_query_name
198ae7a Merge pull request #231 from Blokje5/feat/add-plugin-system
5ee85ea Merge pull request #232 from foostan/json_output_manager_support_multi_files
d792f03 Merge pull request #238 from instrumenta/hcl2-parser-changes
83dce91 Merge pull request #239 from Blokje5/fix/use-abs-path-for-plugin-loading
3cc032b Merge pull request #241 from instrumenta/fix-test-help-output
67b2850 Merge pull request #244 from jpreese/remove-test-policy
2e8a15a Merge pull request #245 from jpreese/plugin-test
9c33ade README: Homebrew is not macOS-only anymore
1ff91e2 Remove test policy after test run
8b323a4 Show short help message for test output
44d5c02 Support numerics as query name for improving readability
c3978f4 Updating installation instructions to latest (.16) (#220)
974580e Upgrading the OPA version in use (#242)
84f6c38 add combine flag for parse command
4912ed0 clear statement: #227 / readme: pass specific dir as second arg
809d5b3 fix: Docker ignore ignored plugin (#233)
3387bf8 fix: Use absolute path instead of only filename
fa15759 jsonOutputManger support multi files

conftest - v0.16.0

Published by garethr almost 5 years ago

Changelog

de9cdf8 Add empty policy file detection
5567ba4 Add exit status control for verify failures
2ead817 Add fail on warn flag
f4f76b2 Add feedback with invalid policy path
c4116e6 Add table output
ce11359 Add HOCON parser
00ffb0e Add TestSupportedOutputManagers table testcase
4b40f1d Add acceptance test
ee9964b Add check for filename in test
66089bf Add data loading capabilities to verify command as well
6332b2b Add explicit WORKDIR to Docker image
d51b61d Add last line in hocon.conf
0e38649 Add multiple input type
0611781 Add output for no checkresult
acd6c86 Add successes output (#161)
3856cc5 Add toml parser test
0471d12 Added missing acceptance test for command trace with table output
5090bab Added support for multiple policy backends leveraging go-getter
8968872 Added test case for newly created flag.
1343828 Additional cleanup
9ffb5c4 Allow loading of data files (either JSON or YAML) as part of the policies.
911dcac Build rpm and deb packages for Linux users of conftest
a1e3778 Change multi input type
6372200 Clean up parameter declarations
6a27fbd Comments addressed and changes applied
f7ac4c8 Consistent handling of errors and case in parsers (#173)
67cf431 Embedding traces in each one of the results
4828ab8 Fix conflict of go.sum
b86c513 Fix kubernetes policy example
ea73464 Fix pathing for push command
2e6acfe Fix the failing unit tests, the GetResult call was missing a Store
eba9825 Fixed issue with json and tap output formats without trace
6d77b21 Handle explicitly blank filenames passed into conftest
47e7317 Initial test package refactoring
ccb3f14 Lowercase keys in JSON output (#144)
ab9baab Merge branch 'master' into add-table-output
d86508b Merge branch 'master' into test-refactor
c5a472d Merge branch 'master' into test-refactor
fead587 Merge branch 'master' into test-refactor
6834c97 Merge pull request #107 from Blokje5/feat/https-support
7dbbf21 Merge pull request #132 from boranx/tests/add-parse-tests
01e8ba4 Merge pull request #134 from jpreese/test-refactor
51e41b6 Merge pull request #139 from jpreese/update-readme
19c31df Merge pull request #140 from jpreese/fix-kubernetes-example
3e0b811 Merge pull request #143 from instrumenta/handle-blank-filenames
1634f3a Merge pull request #146 from instrumenta/missing-workdir-dockerfile
c4ca81f Merge pull request #147 from jpreese/modules-update
711d944 Merge pull request #148 from jpreese/remove-yaml-package
e8f00cc Merge pull request #150 from instrumenta/rpm-deb-packages
be3bc24 Merge pull request #152 from jpreese/testing-files
3611374 Merge pull request #156 from menendezjaume/feature/move-commands-where-relevant
2327f6d Merge pull request #157 from boranx/ref/input-flag
2402a86 Merge pull request #159 from jpreese/remove-testdata
2a5c81e Merge pull request #163 from menendezjaume/feature/verify-support-flag-trace
df76c73 Merge pull request #166 from KeisukeYamashita/add-exit-status-control-to-verify
f2a1eba Merge pull request #168 from menendezjaume/feature/support-edn-input
c65bd7a Merge pull request #175 from boranx/feat/add-xml-support
f8da1fc Merge pull request #178 from menendezjaume/feature/move-conftest-test-trace-to-output
5e57135 Merge pull request #179 from menendezjaume/upgrade/hcl2-to-hcl-v2
9f0b947 Merge pull request #182 from KeisukeYamashita/add-table-output
614e5a6 Merge pull request #185 from menendezjaume/fix/json-and-tap-outputs-no-traces
6030939 Merge pull request #187 from menendezjaume/feature/embed-traces-into-results
cba77eb Merge pull request #192 from menendezjaume/fix/add-acceptance-tests-for-table-output
87697d7 Merge pull request #195 from KeisukeYamashita/add-different-input-types
8e2a6c9 Merge pull request #197 from KeisukeYamashita/add-additional-feedback-on-no-policy
9a700c6 Merge pull request #198 from boranx/fix/acceptance-for-table-trace
d1cd554 Merge pull request #199 from KeisukeYamashita/move-get-configuration-in-front
2793c2b Merge pull request #205 from KeisukeYamashita/add-empty-file-detech
fe1b2c3 Merge pull request #207 from boranx/chore/fix-typo
9eacd07 Merge pull request #208 from boranx/err/hcl2-diagnostics
feba393 Merge pull request #213 from KeisukeYamashita/add-toml-parser-test
ce1dae0 Merge pull request #214 from KeisukeYamashita/add-hocon-parser
a645dee Merge pull request #215 from Blokje5/feat/data_loading
12e052b Move --trace and --namespace to the test command
343f08b Move commands to internal (#160)
a83f2a3 Moved output of conftest test --trace to output
be382cf Normalize output line endings
40ab0fa Refactor to fail fast when getting cfg fails
a7b8046 Remove assert dependency on parse command
efb7815 Remove auth/oras from notes
f9cda35 Remove output manager autogen
dd27a51 Remove parse command testdata
74aab7b Remove test command testdata
d0f6ec2 Remove testify dependency
5509877 Remove yaml unmarshalling
b501148 Removed old references from go.mod and go.sum to hcl2
be7f1bb Rename res to rules (#162)
555d34b Resolve indentation after conflict
7676795 Resolve merge conflicts
dbbedd0 Resolve merge conflicts
c1d7532 Resolve merge conflicts
3d313ac Run go mod tidy (#202)
5381d49 Run goimports
2723622 Support EDN input
c8ce9d7 Update example in README (#189)
3b106f7 Update readme for multi input type
70a1154 Update readme table output example
894e409 Updated output for --trace flag (#191)
1a141dd Upgraded hcl2 parser to user hclv2
b48519f Use string as type for building output
309360d Verify package refactor (#131)
dbc159c WIP for migrating away from generated outputmanager
edbb022 add xml support: add acceptance test & update readme
980086a add xml support: add suitable policy file for pom.xml
38695a4 add xml support: add unit test for xml parser
c4c8469 add xml support: fix naming for tests
5ac19e6 add xml support: requested changes
78ab4c6 chore: fix typo
8e9460e conftest verify support --trace flag #111
8c9fc2b fix current version for linux in README (#155)
2199ecf fix test: run exactly against trace option with table
21d31a1 initial structure from xml to interface{}
fed5139 inject ctx created in commands to parse
6044f7f migrate GetConfigurations() to parser package
fa8abdc parser: add line break after parsing multi inputs, change help text with filelist (#149)
c3c0716 print each of diagnostics
9754346 refactor parse command, tests now run against parseInput command
8ff0f21 refactor parse command: get rid of using containerd logs in parse command
4f14333 refactor parse command: handle if cmd returns err
a134fc0 remove osExit() from parse, define context in root cmd
0935e35 resolve conflicts in commands
dc42815 resolve conflicts with master
cc18e5e tests: more strict tests for controlling output and printing filename

conftest - v0.15.0

Published by garethr almost 5 years ago

Changelog

fa7d905 Added a code of conduct
4a2407d Check if unable to read viper config
02a1699 Clean up acceptance stage
85c89f6 Create base stage
0cbba5f Don't load _test.rego files in recursivelySearchDirForRegoFiles
9022609 Fix issue with exit code being for last file only
8e8c227 Include directory for test target
f59b63f Include parse feature
c21d345 Initial push package refactoring
2e00374 Merge branch 'master' into fix-incorrect-exit-code
b457c51 Merge branch 'master' into push-package-refactor
bbf1479 Merge branch 'master' of github.com:jpreese/conftest into remove-pkg
8952ab5 Merge pull request #105 from Blokje5/fix/output-flag-binding-overwritten-by-viper
21dd893 Merge pull request #109 from instrumenta/shorten-combine-flag
e125707 Merge pull request #110 from instrumenta/fix-incorrect-exit-code
a0c558e Merge pull request #113 from boranx/feat/parse-command
9d2fd78 Merge pull request #115: remove pkg folder
56d7732 Merge pull request #118 from davewongillies/issue_114
89eae4a Merge pull request #119 from jpreese/docker-fix
5c8f581 Merge pull request #121 from arminbhy/master
f7a8992 Merge pull request #122 from jpreese/remove-constants
5c122ec Merge pull request #123 from jpreese/clean-mod
f8ef4fa Merge pull request #125 from v-ymarchanka/patch-1
93afb8f Merge pull request #126 from jpreese/push-package-refactor
5148ed4 Policy package refactor (#124)
2c10c32 Refactor push package
90b3fa9 Remove constants
dab42cd Remove docker layer caching
37647dc Remove parser
0550fce Remove pkg folder
f3950a1 Remove pkg folder from parsers
3cf04bd Remove the constants package
eeb0333 Remove viper dependency on Download (#135)
857551a Resolve Dockerfile issues
674902b Resolve additional conflicts
b9ee640 Resolve golangci-lint issues
4e4919b Resolve merge conflicts
28d8e30 Resolve merge conflicts
da87fde Resolve merge conflicts
2e764c2 Shorten combine-config flag to combine
fd91875 Simplify module file
b62eff6 Small nit with copy
dd569b2 Update README.md
7410b02 Update README.md (#133)
3a3a39b Update main.go path
9478d72 Use errors.As to for specific ConfigFileNotFoundError
b82ed97 Use relative path in parsing modules
074c7f6 acceptance test for nested names with name conflict
9a44afa add parse command
30766e5 fix: Output flag viper binding is overwritten if used by two commands at the same time. See: https://github.com/spf13/viper/issues/233. The solution is to use Prerun in the Cobra command to bind the viper flags at the last possible moment.

conftest - v0.14.0

Published by garethr about 5 years ago

Changelog

9dc6aab Add additional testing for Dockerfiles
ab8fcc9 Add errorcheck to dockerfile test
611e307 Add in osExit. To be refactored out later
1b25662 All passing tests
5034289 All passing tests except for multifile bug
3d405f5 Disable CGO, which was requiring gcc to be present in the build image
8ea1185 Docker unit tests passing
dde7eb3 Merge branch 'Blokje5-feat/execute-command'
563bd44 Merge branch 'feat/execute-command' of https://github.com/Blokje5/conftest into Blokje5-feat/execute-command
d1d57ed Merge pull request #99 from jpreese/conftest-rework
c4ffcb3 Remove old yaml file
33cb7c6 Resolve build issues
b496b57 Resolve merge issue with moving buildCompiler to a separate module
8e8ba8f Rework
b30d42d Split multi and singular queries
8f7b0ee Update Go to 1.13
7c328fc Use nonmulti policy file
0538fdf Use switch for determining query type to run
7a6bdba Wrap Dockerfile commands in slice
3297314 chore: Add version
55a9488 chore: Include an acceptance test for the execute command
30e489e chore: Refactor Execute command after rebasing
7703f96 chore: Refactor test command to use reporter interface
9c79b5a chore: Remove comments in test
5514798 chore: Remove version from test command
12b8be0 chore: Rename execute command to verify
674a3ac chore: Resolve GolangCI issues
9cb4896 chore: Update usage
29b092b feat: Reporter interface
63ac93b feat: Simple execute command to handle rego unit tests
00eabde fix: Failing unit tests for JSON output manager due to change in strucure.
8eac267 fix: Forgot to close chan in execute command
c636581 fix: Refactor after rebase on master
213f299 regenerate go.mod using go1.13

conftest - v0.13.0

Published by garethr about 5 years ago

Changelog

b51b0ca Combine-Config for multi-file policy check
2369dd3 Implement ConfigManager, a means to process a given file/config list to-be-tested
e9778e5 Implement multi-document support within YAML parser
f292162 Merge pull request #73 from Salamandastron1/master
a892dda Merge pull request #83 from Blokje5/feat/recursive-search
7d16b2a Merge pull request #84 from alonrolnik/example-awssam-template
29742c0 Merge pull request #87 from cartyc/add-ci-example
687f1ce Merge pull request #88 from boranx/fix/support-terraform-0.12
0661522 Merge pull request #90 from boranx/chore/update-readme-hcl2
84363ff Merge pull request #91 from 0xflotus/patch-1
8340065 Merge pull request #92 from boranx/fix/stdin-throws-no-err
194495b Modified parser/test for clean implentation
093d4c9 Rebased over new docker capabilites
19952e6 Refactor tests to loop over multiple top level indices for returned yaml values
0b44085 Remove left-over action code from experiment
db31bdb Revert "WIP: Begin interfacing new Parsing code with existing Conftest behavior"
d3a1f76 Support using violation instead of deny
9ef20ef Thrift dependency has moved, no longer present in apache repo
9565873 Updated readme with combine-config explanation
dd68442 WIP: Begin interfacing new Parsing code with existing Conftest behavior
a794e35 WIP: Edit tests to move towards namespacing by filepath/name
ff9c592 WIP: changed signature for GetParser to filetype
9e83fbf WIP: test GetParser, add Format to Parser
8068eb9 add awssam security checks
8158b68 add hcl2 support
a7d0cb6 add in verbose output for make, rego policy added
3395c8a added ci examples dir and gitlab ci examples
3d8b6c8 begin flag implementation
3878b0d broke out funcs and added tests to tighten feeback
af8a041 clean up merge artifacts
0c73ff0 correct typo in testname
f5b9b1e expectation change for acceptance test
cf6dc59 exported values and functions in order to test
0f2f6b0 feat: Recursively search directories for Rego files when compiling policies
9fbf7f8 fix : default stdin behavior is fixed to yaml, change log prints to errorf
85f5e00 fix linting errors
8c58044 fix linting issue for - add hcl2 support
b5548a6 fixed regression on -i override
5422492 fixed small errors
039ff2e multifile combine config no regressions
180cc8a multifile support via combine-config flag
a9d6e04 refactor naming in parser to reflect ConfigDoc struct and intialize desired data structure
aa0094b refactor to use func signature in NewTestCommand
3550933 reformat viper flags to catch errors
48ccf75 rename AWS SAM, Serverless Application Model title
2251fa6 rename variable to avoid pck conflict, tf hcl extension added
6593785 rework acceptance test policies for new hcl unmarshaler implementation
c56e378 terraform Unmarshal parser to uses byte array given
3571e6b update README file with the new awssam example
6ed4c75 updated git ignore to ignore dot .DS files
f8fa14a use readcloser to avoid memory leaks

conftest - v0.11.0

Published by garethr about 5 years ago

Changelog

a734be8 Add TAP output support
4db3bd0 Added a list of supported formats to the README
ba52f7b Added automatic releases when tags are pushed
903dc26 Always pull the latest parent image when building the Docker image
3934b99 Improve the default output
a976c44 Merge pull request #47 from boranx/feat/Add-ini-support
5bd01a6 Merge pull request #48 from brendanjryan/bjr-res-errors
dee4fa3 Merge pull request #50 from brendanjryan/bjr-test-target
c447ccc Merge pull request #55 from brendanjryan/bjr-output-loggers
879fc8c Merge pull request #57 from instrumenta/split-ci-config
604d8e6 Merge pull request #58 from instrumenta/improve-cli-output
9f8dced Merge pull request #60 from brendanjryan/bjr-json-logger
30adbb2 Merge pull request #61 from boranx/fix/unnecessary-file-reads
0a84829 Merge pull request #62 from brendanjryan/bjr-output-control
1c5880c Merge pull request #64 from srenatus/sr/fix-some-lint-issues
b802b5c Merge pull request #67 from brendanjryan/bjr-json-output-expose
7a24c10 Merge pull request #68 from instrumenta/tap-output-support
6e197d4 Merge pull request #70 from boranx/feat/add-input-flag
5db840d Readd method removed accidentally
d74da63 Separate testing into separate jobs
170b4a1 Try and capture Go test output for display in CircleCI
cf5b312 Update to latest version in installation instructions
3ae7547 Update version of Go used in Goreleaser build step
d9cb274 add flag for controlling output format
2dba479 add ini support
b3f644d add input flag for parsing the stdin stream
b441e29 adds a new make target for running tests
93dbbf8 adds json output to stdout logger
ec9d0d0 cleanup
4334ed3 comment fix
945237a creates foundation for configurable output formats
22059b4 empty arrays as return val
b9fa9ea exposes json output to cli
ff9f736 fix lint issues reported by golangci-lint
26da0cc pass on stdin input
cafca09 refactor error handling
a33c71b remove unnecessary file reads in parsers

conftest - v0.10.0

Published by garethr about 5 years ago

Changelog

903dc26 Always pull the latest parent image when building the Docker image
32db102 Merge pull request #43 from boranx/feat/Add-cue-support
cc3fdd4 Merge pull request #46 from Blokje5/chore/add-slack-to-readme
ab52c72 add cue support
a3dbb07 chore: Update readme with slack channel

conftest - 0.9.1

Published by garethr about 5 years ago

Changelog

d6e1620 Add test for pull command
6ebddd7 Fix issue with repeated output
1e1565b Fix version output
6838a79 Merge pull request #36 from jpreese/parser-split
2a3f17b Merge pull request #37 from jpreese/pull-test
098534c Other flag help is leading lower case
417f9fd Simplify policy package
d9113ca Split parsers
980e5bd Update dependencies

conftest - v0.9.0

Published by garethr over 5 years ago

Changelog

d81b389 Adding security checks to the build
7ff0160 Delete output.yaml
8f499a1 Fixes for building the Docker image post converstion to packages
4fced6b Initial command split
ed45368 Merge branch 'bjr-rule-multiple' of https://github.com/brendanjryan/conftest into brendanjryan-bjr-rule-multiple
0432325 Merge branch 'feat/add-color-disable-flag' of https://github.com/Blokje5/conftest into Blokje5-feat/add-color-disable-flag
e5dd30e Merge pull request #27 from instrumenta/snyk-test
81ac934 Merge pull request #28 from instrumenta/snyk-test
9aa2b16 Merge pull request #30 from jpreese/create-packages
f2bb061 Merge pull request #31 from xchapter7x/master
8e9b5bc Move Snyk instructions into commands
3827198 Move tf parser tests to new dir structure
325be9b Move to use the new Orb for the Snyk commands
4c49c58 Quick PR cleanup
51f1bd9 Try the latest workflow job
a382ec3 Update release config for new package layout
e3ff1c0 add acceptance test for terraform parser
5530659 add regex
be031f8 allow rules for be of any form that starts with warn or deny
cfded3b feat: Add --no-color flag to disable colored output
981a9a8 formatting cleanup
9c7435a support HCL .tf files
95759ce update modules

conftest - v0.8.1

Published by garethr over 5 years ago

Changelog

e505812 Fix decision for repositories including ports
5d14d02 Fix issue with using conftest via stdin
5802ba2 Merge pull request #19 from jpreese/patch-1
9b222d5 Merge pull request #22 from jpreese/patch-2
473cb4b Merge pull request #25 from kenfdev/fix-repository-name-with-tag
862c531 Update README.md
3fb60e9 Update labels.rego