Skip to main content
Skip table of contents

How to Check Webhooks Traffic - Self-Managed Repository Integrations

This article explains how to check the webhooks traffic for self-hosted Developer Integrations: GitHub Enterprise and GitLab Server. The webhook traffic needs to be checked if you are triggering scans but do not see anything logged in the controller log (no webhooks are intercepted). 

 

Finding Webhooks Traffic in GitHub Enterprise:

  1. Trigger a scan to generate webhooks traffic. To do this, update the .whitesource file in any of the onboarded repositories by simply adding a blank line to the file and committing it to the branch

  2. While logged into GitHub Enterprise navigate to Settings > Developer settings > GitHub Apps

  3. Click “Edit” on the Mend for GitHub Enterprise app

  4. Select the “Advanced” tab located in the left-hand side menu

  5. Analyze the webhooks under the “Recent Deliveries” section as shown in the screenshot below:

Finding Webhooks Traffic in GitLab:

  1. Trigger a scan to generate webhooks traffic. To do this, update the .whitesource file in any of the onboarded repositories by simply adding a blank line to the file and committing it to the branch

  2. While logged into GitLab, navigate to Menu > Admin > System Hooks

  3. Click “Edit” on the URL you use for your GitLab integration. This is located under the “System Hooks” section at the bottom of the screen

  4. If you see the "No webhook events" message after clicking on “Edit”, please go back to step 1 and trigger a scan:

    5.

  5. To see the details of events, click on the “View details” hyperlink in the “Recent events” section:

  6. Analyze the details of the request as indicated in the screenshot below:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.