-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only show traces for failures #831
Comments
Isn't this the current behavior already? https://github.com/open-policy-agent/conftest/blob/master/internal/commands/test.go#L139-L143 ./conftest test -p examples/kubernetes/policy/pass.rego examples/kubernetes/deployment.yaml --quiet --trace |
Ahh, I see that I was misunderstanding With all the output formats it's still somewhat quick to find which policies failed on which configs. But |
It would be nice if the new
conftest test --quiet ...
flag courtesy of #785 also applied when--trace
is given. It's an improvement to find the failed policy evaluations more quickly with--quiet
, but having trace output for all evaluations still gives a lot to dig through before fixing the failure.The text was updated successfully, but these errors were encountered: