Open Source GitOps for Detection Engineering
Where
Ground Floor
BSides Las Vegas
Duration
47 min
Shows how to manage detection rules as code in Git using osquery, Fleet, and Matano with reviewed pull requests.
Summary
Detection engineering is often done by hand through consoles and alert triage, which makes changes hard to track and review. The talk argues for treating detections like software: keep rules in text files under version control and push them through pull requests. It frames this as detection as code, borrowing the configuration-as-code idea from DevOps.
The talk assembles an open source stack. osquery exposes system data across Mac, Linux and Windows as SQL tables. Fleet deploys osquery at scale, schedules its queries from YAML, and ships results to S3. Matano, a serverless security data lake on AWS, ingests those logs and runs Python detections that carry metadata such as runbooks, false positive notes and ATT&CK mapping. A live demo adds a query that flags SSH daemons listening on a non-standard port. A reviewer approves the pull request, and a CI job applies the Fleet and Matano configuration in under a minute.
Practical takeaways include requiring approvals so changes get a second look and leave an audit trail, and restricting UI edits or running scheduled syncs to limit configuration drift. Testing and validation should accompany each detection, and repetitive response steps are worth automating. The Q&A covered where to find starter queries and how osquery's watchdog stops runaway queries from hurting endpoint performance.
Related talks
Talks·31 min
Mathieu Le Cleach
Shows how a team turns vendor-neutral Sigma detection rules into SIEM queries through a git-based pipeline.
Ground Floor·25 min
Neerja Sonawane · Kiran Shirali
Shows how eBay replaced a costly third-party SIEM with open-source Kafka, Flink and Hadoop for near real-time detection.
Main Stage·27 min
Ezz Tahoun
Shows how machine learning can group, deduplicate and enrich security logs before SIEM ingestion, cutting volume and stitching alerts into attack stories.


