SECOPS

Route security-labeled GitLab MRs to the right reviewer pool

When a merge request gains a security label, classify the sensitivity from the diff and assign it to the matching reviewer group.

CategorySecOps
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitLab MR label added or changedGitLabGitLab
  • LogicKeep only security-namespace labels
  • ActionFetch MR diff and changed pathsGitLabGitLab
  • LogicMap label + paths to reviewer pool
  • ActionAssign reviewer group and apply routed labelGitLabGitLab
  • OutputPost routing decision to security channelSlack

What it does

Watches GitLab merge requests for security labels (`security`, `security::crypto`, `security::authn`, `security::pii`). When one appears, it reads the diff, decides which specialist pool should own the review, assigns those reviewers on the MR, and announces the routing in Slack.

When to use it

Use it when your repos carry mixed-sensitivity changes and a single review queue keeps misrouting crypto, auth, or data-handling diffs to generalists. It guarantees the right eyes land on the right code path without a human triaging every MR.

How it works

  1. 1A GitLab webhook fires on merge request label changes.
  2. 2A filter passes only MRs whose labels match a security namespace.
  3. 3The flow pulls the MR changes and maps touched paths and label to a reviewer group (crypto, identity, or data).
  4. 4It calls GitLab to assign that group as reviewers and apply a `routed` label.
  5. 5It posts the MR link, chosen pool, and matched files to the security Slack channel so the on-call lead can see coverage.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect GitLabRepos, MRs, pipelines, registry.
  2. 2
    Connect SlackChannels, DMs, threads, mentions.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    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.