SV-235803r627536_rule
V-235803
SRG-APP-000141
DKER-EE-001970
CAT II
10
This fix only applies to the use of Docker Engine - Enterprise on a Linux host operating system and should be executed on all nodes in a Docker Enterprise cluster.
Remove SSH packages from all Docker base images in use in the user's environment.
This check only applies to the use of Docker Engine - Enterprise on a Linux host operating system and should be executed on all nodes in a Docker Enterprise cluster.
Verify that no running containers have a process for SSH server.
via CLI:
for i in $(docker ps -qa); do echo $i; docker exec $i ps -el | grep -i sshd;done
Container not running errors are not a finding.
If running containers have a process for SSH server, this is a finding.
V-235803
False
DKER-EE-001970
This check only applies to the use of Docker Engine - Enterprise on a Linux host operating system and should be executed on all nodes in a Docker Enterprise cluster.
Verify that no running containers have a process for SSH server.
via CLI:
for i in $(docker ps -qa); do echo $i; docker exec $i ps -el | grep -i sshd;done
Container not running errors are not a finding.
If running containers have a process for SSH server, this is a finding.
M
5281