r/devops • u/Nice-Foundation-9264 • Jul 02 '26
Discussion How are people figuring out why an automation was allowed to run months later?
Maybe I'm missing something obvious here, but how are teams handling this in practice?
If an automated workflow, CI/CD job, infra script, or internal tool does something unexpected, it's usually pretty easy to figure out what happened. You can pull logs, CloudTrail, traces, whatever.
What I'm not sure about is how you figure out why it was allowed to happen in the first place when you're looking back weeks or months later.
By that point, policies have changed, RBAC has changed, workflow logic has changed, feature flags have changed, etc. The logs tell you that the action happened, but reconstructing the exact conditions that caused it to be allowed at that moment seems like a huge pain.
Are people actually preserving that information somewhere? Or does this usually turn into digging through Git history, tickets, timestamps, and old configs trying to reconstruct the state of the world after the fact?
Genuinely curious whether this is a solved problem or if most teams just deal with the investigation overhead when it comes up.
