Obtain an API token
Before sending events from GitLab, contact Cortex XCOR Support to obtain an API token to authenticate with Cortex XCOR.This API token differs from an API token that’s generated when you create
a service account.
Create a GitLab webhook
To send GitLab events to Cortex XCOR:- In GitLab, create a webhook scoped to your project or group.
-
In the URL field, enter
https://TENANT.chronosphere.io/api/v1/data/events/receiver/gitlab - In the Secret token field, enter the API token you obtained from Cortex XCOR Support.
- In the Trigger section, select the events to trigger the webhook. Cortex XCOR supports only Deployment events and Feature flag events.
- Click Add webhook to create the webhook.