Skip to main content

GitLab Integration Webhook Template

Last updated on

Configure GitLab integration to receive repository and pipeline event notifications in Harness AI SRE.

Overview

GitLab provides:

  • Repository events: Push, merge request, and tag notifications
  • Pipeline events: CI/CD pipeline status and failures
  • Deployment events: Track deployment outcomes
  • Issue tracking: Monitor issue and merge request activity
  • Security scanning: Receive security vulnerability alerts

Set up GitLab integration

Complete these steps to connect GitLab to Harness AI SRE:

  1. Navigate to Integrations in the main menu
  2. Click New Integration
  3. Select GitLab from the template options
  4. Enter a name and generate an ID
  5. Copy the generated webhook URL
  6. In your GitLab project settings, add a webhook pointing to the copied URL
  7. Configure payload mapping to match GitLab event fields to Harness AI SRE fields
  8. Set up route alerts to route and filter incoming GitLab events

Next steps