Containers run with a default set of capabilities as assigned by the Container Runtime. Capabilities are parts of the rights generally granted on a Linux system to the root user.
In many cases applications running in containers do not require any capabilities to operate, so from the perspective of the principal of least privilege use of capabilities should be minimized.
MutatingWebhookConfiguration, Namespace, ValidatingWebhookConfiguration
Do not generally permit containers with capabilities
List the policies in use for each namespace in the cluster, ensure that at least one policy requires that capabilities are dropped by all containers.
Review the use of capabilites in applications runnning on your cluster. Where a namespace contains applicaions which do not require any Linux capabities to operate consider adding a policy which forbids the admission of containers which do not drop all capabilities.
Pods with containers require capabilities to operate will not be permitted.
By default, there are no restrictions on the creation of containers with additional capabilities
Updated 12 days ago