Workload misconfigurations

Ensure auditing is configured for Docker files and directories – docker.socket (Automated)

Risk Level

Informational (4)

Platform(s)
  • N/A

Description

As well as auditing the normal Linux file system and system calls, you should also audit the Docker daemon. Because this daemon runs with root privileges, it is very important to audit its activities and usage. Its behavior depends on some key files and directories with docker.socket being one such file, and as this holds various parameters for the Docker daemon, it should be audited.
  • Recommended Mitigation

    If the file /etc/audit/audit.rules exists, you should add a rule for it, then restart the audit daemon.