mirror of
https://github.com/inspec/inspec
synced 2024-11-27 23:20:33 +00:00
12890408bb
* Fix the control merging issues when overriding child controls. * Fix rubocop issue and vendor compression. * Add in lock file for vendor profile Signed-off-by: Jared Quick <jquick@chef.io>
16 lines
438 B
Ruby
16 lines
438 B
Ruby
include_controls 'myprofile1' do
|
|
# skip this useless control
|
|
skip_control 'pro1-con3'
|
|
|
|
# fix this control from the profile we inherit
|
|
control 'pro1-con2' do
|
|
impact 0.999
|
|
title 'Profile 1 - Control 2-updated'
|
|
desc 'Profile 1 - Control 2 description-updated'
|
|
tag 'password-updated'
|
|
ref 'Section 3.5.2.1', url: 'https://example.com'
|
|
describe file('/etc/passwd') do
|
|
it { should exist }
|
|
end
|
|
end
|
|
end
|