Skip to content

Commit a167626

Browse files
emilyayEmily Heath
authored and
Emily Heath
committed
Edit control "cis-docker-benchmark-1.11"
1 parent e164aeb commit a167626

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

controls/docker_host_os_level1.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,11 @@
170170

171171
control 'cis-docker-benchmark-1.11' do
172172
impact 1.0
173-
title 'Audit Docker files and directories - docker.service'
174-
desc 'Apart from auditing your regular Linux file system and system calls, audit all Docker related files and directories. Docker daemon runs with \'root\' privileges. Its behavior depends on some key files and directories. docker.service is one such file. The docker.service file might be present if the daemon parameters have been changed by an administrator. It holds various parameters for Docker daemon. It must be audited, if applicable.'
173+
title 'Audit Docker files and directories - docker.socket'
174+
desc 'Apart from auditing your regular Linux file system and system calls, audit all Docker related files and directories. Docker daemon runs with \'root\' privileges. Its behavior depends on some key files and directories. docker.socket is one such file. It holds various parameters for Docker daemon socket. It must be audited, if applicable.'
175175
ref 'https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security_Guide/chap-system_auditing.html'
176176

177-
if docker.path
177+
if docker.socket
178178
rule = '-w ' + docker.socket + ' -p rwxa -k docker'
179179
describe auditd_rules do
180180
its(:lines) { should include(rule) }

0 commit comments

Comments
 (0)