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