Home / Blog / Story #17
Operational Playbook • Engineering Methodology Julian Morrisette • 6 min read

Why You Should Never Automate a Security Process Until You’ve Done It by Hand

Mastering Security Workflows Manually by Hand Before Automating

When engineers are handed a repetitive compliance or security task, the first instinct is almost always to start building a tool immediately. Every time I have watched someone automate a security workflow they have never personally executed by hand, the result is the same: they build a fast, polished machine that confidently produces the wrong answers.

The First Rule of Meaningful Automation:
Doing a task manually is not wasted time—it is your requirements discovery phase. Until you have traced the configurations, opened the group rosters, and reconciled the edge cases with your own eyes, you do not actually know what your automation needs to check.

1. The "Clean Data" Illusion

On a whiteboard, a security assessment sounds deceptively simple: find the services in scope, list who has access, verify their employment and management chain, check build policies, and review open vulnerabilities. If you write an automation based on that whiteboard summary, you assume the underlying data is clean and self-explanatory.

When you sit down and perform the review manually first, you immediately discover where reality diverges from the whiteboard:

  • Non-Production Noise Masquerading as Production Scope: A naive search for an application's configuration files will pull in development, testing, staging, and QA environments alongside real production configs. When you inspect those files by hand, you realize that failing to filter out non-production paths before evaluating access controls will flood your audit with false positives—flagging developer test groups that never touch live production data.
  • Naming Conventions That Don't Match Reality: Group names and service labels often reflect how a team was organized three years ago, not what the group actually controls today. Tracing the permissions manually teaches you to verify what a group is actually bound to rather than trusting its title.

2. Spotting Subtle Edge Cases Only a Human Notices First

Manual execution forces you to ask "Wait, why does this record look like that?" Those moments of friction are where your best engineering rules come from:

  • Nested Exclusions vs. Sibling Inheritance: While manually tracing a multi-layered access group, you might notice that a user was explicitly excluded from one subgroup, yet still holds active standing access to the parent group through a second sibling subgroup. If you hadn't traced that tree by hand, you would never know to test how your automation handles overlapping inclusion and exclusion rules.
  • Policy Tags That Actively Block Access: Sometimes a principal appears in a group listing on paper, but an overarching security policy tag actively denies that principal from authenticating or accessing sensitive data. Doing the review by hand teaches you to distinguish between effective access and explicitly denied entries.

3. Earning the Right to Automate

Once you have completed the process by hand, something powerful happens: you have a known-good ground truth. When you move to Stage 2 (building an interactive web application) and Stage 3 (orchestrating the workflow with AI skills), you don't have to guess whether your tool is working. You can run your new automation against the exact system you just audited by hand and verify that every single count, classification, and finding matches your manual baseline 100%.