From 3488c8343d6844be9f4d313aaf3a2775c3508e57 Mon Sep 17 00:00:00 2001 From: Sathi Dyapa <43857965+dyapas@users.noreply.github.com> Date: Wed, 2 Sep 2020 10:29:57 -0400 Subject: [PATCH] Updating section id 4.6 (#689) - id: 4.6 text: "Verify the scheduler pod specification file ownership set by OpenShift" audit: "stat -c %u:%g /etc/origin/node/pods/controller.yaml" -- (lower case u and g ) it returns the uID and gID in numeric i.e 0:0 not root:root. it supposed to be Uppercase: audit: "stat -c %U:%G /etc/origin/node/pods/controller.yaml" --- cfg/rh-0.7/master.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/rh-0.7/master.yaml b/cfg/rh-0.7/master.yaml index 6ebbc3e..a60162b 100644 --- a/cfg/rh-0.7/master.yaml +++ b/cfg/rh-0.7/master.yaml @@ -895,7 +895,7 @@ groups: - id: 4.6 text: "Verify the scheduler pod specification file ownership set by OpenShift" - audit: "stat -c %u:%g /etc/origin/node/pods/controller.yaml" + audit: "stat -c %U:%G /etc/origin/node/pods/controller.yaml" tests: test_items: - flag: "root:root"