The Slack integration delivers investigation findings to a Slack channel using an incoming webhook. It is the simplest of the three messaging integrations to configure — one URL, one channel.Documentation Index
Fetch the complete documentation index at: https://opensre.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A Slack workspace where you can create or install apps (workspace admin or app-install permissions).
- The channel you want findings posted to.
Step 1: Create a Slack incoming webhook
- Visit https://api.slack.com/apps and click Create New App → From scratch.
-
Name the app (e.g.
OpenSRE) and pick your workspace. - In the left sidebar, open Incoming Webhooks and toggle the feature On.
- Click Add New Webhook to Workspace.
- Pick the channel where findings should be posted and click Allow.
-
Copy the generated URL. It has three path segments — a workspace ID, a channel/app binding ID, and a per-webhook secret — for example:
Treat this URL like a password — anyone holding it can post to your channel. If your workspace already has a Slack app you want to reuse, you can add a new webhook to it instead of creating a fresh app; the URL format is the same.
Step 2: Configure the integration in OpenSRE
You have two equivalent paths:- Direct setup command (recommended)
- Manual env var
- Onboarding wizard
~/.config/opensre/integrations.json.Step 3: Verify
passed — but this only confirms the webhook URL is configured. It does not post anything to Slack. To also confirm delivery actually works, add the --send-slack-test flag:
Environment variables
| Variable | Description |
|---|---|
SLACK_WEBHOOK_URL | Incoming webhook URL. Required for delivery. |
Troubleshooting
error: webhook_url is required. from opensre integrations setup slack
The setup command was given an empty value. Re-run and paste the full URL including the https:// prefix.
invalid_payload or channel_not_found from Slack
The webhook URL was created against a channel that has since been archived or renamed in a way that broke the binding. Create a new webhook in the Slack app settings and replace SLACK_WEBHOOK_URL.
Findings posted to the wrong channel
A webhook is bound to the channel it was created against. To change channels, create a new webhook in Slack pointed at the new channel and update SLACK_WEBHOOK_URL.
Webhook returns no_service
The Slack app or webhook was deleted. Re-create it and update the URL.
Tracer