SV-260939r966174_rule
V-260939
SRG-APP-000342-CTR-000775
CNTR-MK-001200
CAT II
10
When using Kubernetes orchestration, this check is Not Applicable.
When using Swarm orchestration, review and remove nonsystem containers previously created by these users without the runAsGroup using:
docker container rm [container]
When using Kubernetes orchestration, this check is Not Applicable.
When using Swarm orchestration, ensure that the PIDs cgroup limit is used.
Log in to the CLI as an MKE Admin and execute the following command using a Universal Control Plane (MKE) client bundle:
docker ps --quiet --all | xargs docker inspect --format '{{ .Id }}: UsernsMode={{ .HostConfig.UsernsMode }}'
Ensure it does not return any value for UsernsMode. If it returns a value of "host", that means the host user namespace is shared with the containers, and this is a finding.
V-260939
False
CNTR-MK-001200
When using Kubernetes orchestration, this check is Not Applicable.
When using Swarm orchestration, ensure that the PIDs cgroup limit is used.
Log in to the CLI as an MKE Admin and execute the following command using a Universal Control Plane (MKE) client bundle:
docker ps --quiet --all | xargs docker inspect --format '{{ .Id }}: UsernsMode={{ .HostConfig.UsernsMode }}'
Ensure it does not return any value for UsernsMode. If it returns a value of "host", that means the host user namespace is shared with the containers, and this is a finding.
M
5595