Workload misconfigurations

Ensure auditing is configured for Docker files and directories – /etc/docker/daemon.json (Automated)

Risk Level

Informational (4)

  • N/A

Compliance Frameworks


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 privileges and its behavior depends on some key files and directories. /etc/docker/daemon.json is one such file. This holds various parameters for the Docker daemon, and as such it should be audited.
  • Recommended Mitigation

    You should add a rule for the /etc/docker/daemon.json file. For example: Add the line: '-w /etc/docker/daemon.json -k docker' to the /etc/audit/audit.rules file. Then, restart the audit daemon using the following command: systemctl restart auditd