Skip to content

Commit 98bf7b9

Browse files
committed
CIS 1.1.1 Disable unused filesystems
Removed extra line Signed-off-by: bitvijays <bitvijays@gmail.com>
1 parent e192b1e commit 98bf7b9

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

controls/os_spec.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,3 +224,19 @@
224224
it { should be_empty }
225225
end
226226
end
227+
228+
control 'os-10' do
229+
impact 1.0
230+
title 'CIS: Disable unused filesystems'
231+
desc '1.1.1 Ensure mounting of cramfs, freevxfs, jffs2, hfs, hfsplus, squashfs, udf, FAT'
232+
describe file('/etc/modprobe.d/dev-sec.conf') do
233+
its(:content) { should match 'install cramfs /bin/true' }
234+
its(:content) { should match 'install freevxfs /bin/true' }
235+
its(:content) { should match 'install jffs2 /bin/true' }
236+
its(:content) { should match 'install hfs /bin/true' }
237+
its(:content) { should match 'install hfsplus /bin/true' }
238+
its(:content) { should match 'install squashfs /bin/true' }
239+
its(:content) { should match 'install udf /bin/true' }
240+
its(:content) { should match 'install vfat /bin/true' }
241+
end
242+
end

0 commit comments

Comments
 (0)