github alcideio/rbac-tool v0.7.0

latest releases: v1.14.1, v1.14.0, v1.13.0...
2 years ago



A collection of Kubernetes RBAC tools to sugar coat Kubernetes RBAC complexity


curl | bash

Command Line Examples

# Scan the cluster pointed by the kubeconfig context 'myctx'
rbac-tool viz --cluster-context myctx

# Scan and create a PNG image from the graph
rbac-tool viz --outformat dot --exclude-namespaces=soemns && cat | dot -Tpng > rbac.png && google-chrome rbac.png
# Render Online

# Search All Service Accounts That Contains myname
rbac-tool lookup -e '.*myname.*'

# Generate a `ClusterRole` policy that allows to read everything **except** *secrets* and *services*
rbac-tool  gen  --deny-resources=secrets.,services. --allowed-verbs=get,list

Don't miss a new rbac-tool release

NewReleases is sending notifications on new releases.