← detection engineer

Detection-as-Code — Git, CI, Tests, Deployment

intermediate 4h

Structure a detection repository with PR-based authoring, automated linting, unit tests, and CI deployment pipelines.

After this module you will

  • Explain why version control is foundational to detection engineering
  • Design a detection repo layout with rules/, tests/, and environment configs
  • Write unit, integration, and regression tests for a detection rule
  • Build a GitHub Actions pipeline that lints, tests, converts, and deploys rules
  • Evaluate the Elastic detection-rules and panther-analysis repo patterns

Module Quiz

Test your knowledge before moving on.

Take Quiz →