
If you have ever had to manually audit a Cisco ACI fabric, you know how painful it is to click through endless tenants, VRFs, EPGs, and contracts just to hunt down a stray wildcard filter or an accidental vzAny exposure. That is the exact headache I wanted to solve with my new open source project, ACI Audit and Fix: https://github.com/main-salman/aci-audit-and-fix. I built it as a “ChatOps to GitOps” platform that brings AI speed to network security auditing without committing the cardinal sin of letting an LLM blindly mutate a production network.
Under the hood, I wired up Cisco DevNet’s Always On ACI Sandbox (along with a built in zero trust demo fabric) to a Model Context Protocol (MCP) server powered by Groq’s super fast Llama 3.3 70B inference. Instead of staring at walls of dry JSON, the NOC/SOC dashboard gives you an interactive Apache ECharts force directed topology graph. As it maps out your Tenants, VRFs, EPGs, and Contracts in real time, any CIS Benchmark violations like cleartext Telnet or HTTP rules, cross tenant global scope leaks, or unenforced VRFs literally glow red with animated pulses. You can click any offending node to inspect its APIC Distinguished Name and immediately see what is broken.
My favorite part of the whole build is the safety net. When you are ready to fix a violation, the AI does not just fire off rogue API calls to your APIC. Instead, it stages declarative CiscoDevNet/aci Terraform HCL and immediately validates it against Open Policy Agent (.rego) guardrails and GitHub Actions CI. Right inside the dashboard, you get a side by side GitOps diff viewer showing the generated Terraform code, the Before and After APIC JSON state, and individual OPA rule verdicts. It gives you all the convenience of AI driven remediation with the strict, auditable peace of mind of a proper GitOps pipeline.
I also tried to make getting it running as painless as possible. Just drop your Groq API key into .env and run ./start.sh to spin up the dashboard locally. Because I included a standalone MCP stdio entrypoint, you can even plug its five ACI auditing tools directly into Claude Desktop or Cursor if you prefer working out of your own AI workspace. If you are a network engineer or SecOps pro curious about what practical, safe AI automation actually looks like in the real world, check out the repo on my GitHub and let me know what you think.
Leave a Reply