TMAegisベータ
docker のその他のルール

Docker

TMA-DOCKER-1.1.6

Ensure auditing is configured for Docker files and directories - /etc/docker

中レベル 1自動docker

説明

Auditing the /etc/docker directory 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 /etc/docker. Not applicable when the /etc/docker directory is not present.

チェック方法

監査方法: シェルコマンド

shell
out=$(auditctl -l 2>/dev/null) || exit 1; printf '%s\n' "$out" | grep -q -e '/etc/docker' && echo compliant || echo missing
期待される出力
compliant

修正方法

修正方法: ガイダンスまたは IaC パッチ

Add '-w /etc/docker -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.6 Ensure auditing is configured for Docker files and directories - /etc/docker

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target docker