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

How do you prepare your cloud environment for incident response before anything happens?

AdvancedProductionCompliance as Code, Threat Modeling & Incident Response
Answer
  • A dedicated forensics account with tooling (analysis instances, memory tools) and no connectivity to production.
  • Pre-created IR roles in every account (read-only investigator, containment role) assumable by the security team, tested regularly.
  • Centralised, immutable logs with enough retention.
  • Automation to snapshot volumes and share them to the forensics account (create-snapshot, modify-snapshot-attribute), with KMS key policies that allow it.
  • Quarantine security groups and a quarantine NetworkPolicy template ready in each environment.
  • Runbooks tested in game days.

Without this preparation, the first hours of an incident are lost to access requests.

All DevSecOps questions Roadmap: Policy as code

More on Compliance as Code, Threat Modeling & Incident Response