Audit /etc/docker.

This test is skipped auditd is not installed!


As well as auditing the normal Linux file system and system calls, you should also audit all Docker related files and directories. The Docker daemon runs with root privilege and its behavior depends on some key files and directories, one of these being /etc/docker. This holds various certificates and keys used for TLS communication between Docker daemon and Docker client and as such it should be audited. [1]

You should add a rule for the /etc/docker directory.

Add the line below to the /etc/audit/audit.rules file:

-w /etc/docker -k docker

Then restart the audit daemon:

sudo systemctl restart auditd