For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

The --auto-tls argument is set to True misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC_K8S_118

Category - Subcategory

Kubernetes - Native Security Controls

Provider

OTHER

Severity

HIGH

Framework

Helm, Kubernetes, Kustomize

Impact

Do not use self-signed certificates for TLS. 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.

How to Fix

Kind: Pod [source,go]

{ "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

    • --auto-tls=true image: k8s.gcr.io/etcd-amd64:3.2.18", }


Last updated

Was this helpful?