{ “id”: “4.1.4”, “text”: “If proxy kubeconfig file exists ensure ownership is set to root:root (Manual)”, “audit”: “/bin/sh -c ‘if test -e \(proxykubeconfig; then stat -c %U:%G \)proxykubeconfig; fi’”, “tests”: {
"bin_op": "or",
"test_items": [
{
"flag": "root:root"
},
{
"flag": "$proxykubeconfig",
"set": false
}
]
},
“remediation”: “Run the below command (based on the file location on your system) on each worker node.\nFor example, chown root:root $proxykubeconfig”,
“scored”: false
}
内容由零声教学AI助手提供,问题来源于学员提问




