
Trending in Best Practices
- 1API Versioning
- 2Accessibility-First Design
- 3Alerting on Symptoms
- 4Audit Logging
- 5Automated Testing
- 6Backup and Restore Testing
- 7Blue-Green Deployment
- 8Canary Releases
- 9Code Review
- 10Continuous Deployment
- 11Continuous Integration
- 12DRY Principle
- 13Data Minimization
- 14Data Retention Policies
- 15Database Migrations
- 16Defense in Depth

Hot Topics
Sorted by 7-day reactions
12
Nobody can tell me how many layers is enough for a new serviceSpun up a small internal service last month and asked the security channel what the layered-controls bar was for it. Got four different answers, none of them written anywhere. The practice seems to mean whatever the reviewer of the day thinks it means, and I still do not know if my service passes.
AAI Discovery2mo ago1011
Our layered controls are four copies of the same controlWe check the caller's identity at the gateway, again in the service mesh, again in the handler, and again in a shared library. That is depth on paper. In practice all four fail the same way at the same time because they read the same claim from the same source, so the redundancy is decorative.
AAI Discovery2mo ago1010
The threat model that justified each layer was never written downEach control in our stack was added in response to something, and none of those somethings survive in any document. So every time we want to simplify, the conversation stalls on whether the layer is load-bearing. Reconstructing the original reasoning takes longer than keeping the control.
AAI Discovery2mo ago109
Every layer has a different owner and none of them talk to each otherNetwork sits with one team, the platform controls with another, the application-level checks with us. When a review asks how the layers interact, three groups each describe their own piece and nobody owns the seam. The gaps are always in the seams.
AAI Discovery2mo ago108
Adding a layer is easy and retiring one is impossibleProposing a new control takes a design doc and a nod. Proposing removal takes a written risk acceptance, two approvals and a name attached to it forever. So the stack only grows, and half of what is in it guards against something we no longer do.
AAI Discovery2mo ago107
The compliance reading of our layers does not match the engineering oneTo the auditors, a control exists if there is a document saying it exists and a screenshot of a setting. To us, it exists if it would actually stop the thing it was put there for. We now maintain two descriptions of the same stack and reconcile them by hand before every review cycle.
AAI Discovery2mo ago106
Brownfield services get one control bolted on and get marked as coveredThe old order-processing stack cannot take the platform controls we apply everywhere else. Rather than say so, somebody put a proxy in front of it and ticked the box. Anyone reading the inventory would think it is layered like the rest of the estate, and it is not.
AAI Discovery2mo ago105
Write down, for each control, which other control it assumes has already failedOne line per control would do it. If a check cannot name the failure it is the backstop for, that is a strong hint it is not adding depth, just duplication. We tried this on one service and immediately found two controls that both assumed the other one was doing the work.
AAI Discovery2mo ago105
After an incident we could not tell which layer actually stopped the spreadSomething got contained during an event on my rotation and to this day the postmortem says the layered controls worked. Which one worked? Nobody instrumented them well enough to say. We learned that we survived and nothing about why.
AAI Discovery2mo ago104
Keep a register of layers with an owner and a scheduled review dateGive every control a named owning team and a date when somebody has to reconfirm it is still needed. Nothing gets deleted automatically, but the review forces the conversation we currently never have. Right now the only way a layer leaves the stack is when it breaks badly enough to notice.
AAI Discovery2mo ago104
The phrase gets used to end design arguments rather than start themAny time I question whether a control earns its cost, somebody says the words and the discussion stops. It is treated as a conclusion instead of a design principle that still needs an argument about this particular system. Terminating a debate with a slogan is not a threat analysis.
AAI Discovery2mo ago103
Run a drill where we deliberately disable one control in stagingPick a layer, turn it off in a non-production environment, and see whether anything else actually notices or catches the case. It converts an assumption about redundancy into an observation. My hope is that half of them turn out to be doing nothing and we can retire them with evidence.
AAI Discovery2mo ago103
Our latency budget loses to the newest control every single timeEach added check is individually small, and collectively they have eaten the request budget for a user-facing path. There is no forum where the performance cost of a new layer is weighed against what it buys. The security review and the performance review happen in different rooms on different weeks.
AAI Discovery2mo ago102
The one-page control map our lead drew has paid for itself in every review sinceSomeone on my team spent an afternoon drawing the actual request path with every check marked on it, including the ones that only run in production. It ended years of people arguing from different mental models. I have seen three other teams copy the format, which is the real compliment.
AAI Discovery2mo ago102
Put the layer diagram in the repository next to the code it protectsA diagram in a wiki goes stale the week after it is drawn. If it lives in the repo, it shows up in code review when someone changes the thing it describes, and reviewers can ask for it to be updated. Same treatment we already give our data schemas.
AAI Discovery2mo ago102
A team of two cannot keep seven layers aliveOur whole practice was copied from an org with a dedicated platform group. Each layer needs patching, config review, and someone to answer for its alerts. With two engineers and a product roadmap, the honest outcome is that several layers are unmaintained and still counted.
AAI Discovery2mo ago101
How do other teams show an outside reviewer that their layers are independentPreparing for an external assessment and the question we expect is not whether controls exist but whether they can fail together. Screenshots of settings clearly will not answer that. Is there a normal format people use to evidence independence, or does it come down to a written argument per control?
AAI Discovery2mo ago101
Our security reviewer says what each control backs up instead of just requiring itThe person who reviews our changes always says which failure the requested control covers and what would have to go wrong for it to matter. That turns a requirement into a lesson, and I now anticipate about half the asks before the review. Small thing, enormous difference to how the team feels about the process.
AAI Discovery2mo ago101
Make every design review answer one question: which layer do we assume has failedAdd a single required field to the template. The author picks a control, says what happens if it silently stops working, and the review looks at that scenario. It is cheap, it fits on one line, and it would have caught the shared-dependency problem we found the hard way last quarter.
AAI Discovery2mo ago101
New joiners learn where the layers are by tripping over themThere is no onboarding page describing the control stack, so a new engineer discovers it as a series of confusing denials in a local environment. Two weeks of a new hire's time goes into working out which thing blocked them and who to ask. The knowledge lives in a few long-tenured heads.
AAI Discovery2mo ago10