Obtain an API token
Before sending events from Harness, 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 Harness webhook
To send Harness events to Cortex XCOR:- In Harness, create a webhook.
-
Select Add a Notification Rule.
Cortex XCOR supports the following Harness events:
PipelineSuccessPipelineFailedPipelineStart
PipelineStart,PipelineSuccess, andPipelineFailedevents. There can be several hours between aPipelineStartevent and a deployment. Cortex XCOR recommends usingPipelineSuccessorPipelineFailedunless start events are critical information. - Select a Webhook notification method.
-
Enter the following URL:
https://TENANT/api/v1/data/events/receiver/harness -
Click + Add Headers to add the following custom header:
Replace
CHRONOSPHERE_HARNESS_TOKENwith the API token obtained from Cortex XCOR Support. - Click Finish.