Interview Prep/DevSecOps/Cloud IAM and Compliance

An auditor asks you to prove that all production changes in the last year were reviewed. How do you produce it?

IntermediateScenarioCloud IAM and Compliance
Answer

Situation read → If deploys only come from merged PRs, evidence is a query. If people deploy by hand, you have a gap.

What I'd do →

  1. Export merged PRs to main with approvers via GitHub API: gh pr list --state merged --base main --limit 1000 --json number,mergedAt,reviews.
  2. Match deployments (Argo CD history, CI deploy jobs) to PR commits.
  3. Show branch protection settings and their history (audit log) to prove no bypass.
  4. List exceptions (break-glass deploys) with their post-review tickets.
  5. Show CloudTrail to prove there were no console changes outside the pipeline, or explain the ones found.

Why → A control is only as good as its evidence trail.

Interview tip → Say "every prod change maps to a PR, an approver and a pipeline run".

All DevSecOps questions Roadmap: Policy as code

More on Cloud IAM and Compliance