turbot/kubernetes_compliance
Loading controls...

Control: ClusterRoles permissions to bind RoleBindings or ClusterRoleBindings should be minimized

Description

Minimize the permissions granted to bind RoleBindings or ClusterRoleBinding. It is recommended to follow the principle of least privilege to enhance security.

Usage

Run the control in your terminal:

powerpipe control run kubernetes_compliance.control.role_with_bind_cluster_role_bindings

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

role_with_bind_cluster_role_bindings

Tags