Skip to main content

Slack

This notifier can send messages to a Slack channel for incident lifecycle events (from Internal and/or Public Monitoring) and honeytoken alerts.

You can connect Slack in two modes:

  • Incident thread (Recommended): installs the GitGuardian Slack app on your workspace via OAuth. Every event about an incident is grouped into a single thread, so your channel doesn't get flooded and the full history of an incident stays in one place. ⚠️ Not available yet, coming soon.
  • Webhook: quick to set up. Each event is posted as a new, separate message.

Set up with Incident thread mode

  1. Open the Slack notifier configuration, select your Team, then choose Incident thread instead of Webhook. 1

  2. Under Workspace, select Add new to connect a Slack workspace. If a workspace is already connected, skip to step 4. 2

  3. You're redirected to Slack to install the GitGuardian Notifier app. Review the requested permissions, viewing your channels and workspace info, and posting messages in the channels you choose, then select Allow. 3

  4. Back in GitGuardian, select the Workspace you just connected and the Channel where you want alerts posted, then select Next. 4

  5. On the Events tab, name the notifier and select which Internal monitoring, Public monitoring, and Honeytoken events to subscribe to, then select Submit.
    5

  6. Once the notifier is saved, open its row menu (⋮) and select Send test message to confirm the app can post to the channel before relying on it. 6

note

Uninstalling the GitGuardian app from your Slack workspace (from Slack's own app settings) also breaks the integration on GitGuardian's side. Your notifier configuration flags the workspace as disconnected, repeat the connection steps above to reconnect it.

Set up with Webhook mode

  1. Visit Slack API: Create an App.

  2. Create a new application for GitGuardian. 1

  3. Enable the Incoming Webhooks feature. 2

  4. Generate a new webhook.
    3

  5. Copy the generated webhook URL.
    4

  6. Paste the webhook URL in the Slack integration section of your GitGuardian dashboard settings. 5

    Team-level configuration:

    • Personal workspace: You can only configure alerting on the 'All-incidents team'.
    • Business workspace: You can configure the integration on any team:
      • Create it within the 'All-incidents team' to receive notifications for all workspace incidents.
      • Create it within a specific team to receive notifications only for that team's incidents.

    This can be done directly from the integration page or from the team page.

  7. Select the events you would like to subscribe to and receive.

Events

You can subscribe to the following events from GitGuardian Internal Monitoring and/or GitGuardian Public Monitoring (if your workspace and team have access to Public Monitoring):

NameDescription
New incident detectedA new incident has been detected.
New occurrence detectedA new occurrence has been detected for this incident.
Incident Validity changedThe validity has been updated for this incident.
Incident status changeTriggered when the status of an incident is updated.
    Incident resolvedThis incident has been resolved.
    Incident ignoredThis incident has been ignored.
    Incident reopenedThis incident has been reopened.
    Incident regressionA new occurrence has been detected by real-time scanning of a connected source for an incident previously marked as resolved (manually or by the auto-resolver).
    Incident Severity changedThe severity has been updated for this incident.
Risk score updated (Business plan)The risk score has been updated for this incident.
Incident assignmentsTriggered when an incident is assigned, reassigned, or unassigned.
    Incident assignedThis incident has been assigned to a user.
    Incident reassignedThis incident has been reassigned to a different user.
    Incident unassignedA user was unassigned from this incident.
Incident accessTriggered when a user's access to an incident changes.
    Incident access grantedA user has been granted access to this incident.
    Incident access revokedAccess to this incident has been revoked for a user.
Publicly sharedTriggered when the public sharing link of an incident changes.
    Incident shared publiclyA user has generated a public sharing link for this incident.
    Incident unshared publiclyA user has deactivated the public sharing link for this incident.
MessagesTriggered when a new message is added to an incident.
    Feedback submittedA feedback has been submitted for this incident.
    New comment on an incidentA new note has been created for this incident.

Filter notifications by incident criteria

You can define filtering rules so this notifier only sends notifications for incidents that match the criteria you choose — by severity, ML risk score, validity, secret type, or GitGuardian tags, on both internal and public monitoring incidents. If you don't set any rule, every incident is notified (the default).

See Filter notifications by incident criteria for the full list of criteria and important notes on notification timing.