STIGQter STIGQter: STIG Summary: Red Hat OpenShift Container Platform 4.x Security Technical Implementation Guide Version: 2 Release: 6 Benchmark Date: 01 Jul 2026:

OpenShift must protect log directory from any type of unauthorized access by setting owner permissions.

DISA Rule

SV-257531r960930_rule

Vulnerability Number

V-257531

Group Title

SRG-APP-000118-CTR-000240

Rule Version

CNTR-OS-000290

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Correct log directory ownership by executing the following:

for node in $(oc get node -oname); do oc debug $node -- chroot /host /bin/bash -c 'echo -n "$HOSTNAME "; chown root:root /var/log/' 2>/dev/null; done

Check Contents

Verify the "/var/log" directory is group-owned by root by executing the following command:

for node in $(oc get node -oname); do oc debug $node -- chroot /host /bin/bash -c 'echo -n "$HOSTNAME "; stat -c "%G" /var/log' 2>/dev/null; done

If "root" is not returned as a result, this is a finding.

Vulnerability Number

V-257531

Documentable

False

Rule Version

CNTR-OS-000290

Severity Override Guidance

Verify the "/var/log" directory is group-owned by root by executing the following command:

for node in $(oc get node -oname); do oc debug $node -- chroot /host /bin/bash -c 'echo -n "$HOSTNAME "; stat -c "%G" /var/log' 2>/dev/null; done

If "root" is not returned as a result, this is a finding.

Check Content Reference

M

Target Key

5547