MCPInstall
permiflow logo

permiflow

by tutran-se 47 stars tutran-se/permiflow

Scan RBAC, flag risks, export reports, track history, detect drift — with a read-only CLI and optional MCP server for AI tools.

READMEmain

Permiflow

Release Latest Version Homebrew Scoop Go Report Card Go Reference License


🚀 What is Permiflow?

Permiflow is a zero-mutation CLI tool that scans Kubernetes RBAC bindings and generates structured, human-readable reports. Built for security teams, platform engineers, and auditors.

  • No CRDs. No agents. No API writes.
  • Markdown, CSV, and JSON output
  • Risk-aware diff detection between scans
  • Safe for production clusters

📄 Documentation

All documentation has been moved into the docs/ directory:

GuideDescription
Getting StartedInstall, scan, and compare in minutes
ConceptsUnderstand RBAC, access bindings, and risk levels
(cmd) ScanHow to scan your cluster and save results
(cmd) DiffCompare two scans and detect permission drift
(cmd) Generate RoleSafely build secure Role or ClusterRole YAML
(cmd) ResourcesExplore Kubernetes API resources and verbs
(cmd) History & MetadataTrack and audit scans over time
Report FormatsMarkdown, JSON, CSV explained
Risk ModelHow Permiflow classifies HIGH, MEDIUM, LOW
MCP ServerExpose RBAC scanning via JSON-RPC for automation
Cursor IntegrationUse Permiflow in Cursor IDE
ExamplesCommon CLI workflows and automation patterns
Configuration ReferenceAll flags and environment variables
FAQCommon questions answered

🛠️ Install

go install github.com/tutran-se/permiflow@latest

For Homebrew and Scoop options, see Getting Started.


🌐 License

MIT © Tutran SE. Built with care for Kubernetes security engineers.