jue / examples /k8s_pss.json
Jue1Dev's picture
Jue: open-weight calibrated decision model for cybersecurity
d259245
Raw History Blame Contribute Delete
1.1 kB
{
"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"
}