Skip to content

Commit ca9579b

Browse files
committed
update docs
1 parent 6a95c3b commit ca9579b

98 files changed

Lines changed: 151 additions & 3989 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: "Harbor Alert Events"
3+
description: "Sync Harbor alert events to Flashduty via webhook for automated alert noise reduction"
4+
date: "2024-07-05T10:00:00+08:00"
5+
url: "https://docs.flashcat.cloud/en/flashduty/volcengine-tls-integration-guide"
6+
---
7+
8+
Sync Harbor alert events to Flashduty via webhook for automated alert noise reduction.
9+
10+
<div class="hide">
11+
12+
## In Flashduty
13+
---
14+
You can obtain an integration push URL through either of these two methods:
15+
16+
### Using Private Integration
17+
18+
Choose this method when you don't need to route alert events to different channels - it's simpler.
19+
20+
<details>
21+
<summary>Expand</summary>
22+
23+
1. Go to the Flashduty console, select **Channel**, and enter a channel's details page
24+
2. Select the **Integrations** tab, click **Add Integration** to enter the integration page
25+
3. Choose **Harbor** integration and click **Save** to generate a card
26+
4. Click the generated card to view the **Push URL**, copy it for later use, and you're done
27+
28+
</details>
29+
30+
### Using Shared Integration
31+
32+
Choose this method when you need to route alerts to different channels based on the alert event payload.
33+
34+
<details>
35+
<summary>Expand</summary>
36+
37+
1. Go to the Flashduty console, select **Integration Center=>Alert Events** to enter the integration selection page
38+
2. Select **Harbor** integration:
39+
- **Integration Name**: Define a name for this integration
40+
3. Configure the default route and select the corresponding channel (after the integration is created, you can go to `Route` to configure more routing rules)
41+
4. Click **Save** and copy the newly generated **push URL** for later use
42+
5. Done
43+
44+
</details>
45+
</div>
46+
47+
## In Harbor
48+
---
49+
50+
### Configure Webhooks
51+
52+
1. Log in to the Harbor interface with an account that has at least project administrator privileges.
53+
2. Go to `Projects`, select a project, and select `Webhooks`.
54+
3. Select notify type `HTTP`, so the webhook will be send to a HTTP endpoint.
55+
4. Select payload format as `Default or CloudEvents` when choose the HTTP notify type.
56+
5. Select events that you want to subscribe.
57+
6. Enter the alert integration's <span class='integration_url'>PUSH URL</span> in the Endpoint URL field.
58+
7. Click Add to create the webhook.
59+
60+
## Severity Mapping
61+
---
62+
63+
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](https://docs.flashcat.cloud/en/flashduty/alert-pipelines).
64+

flashduty/zh/1. On-call/2. 协作空间/1. 创建与编辑.md

Lines changed: 0 additions & 154 deletions
This file was deleted.

flashduty/zh/1. On-call/2. 协作空间/2. 集成数据.md

Lines changed: 0 additions & 150 deletions
This file was deleted.

0 commit comments

Comments
 (0)