inspec/lib
Jared Quick 9930e40a76 Add new "reporter" system (replacement for "formatters"), support multiple reporters per run (#2464)
* Formatter and reporter refactor.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add exception and backtrace to json-min report.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add sha to json-min and include generator version for json profile.

Signed-off-by: Jared Quick <jquick@chef.io>

* Fix deprecated typo and add fallback for cli resource title.

Signed-off-by: Jared Quick <jquick@chef.io>

* Update to build json report and clean up cli logic.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add tests for json reporter.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add cli suppress_log_output? and a fallback for invalid reporter type.

Signed-off-by: Jared Quick <jquick@chef.io>

* Update suppress_log_output? to check if we are outputting to stdout.

Signed-off-by: Jared Quick <jquick@chef.io>

* Update reporter cli optoins to work with json_config.

Signed-off-by: Jared Quick <jquick@chef.io>

* Refactor some safe-navigation and variable names.

Signed-off-by: Jared Quick <jquick@chef.io>

* Add thor banner to show reporter file output syntax.

Signed-off-by: Jared Quick <jquick@chef.io>
2018-02-08 10:06:58 +01:00
..
bundles Fix OWCA detection for compliance login (#2401) 2017-12-22 15:01:18 +01:00
fetchers Rubocop: disable GuardClause and ClassLength (#2382) 2017-12-07 20:22:55 +01:00
inspec Add new "reporter" system (replacement for "formatters"), support multiple reporters per run (#2464) 2018-02-08 10:06:58 +01:00
matchers Bump Rubocop to 0.49.1 (#2323) 2017-11-21 08:49:41 +01:00
resources Edits to audit_policy resource language (#2498) 2018-01-31 07:24:57 -05:00
source_readers Bump Rubocop to 0.49.1 (#2323) 2017-11-21 08:49:41 +01:00
utils Allow skipping/failing resources in FilterTable (#2349) 2017-11-29 07:32:40 -05:00
inspec.rb Add new "reporter" system (replacement for "formatters"), support multiple reporters per run (#2464) 2018-02-08 10:06:58 +01:00