Step 1: create the alert source
- Go to Alerts in your incident.io dashboard and select the Sources tab.
- Press Create source, search for GitGuardian, and continue.
- Give it a name.
Step 2: connect GitGuardian
In GitGuardian:- Open the Custom webhook settings and press Add integration.
- On the Configuration tab, choose the team whose incidents should alert, and paste the Webhook URL from incident.io.
- 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.
How alerts behave
- Title and description. The alert title is
GitGuardian(#<incident ID>): <detector>, such asGitGuardian(#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
resolvedorignored. - 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 namedGitGuardian(#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.