inspec / kitchen-inspec

Test-Kitchen Plugin for InSpec
Other
109 stars 58 forks source link

Add the 'reporter' configuration option to kitchen-inspec #182

Closed tpringle closed 6 years ago

tpringle commented 6 years ago

The --format option is being is being deprecated and will be removed in inspec 3.0.

This change allows the use of the --reporter parameter in a Kitchen config file.

Usage example:

verifier:
  name: inspec
  reporter:
    - progress
    - json:/tmp/json.txt

NB: Unlike 'format', 'reporter' is always parsed as a collection. As such it must be written appropriately in your .yml file when there is only one parameter as well.

verifier:
  name: inspec
  reporter:
    - progress