Security Automation Evolved: From SlackOps to Programmatic SIEM Triage (Part 1/2)
Sourcegraph's security team built SecBot, a Slackbot that enriches SIEM alerts with context from Entitle JIT permissions, Okta, Google Workspace, GCP asset metadata and threat intel, so alerts can be triaged and closed from Slack via emoji reactions. After migrating detections from Elastalert regex hacks to Elastic Security, the bot templates alerts with full fields and fetches GCP descriptions at alert time rather than syncing state into Elasticsearch. Auto-close rules are written in expr-lang, a Go expression library, with custom runtime functions such as on-call lookups and project labels. Example: auto-closing changes to internal instances or by on-call Platform engineers, while still posting them to Slack for visibility.
Related posts
- Streamlining Security Investigations with Agents
Slack Engineering mediumAdeptSlack's Security Engineering team replaced a single-prompt prototype for triaging security alerts with a multi-agent system that chains narrowly scoped model invocations, each constrained by a JSON-schema structured output. A Director agent questions four domain experts (Access, Cloud, Code, Threat), and a Critic scores their findings against a rubric and builds a timeline from the most credible ones. The investigation moves through discovery, trace and conclude phases. A "knowledge pyramid" assigns low-, medium- and high-cost models to experts, critic and director respectively to manage token spend. A hub, worker and dashboard architecture supports real-time observation and integration with existing detection tools, and an example shows the Critic catching a credential exposure the expert had missed.
- Lessons on UX, security, and scale when building an enterprise-grade Slack agent
Sourcegraph mediumAdept
Sourcegraph's Deep Search Slack agent fits into enterprise workflows through staged status messages (emoji acknowledgement, escalation links for long searches), TL;DR answers with threaded follow-ups, and rich link unfurling via Slack's link_shared events, SHA256-based entity IDs, chat.unfurl work objects and flexpane details. On the enterprise side it supports Enterprise Grid's one-app-to-many-workspaces model, auto-links Slack users to Sourcegraph accounts by verified email so permissions match code access, and validates setup by forcing a fresh Slack event-URL ping with a random retry parameter. Abuse is controlled with simple Redis fixed-window counters per user and team that fail open if Redis is down.
- What is ClickHouse Security? A technical overview of the agentic SIEM built on ClickHouse
ClickHouse mediumAdept
ClickHouse Security is an agentic SIEM, built from RunReveal technology and now in private preview, that stores security logs in a customer's ClickHouse Cloud service. It ingests from 120+ cloud, identity and SaaS sources via webhook, API polling with watermarks, or object storage. Built-in pipelines filter, enrich and normalize the logs to an OCSF-like schema while keeping the raw log. Detections run as scheduled ClickHouse SQL or streaming Sigma rules managed as code through a CLI and GitHub Action, and results land in queryable signals and alerts tables. Investigations collect timeline artifacts, and AI agents triage alerts, tune detections and answer plain-language queries by writing SQL, using bring-your-own LLM keys plus an MCP server, API and Slack bot.
- How we're using Sourcegraph and a Slack bot to detect vulnerabilities and react quickly
Sourcegraph mediumAdept
Sourcegraph built a Slack bot that polls the GitHub Advisory Database every 15 minutes, triages advisories with CVSS, Hacker News buzz and a high-reach package list plus supply-chain keywords, and on a single 🚀 reaction generates detection queries, a blog scaffold, social drafts and an auto-edited Deep Search demo video. The design avoids an orchestrator. It uses JSON incident descriptors and one-shot Node scripts, auto-commits inert manifests to a private indexed demo repo through a narrowly scoped PAT, and parks borderline advisories for 12 hours to prevent alert fatigue. An ffmpeg scene-detection, burst-clustering and anchor-filtering pipeline cut a 210-second capture to 19 seconds of content. Putting a 'DO NOT INSTALL' note in the manifest made Deep Search discard the match as synthetic, so the disclosure was moved to the repo README.
- Blueberry: Force Multiplier For The On-Call Engineer
Instacart Tech mediumAdeptBlueberry is Instacart's Slack-native on-call reasoning harness. It auto-triages alerts in the thread where the team is already coordinating and averaged about 3 minutes time-to-first-insight across roughly 17k triages in April 2026. Engineer-initiated theory checks also averaged about 3 minutes. Diagnostic passes run on a Postgres-backed durable queue, and a processor composes team profiles, skills and three MCP surfaces (in-process, shared server, team-hosted) into one tool catalog. A dynamic agent loop fans out parallel sub-agents across historical postmortems and live signals while the harness enforces persistence, reasoning traces and output structure. Worked examples show the system catching a deploy-before-migration SEV2, exonerating a PR via logs, and identifying a recurring partner outage.