allowPrivilegeEscalation

A securityContext setting that, when false, sets no_new_privs so a process cannot gain privileges through setuid programs or file capabilities.

In more detail

Restricted requires it to be false. It closes the path where a non-root process runs a setuid binary to become root.

Example

allowPrivilegeEscalation: false

Related terms

Taught in

References

Certification courses