Loading...
Loading...
Audit Kubernetes clusters for RBAC excesses, pod security gaps, network policy holes, and supply-chain risks. Use when reviewing cluster configuration or hardening deployments.
npx skill4agent add securityskills/skills kubernetes-security-auditpod-security.kubernetes.io/enforcehostPIDhostNetworkhostPathallowPrivilegeEscalation: truereadOnlyRootFilesystemsecurityContextcluster-adminbindescalateimpersonatecreate podscreate pods/exec*kube-system:latestkubectl get pods -A -o json | jq '[.items[] | select(.spec.containers[].securityContext.privileged==true)]'
kubectl get ns -l pod-security.kubernetes.io/enforce
kubectl auth can-i --list --as=system:serviceaccount:default:default
kubectl get networkpolicy -A