Topic: User Audit
  • I Let an AI Audit 3,000 Oracle Accounts. 41 Failed Logins, Still Open. — Hi again, this one is about the part of DBA work nobody enjoys: the user audit. Locked accounts, people who left years ago, passwords from 2017, service accounts on the wrong profile, failed logins nobody ever looked at. I gave an AI read-only access to an Oracle database with almost 3,000 accounts, asked it six plain questions, and turned the answers into one HTML report for the security team. The headline finding: 219 failed logins in the lab, and the account with the most of them (41 tries) never locked, because its profile allows unlimited attempts. Nobody got a ticket. Below is how I set it up, what I asked, what I expected, what I got, and where the AI (and I) slipped. 1. The test environment, command by command Piece What I used Database Oracle AI Database 26ai Free (23.26.3) in Docker, PDB FREEPDB1, port on 127.0.0.1 only AI client VS Code + Copilot Chat in agent mode Door into the database SQLcl MCP server ( sql -mcp ), read-only by instruction Report One Pyt...