Skip to content
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

Add ability to configure json-file output location #286

Closed
xblitz opened this issue Sep 28, 2017 · 2 comments
Closed

Add ability to configure json-file output location #286

xblitz opened this issue Sep 28, 2017 · 2 comments
Labels
Type: Enhancement Adds new functionality.

Comments

@xblitz
Copy link
Contributor

xblitz commented Sep 28, 2017

Cookbook version

current

Chef-client version

any

Scenario:

Using the audit cookbook with file base output, we cannot choose the location and name of the file

@chris-rock
Copy link
Contributor

Thank you for the feedback, right now filenames are auto-generated, as we see here: https://github.com/chef-cookbooks/audit/blob/master/files/default/handler/audit_report.rb#L260-L262

It would be nice to have the same feature-set as in test-kitchen:

verifier:
  name: inspec
  format: junit
  output: path/to/results/%{platform}_%{suite}_inspec.xml

see https://github.com/chef/kitchen-inspec#usage

@alexpop
Copy link
Contributor

alexpop commented Sep 19, 2018

Thank you Eric for the feedback. Version 7.3.0 has an attribute that you can use the specify the location of the file based reporter.

@alexpop alexpop closed this as completed Sep 19, 2018
@tas50 tas50 added Type: Enhancement Adds new functionality. and removed Type: Feature Request labels Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Adds new functionality.
Development

No branches or pull requests

5 participants