You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the docs, I see that the deny, violation, and warn rules are able to be suffixed, eg deny_myrule. It'd be really great if somehow the identifies would be printed when running conftest test
For the standard output it currently looks like this:
does underscore work with warn? If so, there might be a regression?
git diff
..
-warn[msg] {
+warn_myrule[msg] {
./conftest test -p examples/kubernetes/policy examples/kubernetes/deployment+service.yaml
Error: running test: load: loading policies: get compiler: 2 errors occurred:
examples/kubernetes/policy/base_test.rego:12: rego_unsafe_var_error: var warn is unsafe
examples/kubernetes/policy/base_test.rego:50: rego_unsafe_var_error: var warn is unsafe
In the docs, I see that the
deny
,violation
, andwarn
rules are able to be suffixed, egdeny_myrule
. It'd be really great if somehow the identifies would be printed when runningconftest test
For the standard output it currently looks like this:
It'd be helpful to perhaps be:
And json output currently is:
Perhaps something like
The text was updated successfully, but these errors were encountered: