mirror of
https://github.com/inspec/inspec
synced 2025-01-08 11:19:01 +00:00
10 lines
408 B
Ruby
10 lines
408 B
Ruby
|
# you add controls here
|
||
|
control 'profiled-1' do # A unique ID for this control
|
||
|
impact 0.7 # The criticality, if this control fails.
|
||
|
title 'Create /tmp directory (profile d)' # A human-readable title
|
||
|
desc 'An optional description...'
|
||
|
describe file('/tmp') do # The actual test
|
||
|
it { should be_directory }
|
||
|
end
|
||
|
end
|