mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-03-20 17:36:18 +00:00
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"
This commit is contained in:
parent
4e43c9a9a2
commit
3488c8343d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user