Ensure the --client-cert-auth argument is set to True
Error: The --client-cert-auth argument is not set to True
Bridgecrew Policy ID: BC_K8S_90
Checkov Check ID: CKV_K8S_117
Severity: MEDIUM
The --client-cert-auth argument is not set to True
Description
Enable client authentication on etcd service. etcd is a highly-available key value store used by Kubernetes deployments for persistent storage of all of its REST API objects. These objects are sensitive in nature and should not be available to unauthenticated clients. You should enable the client authentication via valid certificates to secure the access to the etcd service.
Fix - Buildtime
Kubernetes
- Kind: Pod
apiVersion: v1
kind: Pod
metadata:
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
creationTimestamp: null
labels:
component: etcd
tier: control-plane
name: etcd
namespace: kube-system
spec:
containers:
- command:
+ - etcd
+ - --client-cert-auth=true
image: k8s.gcr.io/etcd-amd64:3.2.18
Updated about 1 year ago