SV-235823r627596_rule
V-235823
SRG-APP-000176
DKER-EE-002400
CAT II
10
If initializing swarm, use the below command.
docker swarm init --autolock
If setting --autolock on an existing swarm manager node, use the below command.
docker swarm update --autolock
Ensure swarm manager is run in auto-lock mode.
via CLI:
Linux: As a Docker EE Admin, follow the steps below using a Universal Control Plane (UCP) client bundle:
Run the below command. If it outputs the key, it means swarm was initialized with the --autolock flag.
docker swarm unlock-key
If the output is no unlock key is set, it means that swarm was NOT initialized with the --autolock flag and this is a finding.
V-235823
False
DKER-EE-002400
Ensure swarm manager is run in auto-lock mode.
via CLI:
Linux: As a Docker EE Admin, follow the steps below using a Universal Control Plane (UCP) client bundle:
Run the below command. If it outputs the key, it means swarm was initialized with the --autolock flag.
docker swarm unlock-key
If the output is no unlock key is set, it means that swarm was NOT initialized with the --autolock flag and this is a finding.
M
5281