2018-06-21 17:37:47 +00:00
|
|
|
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'
|
2018-09-26 17:28:58 +00:00
|
|
|
desc 'overwrite me', 'it is overwritten'
|
|
|
|
desc 'new entry', 'this is appended to the description list'
|
2018-06-21 17:37:47 +00:00
|
|
|
tag 'password-updated'
|
|
|
|
ref 'Section 3.5.2.1', url: 'https://example.com'
|
|
|
|
describe file('/etc/passwd') do
|
|
|
|
it { should exist }
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|