An auditor asks: "Show me who changed production last Tuesday and who approved it." Can you answer? How should it work?

BeginnerScenarioSecurity incidents
Answer

Situation read → If every change goes through Git and a pipeline, this is a five-minute query. If people click in the console, it's guesswork.

What I'd do →

  1. App and config changes: the Git history of the GitOps repo shows the commit, the PR, the reviewer, and the pipeline run that deployed it.
  2. Infra changes: Terraform applied only from CI, with the plan attached to the PR and an approval in a protected environment.
  3. Anything else: CloudTrail (organisation trail to a locked S3 bucket in a log archive account) and the Kubernetes audit log.
gh pr list --repo acme/gitops --state merged --search "merged:2026-11-03" \
  --json number,title,author,mergedBy,reviews
  1. Close the gaps: branch protection with required reviews, no direct prod access except break-glass, and alerts on console changes in prod.

Why → Auditors want a provable chain: request → review → approval → deploy → log.

Interview tip → Say "Git is our change log"; it connects GitOps to compliance, which interviewers like.

All Real-World Interview questions Roadmap: Interview readiness

More on Security incidents