TMAegisБета
Другие правила для docker

Docker

TMA-DOCKER-1.1.3

Ensure auditing is configured for the Docker daemon

СреднийУровень 1Автоматическаяdocker

Описание

Auditing the Docker daemon binary /usr/bin/dockerd records changes and use of a security-critical Docker component, supporting incident investigation. The audit lists the loaded kernel audit rules (auditctl -l, needs root) and looks for a watch on /usr/bin/dockerd. Not applicable when the Docker daemon binary /usr/bin/dockerd is not present.

Как проверяется

Метод проверки: Команда оболочки

shell
out=$(auditctl -l 2>/dev/null) || exit 1; printf '%s\n' "$out" | grep -q -e '/usr/bin/dockerd' && echo compliant || echo missing
Ожидаемый вывод
compliant

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

Add '-w /usr/bin/dockerd -k docker' to /etc/audit/rules.d/docker.rules, then load it with 'augenrules --load' (or restart auditd).

Свойства

Операционные системы
Любая
Теги
dockerauditdhost
Источник
CIS Docker Benchmark v1.9.0 - 1.1.3 Ensure auditing is configured for the Docker daemon

Проверить этот хост

Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.

shell
tmaegis scan --target docker