container/kubernetes

Free catalog · v0.0.13

Reviews Kubernetes manifests for workload isolation, selector integrity, RBAC, and image safety.

Checks

RuleSeverityScans for
kubernetes.allow-privilege-escalationHighallowPrivilegeEscalation not set false (defaults true) on containers that also add capabilities or run as root
kubernetes.cluster-admin-bindingCriticalRoleBinding/ClusterRoleBinding references cluster-admin for a workload ServiceAccount
kubernetes.host-pathHighVolume mounts host filesystem via hostPath
kubernetes.host-pid-or-networkCriticalPod shares host PID, IPC, or network namespace
kubernetes.mutable-imageHighProduction image reference uses :latest or untagged floating tag without digest
kubernetes.privilegedCriticalContainer or pod runs with privileged: true
kubernetes.run-as-rootHighA Pod or Pod-template workload explicitly selects UID 0 for an effective container security context
kubernetes.secret-in-configmapHighConfigMap data carries credential-shaped values (passwords, tokens, keys)
kubernetes.selector-template-mismatchHighA workload's spec.selector.matchLabels cannot match its pod template labels
kubernetes.sys-admin-without-drop-allHighSYS_ADMIN is added without dropping default capabilities
kubernetes.wildcard-rbacHighRole/ClusterRole grants verbs: ["*"] and resources: ["*"]

More from the registry