tencent cloud

DokumentasiTencent Cloud EdgeOne

Configuring High-Sensitivity Operation Notifications for Version Management via TCOP

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-06-05 17:27:29
This document describes how to receive real-time notifications when high-sensitivity operations (creating or publishing a version) are performed in EdgeOne version management, using Tencent CloudAudit and TCOP - Event Bus.

Overview

In a multi-user collaborative production/test environment, key version management operations (such as creating a new version or publishing a version to the production/test environment) directly impact business configurations. Failure to promptly detect these operations can make configuration changes untraceable, obscure operational accountability, and increase the difficulty of troubleshooting online failures.
Tencent CloudAudit, TCOP > Event Bus - Event Rules, and Tencent Cloud Message Center work together to enable fully automated monitoring and real-time notification for high-sensitivity operations in version management. The overall workflow is as follows:
CloudAudit (records all API call activities) → Event Bus (filters high-sensitivity operations in version management) → Message Push (via internal messages, SMS, phone calls, or email).

Prerequisites

1. You have added a site and enabled the version management feature in the EdgeOne console.
2. Your current Tencent Cloud account has enabled the Tencent CloudAudit service. CloudAudit records the API call activities of the root account and all sub-accounts by default, requiring no additional configuration.
3. Your current Tencent Cloud account has enabled the TCOP - Event Bus service.

Operation Steps

Step 1: Enable Delivery of Audit Events

1. Log in to the TCOP console. In the left-side navigation pane, choose Event Bus > Event Set. In the upper-left corner, select Guangzhou as the region. Then, go to the default event set.
2. In the Event Source > Audit Event Source card, click Enable Delivery to deliver all API and console write operation audit events from cloud services to the cloud service event set.

Step 2: Create an Event Rule

1. In the left-side menu bar of the TCOP console, choose Event Bus > Event Rules. In the upper-left corner, select Guangzhou as the region. For the event set, select default. Then, click New.
2. On the Event Pattern page, enter the relevant information as prompted:
2.1 In the Basic Information card, enter basic information such as the rule name.
2.2 In the Event Matching area, select Custom Event Pattern and enter the following JSON configuration:
{
"source": [
"teo.cloud.tencent"
],
"type": [
"teo:CloudEvent:ApiCall",
"teo:CloudEvent:ConsoleCall"
],
"data": {
"eventName": [
"CreateConfigGroupVersion",
"DeployConfigGroupVersion"
]
}
}
The description of each field is as follows:
Field
Description
source
Enter teo.cloud.tencent for the event source, indicating that the event source is EdgeOne.
type
Event type. ApiCall represents TencentCloud API operations (delivered via CloudAudit), and ConsoleCall represents console operations (delivered via CloudAudit).
eventName
TencentCloud API interface name, for example, CreateConfigGroupVersion (create a configuration group version) and DeployConfigGroupVersion (deploy a configuration group version). Fill in one or more interface names as needed.
2.3 After confirming that the configuration is correct, click Next.
3. On the Event Target page, enter the relevant information for the target that the event ultimately triggers as prompted:
3.1 Event Bus currently supports the following event targets: SCF, CLS, Message Push, Ckafka, and Elasticsearch. For detailed configuration, refer to Event Target.
3.2 Click Finish to save the configuration.
Note:
When you select the Phone or SMS alarm channels in TCOP, related charges may be incurred and are collected by TCOP.

Step 3: Verify That the Configuration Takes Effect

1. Using the account to be monitored (root account or sub-account), perform a Create Version or Publish Version operation in the EdgeOne console.
2. After the operation is complete, wait for approximately 10 to 20 minutes and check whether you have received the notification through the configured channel.

Note:
If you do not receive the notification, you can troubleshoot by following the path below:
Check whether events are stored: Go to the TCOP console. In the left-side navigation, choose Event Bus > Event Set to enter the default event set details. Select Event Query, filter by the corresponding time period, and confirm that the relevant events have been stored. If no records are found, it indicates that the CloudAudit events were not delivered normally. Please check whether the event matching configuration of the event rule is correct.
Check whether message push is abnormal: Go to the TCOP console. In the left-side navigation, choose Event Bus > Event Rule to enter the corresponding event rule. View the monitoring information to confirm whether there are any failure records for the delivery target. If failures exist, check the binding status of the recipient's contact information.







Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan