Skip to content

Commit 26744e8

Browse files
authored
Merge pull request #13 from emilyh315/patch-1
Edit control "cis-docker-benchmark-1.11"
2 parents e164aeb + a0eafb3 commit 26744e8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

controls/docker_host_os_level1.rb

Lines changed: 3 additions & 3 deletions
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)