SV-235833r627626_rule
V-235833
SRG-APP-000358
DKER-EE-003320
CAT II
10
via CLI:
Linux: As a trusted user on the host operating system, open the /etc/docker/daemon.json file for editing. If the file doesn't exist, it must be created.
Set the "log-driver" property to one of the following: "syslog", "awslogs", "splunk", "gcplogs", "logentries" or "<plugin>" (where <plugin> is the naming of a third-party Docker logging driver plugin). Configure the "log-opts" object as required by the selected "log-driver" to ensure log aggregation is configured.
Save the file. Restart the docker daemon.
Configure the selected log system to send Docker events to a log aggregation server or SIEM.
via CLI:
Linux: Execute the following commands as a trusted user on the host operating system:
cat /etc/docker/daemon.json
Verify that the "log-driver" property is set to one of the following: "syslog", "awslogs", "splunk", "gcplogs", "logentries" or "<plugin>" (where <plugin> is the naming of a third-party Docker logging driver plugin).
Ask the sys admin to demonstrate how the login driver that is being used is configured to send log events to a log aggregation server or SIEM.
If "log-driver" is not set and configured to send logs to an aggregation server or SIEM, then this is a finding.
V-235833
False
DKER-EE-003320
via CLI:
Linux: Execute the following commands as a trusted user on the host operating system:
cat /etc/docker/daemon.json
Verify that the "log-driver" property is set to one of the following: "syslog", "awslogs", "splunk", "gcplogs", "logentries" or "<plugin>" (where <plugin> is the naming of a third-party Docker logging driver plugin).
Ask the sys admin to demonstrate how the login driver that is being used is configured to send log events to a log aggregation server or SIEM.
If "log-driver" is not set and configured to send logs to an aggregation server or SIEM, then this is a finding.
M
5281