Cortex CloudApplication Security
The --authorization-mode argument does not include RBAC misconfiguration detected in code
Rule Details
Cortex AppSec Rule ID
APPSEC_K8S_77
Category - Subcategory
Kubernetes - Access Control
Provider
OTHER
Severity
LOW
Framework
Helm, Kubernetes, Kustomize
Impact
Turn on Role Based Access Control. Role Based Access Control (RBAC) allows fine-grained control over the operations that different entities can perform on different objects in the cluster. It is recommended to use the RBAC authorization mode.
How to Fix
Kind: Pod [source,go]
{ "apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: component: kube-apiserver tier: control-plane name: kube-apiserver namespace: kube-system spec: containers:
command:
kube-apiserver
--authorization-mode=RBAC,Node image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 ...", }
PreviousThe --authorization-mode argument does not include node misconfiguration detected in code
NextThe admission control plugin SecurityContextDeny is set if PodSecurityPolicy is used misconfiguratio
Last updated
Was this helpful?
