diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-04-29 10:12:16 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2021-04-29 11:28:56 -0700 |
commit | 27c70a4ac01c8e01ffa9b8b131eac5c4be410a9a (patch) | |
tree | 6c8e0e6944cc50482c9944c446543b0ec8291e18 | |
parent | 5821c3fa239d841f5285bfabe7afc569cf58a5f1 (diff) | |
download | chef-27c70a4ac01c8e01ffa9b8b131eac5c4be410a9a.tar.gz |
Make CLI one of the default reporters for Compliance Phase
This makes it much easier to use out of the box by showing something
real in addition to saving a file to disk.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/compliance/default_attributes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/compliance/default_attributes.rb b/lib/chef/compliance/default_attributes.rb index 90ddbbc83a..9196944b92 100644 --- a/lib/chef/compliance/default_attributes.rb +++ b/lib/chef/compliance/default_attributes.rb @@ -28,7 +28,7 @@ class Chef # Controls what is done with the resulting report after the Chef InSpec run. # Accepts a single string value or an array of multiple values. # Accepted values: 'chef-server-automate', 'chef-automate', 'json-file', 'audit-enforcer', 'cli' - "reporter" => "json-file", + "reporter" => %w{json-file cli}, # Controls if Chef InSpec profiles should be fetched from Chef Automate or Chef Infra Server # in addition to the default fetch locations provided by Chef Inspec. |