# alcideio/rbac-tool

Rapid7 | insightCloudSec | Kubernetes RBAC Power Toys - Visualize, Analyze, Generate & Query

Repository: https://github.com/alcideio/rbac-tool
Canonical: https://ross.abutalabs.com/products/rbac-tool
Language: Go
License: Apache-2.0
License Family: permissive
Topics: kubernetes, rbac, least-privilege, k8s-cluster, kubernetes-rbac, kubernetes-api, who-can, cluster, permissions, podsecuritypolicies, krew-plugin, access-control, security, kubectl-plugin, kubectl, rapid7, authorization, whoami, acl
Last push: 2025-02-13T20:57:41+00:00

## Health v2 (maintenance only)
Score: 26/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 6, release rhythm 8, longevity 100
- inputs: {"age_days": 2355, "days_push": 566, "days_rel": 673, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1083, forks 72 (observed 2026-08-28T04:03:31.307629+00:00)

## What it is
A kubectl plugin and standalone CLI that simplifies Kubernetes RBAC by visualizing, analyzing, generating, and querying RBAC policies. It helps identify overly permissive principals, generate least-privilege roles from audit events, and answer 'who can' questions about cluster permissions.

## Use cases
- analyze kubernetes rbac permissions for overly permissive roles
- find out who can access a kubernetes resource
- generate least-privilege role yaml without wildcards
- generate rbac policies from kubernetes audit logs
- list all policy rules for a service account
- lookup rbac permissions by user or group name
- audit kubernetes cluster access control

## When to choose
- you manage kubernetes RBAC and need to audit or reduce permissions
- you want a kubectl plugin to answer who-can-do-what questions
- you need to generate minimal Role/ClusterRole definitions from audit events

## When to avoid
- you need RBAC management for non-Kubernetes systems
- you want a GUI dashboard for cluster-wide security posture rather than a CLI tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: authorization, security, cli
- domain: security, developer-tools
- platform: cli, cross-platform, go
- tags: kubernetes, rbac, kubectl-plugin, krew, least-privilege, access-control, policy-generation, rbac-analysis, containers

## Member repositories
- alcideio/rbac-tool (main) score 26

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:31.307629+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:50:20.810815+00:00, confidence not recorded.
  - readme: https://github.com/alcideio/rbac-tool (fetched 2026-08-28T04:03:31.307629+00:00, sha 3feee2800b09)
- Data as of 2026-08-30T08:39:29.467469+00:00.
