TMAegis
docker 관련 규칙 더 보기

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

조치 방법

조치 방식: 가이드 또는 인프라 패치

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