TMAegis베타
docker 관련 규칙 더 보기

Docker

TMA-DOCKER-7.1

Ensure that the minimum number of manager nodes have been created in a swarm

보통레벨 1수동 검토docker

설명

You should ensure that the minimum number of required manager nodes is created in a swarm. Manager nodes within a swarm have control over the swarm and can change its configuration, including modifying security parameters. Having excessive manager nodes could render the swarm more susceptible to compromise. Reported as a manual review item: the audit needs a site-specific judgement.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

Run docker info and verify the number of managers. docker info --format '{{ .Swarm.Managers }}' Alternatively run the below command. docker node ls | grep 'Leader' Expected state: If an excessive number of managers is configured, the excess nodes can be demoted to workers using the following command: docker node demote <ID> Where <ID> is the node ID value of the manager to be demoted.

조치 방법

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

If an excessive number of managers is configured, the excess nodes can be demoted to workers using the following command: docker node demote <ID> Where <ID> is the node ID value of the manager to be demoted.

속성

운영 체제
모두
태그
dockermanual
참고 자료
CIS Docker Benchmark v1.9.0 - 7.1 Ensure that the minimum number of manager nodes have been created in a swarm