Workload misconfigurations

Ensure auditing is configured for Docker files and directories – /usr/sbin/runc (Automated)

Risk Level

Informational (4)

Platform(s)
  • N/A

Compliance Frameworks

Description

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. /usr/bin/runc is one such file, and as such it should be audited.
  • Recommended Mitigation

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