SV-260923r966126_rule
V-260923
SRG-APP-000141-CTR-000315
CNTR-MK-000560
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 that allowed capabilities to be added or must be removed using:
docker container rm [container]
When using Kubernetes orchestration this check is Not Applicable.
When using Swarm orchestration, via CLI:
Linux: Execute the following command as a trusted user on the host operating system:
docker ps --quiet --all | xargs docker inspect --format '{{ .Name }}: CapAdd={{ .HostConfig.CapAdd }} CapDrop={{ .HostConfig.CapDrop }}'
The command will output all Linux Kernel Capabilities.
If Linux Kernel Capabilities exceed what is defined in the System Security Plan (SSP), this is a finding.
V-260923
False
CNTR-MK-000560
When using Kubernetes orchestration this check is Not Applicable.
When using Swarm orchestration, via CLI:
Linux: Execute the following command as a trusted user on the host operating system:
docker ps --quiet --all | xargs docker inspect --format '{{ .Name }}: CapAdd={{ .HostConfig.CapAdd }} CapDrop={{ .HostConfig.CapDrop }}'
The command will output all Linux Kernel Capabilities.
If Linux Kernel Capabilities exceed what is defined in the System Security Plan (SSP), this is a finding.
M
5595