inspec/examples
Jerry Aldrich 20776b363d Add support for multiple descriptions for controls (#3424)
* Add support for multiple descriptions for controls

This adds the ability to specify multiple descriptions in controls.

Example:

```ruby
control 'my-control' do
  impact 1.0
  title 'My control'
  desc 'A default description'
  desc 'rational', 'I need an example'
  describe file('/tmp') do
    it { should be_directory }
  end
end
```

Many thanks to @jquick for helping me with the unit tests.
* Remove unused `descriptions` method
* Remove unused profile from test mocks
* Respond to feedback

Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2018-09-26 13:28:57 -04:00
..
custom-resource Allow custom resources to access all other resources (#3108) 2018-06-06 11:56:51 -04:00
inheritance Add windows functional tests (#3385) 2018-09-12 18:04:16 -04:00
kitchen-ansible Fix: pointed concurrent-ruby to version 1.0 to fix dependencies (#2879) 2018-03-26 14:28:11 -04:00
kitchen-chef Remove rubocop from example Gemfiles (#2341) 2017-11-27 19:05:52 +01:00
kitchen-puppet updating kitchen-puppet example for puppet 15 (#2972) 2018-04-19 12:55:10 -04:00
meta-profile Fixes typo. (#2047) 2017-08-17 15:13:44 -04:00
profile Add support for multiple descriptions for controls (#3424) 2018-09-26 13:28:57 -04:00
profile-attribute verifies that inspec.yml uses licenses in SPDX format 2017-05-31 00:21:05 -05:00
profile-aws Add example profiles for AWS/Azure (#2680) 2018-02-18 12:12:44 +01:00
profile-azure Add example profiles for AWS/Azure (#2680) 2018-02-18 12:12:44 +01:00
profile-sensitive Fix typo in some docs (#2841) 2018-03-20 08:43:30 -04:00
profile-attribute.yml feature: attribute handling 2016-06-14 02:49:03 +02:00
README.md Update list of examples 2015-12-30 21:40:57 +01:00

InSpec examples

This directory contains multiple examples that explain the usage of the InSpec: