diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-11-13 17:36:29 -0800 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-12-01 16:12:04 -0800 |
commit | a287626b0d3c01cc8713279a643fac373abca64e (patch) | |
tree | 4a17bfcc99e9c37b17d529647a9f28b80e031b3c /lib/chef/audit/runner.rb | |
parent | 01dee0556aa4d029f547c8d4020e46d09dc6ad79 (diff) | |
download | chef-a287626b0d3c01cc8713279a643fac373abca64e.tar.gz |
Cleanup hash keys.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'lib/chef/audit/runner.rb')
-rw-r--r-- | lib/chef/audit/runner.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/audit/runner.rb b/lib/chef/audit/runner.rb index af6eeb82c4..75a8f9a7ca 100644 --- a/lib/chef/audit/runner.rb +++ b/lib/chef/audit/runner.rb @@ -71,15 +71,15 @@ class Chef end { - "report" => true, - "reporter" => ["json-automate"], - "output" => audit_attributes["quiet"] ? ::File::NULL : STDOUT, - "logger" => logger, backend_cache: audit_attributes["inspec_backend_cache"], inputs: audit_attributes["attributes"], - waiver_file: waivers, - reporter_message_truncation: audit_attributes["result_message_limit"], + logger: logger, + output: audit_attributes["quiet"] ? ::File::NULL : STDOUT, + report: true, + reporter: ["json-automate"], reporter_backtrace_inclusion: audit_attributes["result_include_backtrace"], + reporter_message_truncation: audit_attributes["result_message_limit"], + waiver_file: waivers, } end |