TMAegisBêta
Plus de règles pour docker

Docker

TMA-DOCKER-2.2

Ensure network traffic is restricted between containers on the default bridge

MoyenneNiveau 1Automatiséedocker

Description

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

Méthode de vérification

Méthode d'audit: Commande shell

shell
docker network inspect bridge --format '{{index .Options "com.docker.network.bridge.enable_icc"}}'
Sortie attendue
false

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

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.

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
dockerdaemonnetwork
Référence
CIS Docker Benchmark v1.9.0 - 2.2 Ensure network traffic is restricted between containers on the default bridge

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target docker