Skip to content

Commit

Permalink
SV-257786
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmetzger committed Oct 13, 2023
1 parent e93cc7e commit 061dd09
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions controls/SV-257786.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,21 @@
tag 'documentable'
tag cci: ['CCI-000366', 'CCI-002235']
tag nist: ['CM-6 b', 'AC-6 (10)']

if virtualization.system.eql?('docker')
impact 0.0
describe "Control not applicable within a container" do
skip "Control not applicable within a container"
end
else
d = systemd_service('debug-shell.service')
describe.one do
describe d do
its('params.LoadState') { should eq 'masked' }
end
describe d do
its('params.LoadState') { should eq 'not-found' }
end
end
end
end

0 comments on commit 061dd09

Please sign in to comment.