ENGINEERING

Triage new Sentry security issues into a GitLab review-ready issue

When Sentry flags a new high-severity error tagged as security, this drafts a triaged summary with OpenAI, opens a labeled GitLab issue assigned to the security reviewer group.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerSentry alert: new high-severity security issueSentrySentry
  • ActionFetch full issue detail and events from SentrySentrySentry
  • ActionDraft a triage summary with OpenAIOpenAI
  • ActionOpen a labeled GitLab issue for the reviewer groupGitLabGitLab
  • OutputNotify the security team in SlackSlack

What it does

Reacts to new high-severity Sentry issues that carry a security tag. It pulls the stack trace and event context, uses OpenAI to write a concise triage summary with a likely-affected-area guess and severity rationale, then opens a GitLab issue pre-labeled `security` and assigned to the reviewer group — so the fix MR lands with an owner already attached.

When to use it

Use it when security-relevant production errors need to become tracked, owned work fast, and you want the triage write-up and routing done automatically instead of an engineer copy-pasting Sentry into a ticket at 2am.

How it works

  1. 1A Sentry alert fires on a new high-severity, security-tagged issue.
  2. 2The flow fetches the full issue detail and recent events from Sentry.
  3. 3OpenAI produces a triage summary: probable cause, affected area, and severity.
  4. 4The flow opens a GitLab issue with the `security` label and assigns the reviewer group.
  5. 5A Slack message notifies the team with the issue link and the triage summary.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SentryErrors, performance, releases.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect GitLabRepos, MRs, pipelines, registry.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.