inspec/lib/bundles/inspec-compliance
2016-04-13 16:55:14 -04:00
..
api.rb fix: make the plugin compatible with all versions of chef compliance 2016-04-13 16:27:57 -04:00
cli.rb add function tests for compliance command 2016-04-13 16:55:14 -04:00
configuration.rb add function tests for compliance command 2016-04-13 16:55:14 -04:00
http.rb fix: make the plugin compatible with all versions of chef compliance 2016-04-13 16:27:57 -04:00
README.md inspec-compliance: update README 2016-04-13 16:27:57 -04:00
target.rb migrate inspec-compliance target to fetcher 2016-02-22 11:24:36 +01:00

InSpec Extension for Chef Compliance

This extensions offers the following features:

  • list available profiles in Chef Compliance
  • execute profiles directly from Chef Compliance locally
  • upload a local profile to Chef Compliance

To use the CLI, this InSpec add-on adds the following commands:

  • $ inspec compliance api_token server --token TOKEN --user USER - save the Chef Compliance API token for user
  • $ inspec compliance login - authentication of the API token against Chef Compliance
  • $ inspec compliance profiles - list all available Chef Compliance profiles
  • $ inspec compliance exec profile - runs a Chef Compliance profile
  • $ inspec compliance upload path/to/local/profile - uploads a local profile to Chef Compliance
  • $ inspec compliance logout - logout of Chef Compliance

Compliance profiles can be executed in two mays:

  • via compliance exec: inspec compliance exec profile
  • via compliance scheme: inspec exec compliance://profile