STIGQter STIGQter: STIG Summary: Docker Enterprise 2.x Linux/UNIX Security Technical Implementation Guide Version: 2 Release: 1 Benchmark Date: 23 Apr 2021:

log-opts on all Docker Engine - Enterprise nodes must be configured.

DISA Rule

SV-235786r627485_rule

Vulnerability Number

V-235786

Group Title

SRG-APP-000090

Rule Version

DKER-EE-001370

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Execute this fix on all Docker Engine - Enterprise nodes in the cluster.

via CLI:

Linux: Execute the following commands as a trusted user on the host operating system:

Open "/etc/docker/daemon.json" for editing.

Set the "log-opts" object and its "max-size" and "max-file" properties accordingly.

Save the file. Restart the Docker daemon.

Check Contents

Verify this check on all Docker Engine - Enterprise nodes in the cluster.

via CLI:

Linux: Execute the following commands as a trusted user on the host operating system:
Note: daemon.json file does not exist by default and must be created. Refer to https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file for all options.

cat /etc/docker/daemon.json

Verify that the "log-opts" object includes the "max-size" and "max-file" properties and that they are set accordingly in the output.

If the "log-opts" object does not include the "max-size" and "max-file" properties and/or are not set accordingly, then this is a finding.

Vulnerability Number

V-235786

Documentable

False

Rule Version

DKER-EE-001370

Severity Override Guidance

Verify this check on all Docker Engine - Enterprise nodes in the cluster.

via CLI:

Linux: Execute the following commands as a trusted user on the host operating system:
Note: daemon.json file does not exist by default and must be created. Refer to https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file for all options.

cat /etc/docker/daemon.json

Verify that the "log-opts" object includes the "max-size" and "max-file" properties and that they are set accordingly in the output.

If the "log-opts" object does not include the "max-size" and "max-file" properties and/or are not set accordingly, then this is a finding.

Check Content Reference

M

Target Key

5281

Comments