SV-235813r627566_rule
V-235813
SRG-APP-000141
DKER-EE-002080
CAT I
10
This fix only applies to the use of Docker Engine - Enterprise on a Linux host operating system.
Do not use --privileged option in docker exec command.
A reference for the docker exec command can be found at https://docs.docker.com/engine/reference/commandline/exec/.
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.
Ensure the default seccomp profile is not disabled, if applicable.
via CLI:
Linux: As a trusted user on the host operating system, use the below command to filter out docker exec commands that used --privileged option.
sudo ausearch -k docker | grep exec | grep privileged
If there are any in the output, then this is a finding.
V-235813
False
DKER-EE-002080
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.
Ensure the default seccomp profile is not disabled, if applicable.
via CLI:
Linux: As a trusted user on the host operating system, use the below command to filter out docker exec commands that used --privileged option.
sudo ausearch -k docker | grep exec | grep privileged
If there are any in the output, then this is a finding.
M
5281