Detection as Code: Streamlining Security Operations with Terraform
summary
Describes a concrete Detection-as-Code pipeline that uses Terraform + Datadog + CI/CD: rule templates with message/query/options, importing DataDog out‑of‑box rules, and tagging each rule (source:terraform, source:custom). Implements crawl/walk/run stages—local Terraform, shared remote state, then automated weekly deployments with drift detection and self‑healing. Uses Datadog audit logs to alert when non‑Terraform changes occur and recommends managing suppression rules as Terraform resources; example threshold: alert when a username appears 10+ times.
AI-written summary · about
chapters (12)
- 0:00Introduction to detection
- 1:09Professional background
- 2:21Program goals
- 3:37Organizational readiness
- 5:28Traditional pain points
- 8:02The detection as code model
- 9:19Supporting technologies
- 12:05Crawl phase demonstration
- 22:33Walk and run phases
- 26:45Hybrid alert strategy
- 28:31Conclusion and call to action
- 29:55Q&A session
