TMAegis
docker için daha fazla kural

Docker

TMA-DOCKER-2.2

Ensure network traffic is restricted between containers on the default bridge

OrtaDüzey 1Otomatikdocker

Açıklama

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).

Nasıl denetlenir

Denetim yöntemi: Kabuk komutu

shell
docker network inspect bridge --format '{{index .Options "com.docker.network.bridge.enable_icc"}}'
Beklenen çıktı
false

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

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.

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
dockerdaemonnetwork
Referans
CIS Docker Benchmark v1.9.0 - 2.2 Ensure network traffic is restricted between containers on the default bridge

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target docker