Skip to content

Kubernetes RBAC Analyzer

Resolve Kubernetes Role, ClusterRole, RoleBinding, ClusterRoleBinding, and subject relationships locally; trace permission sources and review broad access.

Local input limit: 5 MB · Processing timeout: 10 s

Analyze Kubernetes RBAC manifests

Paste related Role, ClusterRole, RoleBinding, and ClusterRoleBinding resources. DecodeLens resolves only the supplied manifests and shows why each subject receives a permission.

RBAC YAML or JSON

0 KB

RBAC analysis

RBAC analysis

Resolved subjects, bindings, permission rules, source relationships, and focused findings will appear here.

Did DecodeLens help?

Support the continued development of independent, browser-local developer tools.

Trace permission sources without connecting to a cluster

The analyzer links subjects to bindings, resolves supplied roles, preserves namespace scope, and shows the exact rule path behind each grant.

What this result does not prove

  • The tool does not contact Kubernetes, run SubjectAccessReview, or read live API discovery and admission configuration.
  • A finding is a review signal, not proof of exploitability. A clean result is not proof of least privilege.
  • Only supplied roles and bindings participate in the graph; missing built-in or aggregated roles remain unresolved.
  • The manifests stay in this browser and are processed in a disposable worker with bounded document, resource, rule, subject, grant, finding, and time limits.

Continue with tools that decode, convert, inspect, or verify the same data.

Review RBAC before applying manifests

Paste the related roles and bindings together, inspect critical/high findings, then select a subject to trace each grant back to its binding and role.

Input

Role + RoleBinding + subjects

Review

subject → binding → role → permission rules

Kubernetes RBAC Analyzer FAQ

Can this answer what a user can do?

It resolves permissions from the supplied manifests. A complete cluster answer also requires live roles, authorizer configuration, admission behavior, and other cluster context.

Does it connect to my Kubernetes cluster?

No. It parses the pasted or selected files locally and performs no cluster, DNS, or network request.

Why is an aggregated ClusterRole partial?

aggregationRule selects other ClusterRoles by labels. Without the complete selected role set, the final rule list cannot be reconstructed truthfully.

Are the manifests uploaded?

No. Parsing and relationship analysis run in a disposable browser worker and manifest content is not included in analytics.