2016-01-26 10:54:53 +00:00
|
|
|
# InSpec Extension for Chef Compliance
|
|
|
|
|
|
|
|
This extensions offers the following features:
|
|
|
|
|
2016-02-01 22:42:27 +00:00
|
|
|
- list available profiles in Chef Compliance
|
|
|
|
- execute profiles directly from Chef Compliance locally
|
2016-01-26 10:54:53 +00:00
|
|
|
- upload a local profile to Chef Compliance
|
|
|
|
|
2016-02-01 22:42:27 +00:00
|
|
|
To use the CLI, this InSpec add-on adds the following commands:
|
2016-01-26 10:54:53 +00:00
|
|
|
|
2016-02-01 22:42:27 +00:00
|
|
|
* `$ inspec compliance login user password` - authentication against Chef Compliance
|
|
|
|
* `$ inspec compliance profiles` - list all available Chef Compliance profiles
|
2016-02-02 10:16:27 +00:00
|
|
|
* `$ inspec compliance exec profile` - runs a Chef Compliance profile
|
2016-02-01 22:42:27 +00:00
|
|
|
* `$ inspec compliance upload path/to/local/profile` - uploads a local profile to Chef Compliance
|
|
|
|
* `$ inspec compliance logout` - logout of Chef Compliance
|
2016-02-02 10:16:27 +00:00
|
|
|
|
|
|
|
Compliance profiles can be executed in two mays:
|
|
|
|
|
|
|
|
- via compliance exec: `inspec compliance exec profile`
|
|
|
|
- via compliance scheme: `inspec exec compliance://profile`
|