Control: PodTemplate containers should not use CAP_SYS_ADMIN Linux capability
Description
This check ensures that the container in the PodTemplate does not use CAP_SYS_ADMIN Linux capability.
Usage
Run the control in your terminal:
powerpipe control run kubernetes_compliance.control.pod_template_container_sys_admin_capability_disabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run kubernetes_compliance.control.pod_template_container_sys_admin_capability_disabled --share
SQL
This control uses a named query:
pod_template_container_sys_admin_capability_disabled