turbot/kubernetes_compliance
Loading controls...

Control: Pod Security Policy should prohibit containers to run with privilege access

Description

Pod Security Policy `privileged` controls whether the Pod containers may run with `privileged` access. Containers in a Pod should not have privileged access. To prevent security issues, it is recommended that you do not run privileged containers in your environment. Instead, provide granular permissions and capabilities to the container environment. Giving containers full access to the host can create security flaws in your production environment.

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.pod_security_policy_container_privilege_disabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run kubernetes_compliance.control.pod_security_policy_container_privilege_disabled --share

SQL

This control uses a named query:

pod_security_policy_container_privilege_disabled

Tags