Skip to main content
GitGuardian finds secrets leaked in your code and raises each one as an incident. Connect it to incident.io and every GitGuardian incident becomes an incident.io alert, so you can route it to a team, escalate to whoever is on call, and open an incident when one matters.

Step 1: create the alert source

  1. Go to Alerts in your incident.io dashboard and select the Sources tab.
  2. Press Create source, search for GitGuardian, and continue.
  3. Give it a name.
The setup page shows a Webhook URL to paste into GitGuardian. Keep it open for the next step.

Step 2: connect GitGuardian

In GitGuardian:
  1. Open the Custom webhook settings and press Add integration.
  2. On the Configuration tab, choose the team whose incidents should alert, and paste the Webhook URL from incident.io.
  3. On the Events tab, name the subscription, turn on Internal monitoring, tick New incident detected, Incident has new occurrence and Incident status change, and press Submit.
Refer to GitGuardian’s custom webhook documentation for details of the payload.

How alerts behave

  • Title and description. The alert title is GitGuardian(#<incident ID>): <detector>, such as GitGuardian(#31542): Generic Password. The description adds the severity and validity, and the alert links back to the incident in GitGuardian.
  • Deduplication. New occurrences and status changes for the same GitGuardian incident update one alert.
  • Resolution. The alert resolves when the GitGuardian incident is resolved or ignored.
  • Attributes. Use the GitGuardian team, severity or kind of secret to set alert attributes, for example to page only for high severity leaks.

Step 3: check it works

In GitGuardian, open the webhook’s menu and choose Send test message. This creates a real alert named GitGuardian(#123): Fake Key on the alert source page in incident.io within a few seconds. If nothing arrives, check Recent requests on that page. Every request GitGuardian sent is listed there, including any that were rejected, with the reason.
Can’t find the alert source you are looking for? Head to our integrations page or message us at support@incident.io.