Workload misconfigurations

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

Risk Level

Informational (4)

  • N/A

Compliance Frameworks


As well as auditing the normal Linux file system and system calls, you should 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/default/docker is one such file. It holds various parameters related to the Docker daemon and should therefore be audited.
  • Recommended Mitigation

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