"remediation":"Follow the etcd service documentation and configure TLS encryption.\nThen, edit the etcd pod specification file /etc/kubernetes/manifests/etcd.yaml\non the master node and set the below parameters.\n--cert-file=</path/to/ca-file>\n--key-file=</path/to/key-file>\n",
"test_info":[
"Follow the etcd service documentation and configure TLS encryption.\nThen, edit the etcd pod specification file /etc/kubernetes/manifests/etcd.yaml\non the master node and set the below parameters.\n--cert-file=</path/to/ca-file>\n--key-file=</path/to/key-file>\n"
"expected_result":"'--cert-file' is present AND '--key-file' is present"
}
]
}
],
"total_pass":7,
"total_fail":0,
"total_warn":0,
"total_info":0
},
{
"id":"3",
"version":"1.5",
"text":"Control Plane Configuration",
"node_type":"controlplane",
"tests":[
{
"section":"3.1",
"pass":0,
"fail":0,
"warn":1,
"info":0,
"desc":"Authentication and Authorization",
"results":[
{
"test_number":"3.1.1",
"test_desc":"Client certificate authentication should not be used for users (Not Scored)",
"audit":"",
"AuditConfig":"",
"type":"manual",
"remediation":"Alternative mechanisms provided by Kubernetes such as the use of OIDC should be\nimplemented in place of client certificates.\n",
"test_info":[
"Alternative mechanisms provided by Kubernetes such as the use of OIDC should be\nimplemented in place of client certificates.\n"
],
"status":"WARN",
"actual_value":"",
"scored":false,
"expected_result":"",
"reason":"Test marked as a manual test"
}
]
}
],
"total_pass":0,
"total_fail":0,
"total_warn":3,
"total_info":0
},
{
"id":"1",
"version":"1.5",
"text":"Master Node Security Configuration",
"node_type":"master",
"tests":[
{
"section":"1.1",
"pass":15,
"fail":1,
"warn":5,
"info":0,
"desc":"Master Node Configuration Files",
"results":[
{
"test_number":"1.1.1",
"test_desc":"Ensure that the API server pod specification file permissions are set to 644 or more restrictive (Scored)",
"audit":"/bin/sh -c 'if test -e /etc/kubernetes/manifests/kube-apiserver.yaml; then stat -c permissions=%a /etc/kubernetes/manifests/kube-apiserver.yaml; fi'",
"AuditConfig":"",
"type":"",
"remediation":"Run the below command (based on the file location on your system) on the\nmaster node.\nFor example, chmod 644 /etc/kubernetes/manifests/kube-apiserver.yaml\n",
"test_info":[
"Run the below command (based on the file location on your system) on the\nmaster node.\nFor example, chmod 644 /etc/kubernetes/manifests/kube-apiserver.yaml\n"