Get data quickly and easily from across your toolchain into Compass with incoming webhooks. Visualize component events from all your tools in a unified place in real time. Use those events to power metrics and scorecard calculations to get strong guidance toward cultivating and maintaining healthy DevOps practices.
Creating an incoming webhook gives you a unique URL, which you can use to send events from your tools to one or more Compass components. With minor configurations in your tools and linking your Compass components to those tools, you can get the data flowing into Compass. Learn more about incoming webhooks
The configuration steps may vary for different tools. Go to the specific section on this page for the tool you're configuring for incoming webhooks.
After you configure the incoming webhook:
If an app and an incoming webhook for the same tool are configured for your site, Compass only receives events from the app to prevent duplication. Compass resumes receiving events using the incoming webhook when the app is uninstalled or unconfigured.
Ensure you have a full user role in Compass.
You'll need a unique webhook URL to configure into your source tool. You can either create a new incoming webhook or use an existing incoming webhook.
Treat the unique webhook URL like a secret. Be careful who you share it with, and store it like a password.
Compass can get the following events from GitHub (includes GitHub Free, Team, Pro, and Enterprise Cloud) and GitHub Enterprise Server using incoming webhooks:
You can create repository webhooks (as a repository owner or with admin access) and organization webhooks (as an organization owner) on both GitHub and GitHub Enterprise Server.
Repository webhooks can send events only from those repositories to their corresponding Compass components.
Organization webhooks can send events from all repositories within the organization to their corresponding Compass components.
Compass supports GitHub Enterprise Server version 3.11 or higher for use with incoming webhooks.
When creating a new incoming webhook, while on the Configure webhook screen, select Copy webhook URL ().
When reusing an existing incoming GitHub or GitHub Enterprise Server webhook, go to the Incoming webhooks page, find the webhook you want, and select Copy webhook URL () next to it.
Go to GitHub or your GitHub Enterprise Server instance.
Go to Settings > Webhooks in individual repositories or your organization
Add a new webhook.
In the Payload URL field, add the webhook URL you copied in Compass earlier.
From the Content type menu, select application/json.
Under Which events would you like to trigger this webhook?, select Let me select individual events. Then, select one or more supported events:
Add the webhook.
For more details, refer to appropriate GitHub documentation version:
Copy and add the GitHub repository link to the Repositories section on the component's Overview page in Compass.
Repeat for all repositories that you need to link to components.
You'll get events in Compass only when you link repositories to corresponding components.
Compass can get the following events from Bitbucket Cloud using incoming webhooks:
You can create webhooks on Bitbucket Cloud repositories (requires administrator access) to send events from those repositories to their corresponding Compass components.
You can get deployment events from BitBucket repositories by integrating Compass with Bitbucket Cloud, and then adding repository links to Compass components. Learn how to set up Bitbucket Cloud as an event source
When creating a new incoming webhook, while on the Configure webhook screen, select Copy webhook URL ().
When reusing an existing incoming BitBucket Cloud webhook, go to the Incoming webhooks page, find the webhook you want, and select Copy webhook URL () next to it.
Go to your Bitbucket Cloud repository.
Select Repository Settings > Webhooks from the left sidebar
Add a new webhook.
Give it a Title.
In the URL field, add the webhook URL you copied in Compass earlier.
Under Triggers, select one or more supported events:
Choose any other configuration you need and select Save.
For more details, refer to Manage webhooks in the Bitbucket Cloud documentation.
Copy and add the Bitbucket repository link to the Repositories section on the component's Overview page in Compass.
Repeat for all repositories that you need to link to components.
You'll get events in Compass only when you link repositories to corresponding components.
Compass can get the following events from GitLab (includes GitLab SaaS and GitLab Dedicated) and GitLab self-managed instances using incoming webhooks:
Deployment
Build
Push
You can create webhooks in groups or individual projects on both GitLab and GitLab self-managed instances.
A group webhook can send events from all subgroups and projects within the group to their corresponding Compass components
A project webhook can send events only from that project to their corresponding Compass component
Compass supports GitLab self-managed version 16.8 or higher for use with incoming webhooks.
When creating a new incoming webhook, while on the Configure webhook screen, select Copy webhook URL ().
When reusing an existing incoming GitLab or GitLab self-managed webhook, go to the Incoming webhooks page, find the webhook you want, and select Copy webhook URL () next to it.
Go to your project or group in GitLab or your GitLab self-managed instance.
Select Settings > Webhooks from the left sidebar.
Add a new webhook.
Add the webhook URL you copied in Compass earlier in the URL field.
Under Trigger, select one or more supported events:
Deployment event
Push event
Pipeline event (for build events)
Add the webhook.
For the detailed procedure, refer to Webhooks in GitLab documentation.
Copy and add the GitLab project link to the Repositories section on the component's Overview page in Compass.
Repeat for all projects that you need to link to components.
You'll get events in Compass only when you link GitLab projects to corresponding components.
There are a few things you can check:
Check that you've linked the GitHub repository to the Compass component. This step is required for events to appear on the component’s activity feed in Compass.
Check that you selected the correct event types in GitHub — Deployment statuses (for deployment events, Pushes (for push events), and Workflow runs (for build events)in GitHub.
Check that an event has occurred at source.
For more details, refer to appropriate GitHub documentation version:
Check that your GitHub Enterprise Server instance is on version 3.11 or higher.
There are a few things you can check:
Check that you've linked the correct Bitbucket Cloud repository to the Compass component. This step is required for events to appear on the component's activity feed in Compass.
Check that you selected the supported event types for your source tool – Push (for push events), Build status created (for build events), and Build status updated (for build events)
Check that an event has occurred at the source.
There are a few things you can check:
Check that you've linked the correct GitLab project to the Compass component. This step is required for events to appear on the component's activity feed in Compass.
Check that you selected the supported event types for your source tool – Deployment event, Push event, and Pipeline event (for build events).
Review the webhook history and the recent events table to check that events have occurred. For more details, refer to Troubleshooting In GitLab documentation.
Check that your GitLab self-managed instance is on version 16.8 or higher.
Derived metrics are calculated only when the first event is sent to Compass. A metric card is then added to the component.
Check if an app for the same tool as your incoming webhook is configured for your site. If so, Compass only receives events from the app to prevent duplication. Compass resumes receiving events from the incoming webhook when the app is uninstalled.
Rate this page: