-
Notifications
You must be signed in to change notification settings - Fork 683
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
JSON output for inspec check #411
Conversation
c75b5cc
to
cb461c4
Compare
Great idea! Should we turn this into a JSON stream log or stick to JSON (as it is now)? |
@arlimus Great idea, just turned it into a line delimited JSON as described here: https://en.wikipedia.org/wiki/JSON_Streaming. You can use it with jq now.
|
This raises some conceptual issues:
We have multiple options to format our response and our logging
Therefore we should have different options to control the output: |
a7e077d
to
26b4997
Compare
26b4997
to
ea63a39
Compare
Looks good, and works with the https://github.com/chef/chef-compliance/pull/428 I just pushed. |
updated description
Current:
New CLI Table output
New JSON result
includes a very naive json streaming implementation for the logger