Docker
TMA-DOCKER-2.2
Ensure network traffic is restricted between containers on the default bridge
中レベル 1自動docker
説明
By default all containers on the default bridge can talk to each other without restriction. The audit reads the com.docker.network.bridge.enable_icc option of the default "bridge" network, which must be false (set by "icc": false).
チェック方法
監査方法: シェルコマンド
shell
docker network inspect bridge --format '{{index .Options "com.docker.network.bridge.enable_icc"}}'- 期待される出力
false
修正方法
修正方法: ガイダンスまたは IaC パッチ
Set "icc": false in /etc/docker/daemon.json (or start dockerd with --icc=false) and restart the Docker daemon; use user-defined networks and --link for containers that must communicate.
プロパティ
- オペレーティングシステム
- すべて
- タグ
- dockerdaemonnetwork
- 参照
- CIS Docker Benchmark v1.9.0 - 2.2 Ensure network traffic is restricted between containers on the default bridge
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target docker