Interview Prep/DevSecOps/Compliance as Code, Threat Modeling & Incident Response

How does GitOps help with change management for audits?

BeginnerProductionCompliance as Code, Threat Modeling & Incident Response
Answer

Every production change is a Git commit, merged through a reviewed PR, and applied by an automated controller. That gives auditors:

  • Who requested the change (author), who approved it (reviewer), when it was applied (controller sync).
  • Segregation of duties enforced by branch protection (author cannot approve their own PR).
  • A complete history and easy rollback.

Combine this with removing direct kubectl write access in production, so Git is the only path.

All DevSecOps questions Roadmap: Policy as code

More on Compliance as Code, Threat Modeling & Incident Response