2
0
Fork 0
mirror of https://github.com/inspec/inspec synced 2024-12-29 22:43:25 +00:00
inspec/test/unit/mock/profiles/wrapper-override/inspec.yml
Jerry Aldrich 20776b363d Add support for multiple descriptions for controls ()
* 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

11 lines
287 B
YAML

name: wrapper-override
title: Linux Wrapper Child Profile
maintainer: Demo, Inc.
copyright: Demo, Inc.
copyright_email: support@example.com
license: Apache-2.0
summary: Profile that wraps other profiles
version: 0.6.1
depends:
- name: myprofile1
path: does_not_matter_check_vendor