Skip to main content
Sync Harbor alert events to Flashduty through webhook.

In Flashduty On-call

Create Harbor alert integration

You can get the integration push URL in either of the following ways.

Use a dedicated integration

Choose this option if all alerts go to one channel. It’s the simpler setup.
  1. In the Flashduty console, select Channel and open a channel
  2. Select Configuration → Integrations → Private integration, then click Add integration
  3. Choose Harbor integration and click Save to generate a card
  4. Open the generated integration card and copy the Push URL

Use a shared integration

Choose this option if you need to route alerts to different channels based on the alert payload.
  1. In the Flashduty console, go to Integration Center → Alert Events
  2. Select Harbor integration:
    • Integration Name: Define a name for this integration
  3. Configure the default route and select a channel. You can add more rules under Routing after creation
  4. Click Save and copy the generated Push URL

Configure Harbor

1

Add a webhook to a Harbor project

Where: Harbor › Projects › select a project › Webhooks › New WebhookSign in to Harbor with an account that has at least project administrator privileges.Click Add to create the webhook.
2

Verify

Where: Harbor › Projects › select a project › WebhooksConfirm the new webhook is enabled, then trigger a subscribed event in the project, for example push an image to it (if you subscribed to Push artifact to registry). Go back to Flashduty: when the integration shows a Latest event time, the setup works.

Status and severity

Currently, all alerts pushed to Flashduty through the Harbor integration are set to Warning severity. However, you can customize the severity using the alert pipeline. Each Harbor webhook event creates its own alert (the Alert Key is random), so alerts never merge and there is no recovery event; close them manually or enable auto-close on timeout on the channel.