{ "state": { "kind": "Pod", "namespace": "payments-prod", "enforced_profile": "restricted:v1.29", "spec": { "hostNetwork": false, "containers": [ { "name": "ledger-worker", "image": "registry.internal/ledger:2.4.1", "securityContext": { "allowPrivilegeEscalation": false, "runAsNonRoot": true, "capabilities": { "drop": [ "ALL" ], "add": [ "NET_ADMIN" ] } } } ] } }, "questions": { "violating_field": { "type": "choice", "instructions": "Which container field violates the K8s Pod Security 'restricted' profile?", "criteria": { "CAPABILITIES_ADD": "Adding 'NET_ADMIN' violates restricted capability rules.", "HOST_NETWORK": "hostNetwork is set to true.", "PRIV_ESCALATION": "allowPrivilegeEscalation is not set to false.", "NONE_COMPLIANT": "The Pod specification is fully compliant." } }, "admission_allowed": { "type": "noul", "instructions": "Will the Pod Security Admission controller admit this Pod?" } }, "model": "jue-latest" }