Help Center> Cloud Trace Service> Getting Started> Configuring Key Event Notifications

Configuring Key Event Notifications

Scenarios

You can create key event notifications on CTS so that Simple Message Notification (SMN) can send messages to notify you of key operations. This function is triggered by CTS, but notifications are sent by SMN. You can use this function for:
  • Real-time detection and confirmation of high-risk operations (such as VM restart and security configuration changes), cost-sensitive operations (such as creating and deleting expensive resources), and service-sensitive operations (such as network configuration changes).
  • Detection and confirmation of operations such as login of users with high permissions or operations by users without required permissions.
  • Connection with your own audit system: You can synchronize all audit logs to your audit system in real time to analyze the API calling success rate, unauthorized operations, security, and costs.

Prerequisites

  • The SMN service is used to send key event notifications to subscribers. Before using CTS, you need to know how to create topics and add subscriptions on the SMN console.
  • Currently, you can create 100 key event notifications in CTS and specify key operations, users, and topics for each notification.
  • If CTS and Cloud Eye use a same message topic, they will send messages to the same targets but the message contents are different.
  • You can configure key event notifications on operations of up to 50 users in 10 user groups. For each notification, you can select multiple users in the same user group.
  • You can select up to 1000 key operations of 100 cloud services for each notification.
  • As an upgraded version of the previous notifications, the key event notifications are more powerful and provide more configuration items.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and choose Management & Governance > Cloud Trace Service. The CTS console is displayed.
  3. In the navigation pane on the left, choose Key Event Notifications.

    The Key Event Notifications page is displayed.

  4. Click Create Key Event Notification. On the displayed page, specify required parameters.
  5. Enter a key event notification name.

    Notification Name: Identifies key event notifications. This parameter is mandatory. The name can contain up to 64 characters. Only letters, numbers, and underscores (_) are allowed.

  6. Configure key operations.
    You can select Typical, All, or Custom based on actual requirements:
    • Typical: This option is suitable for enterprise routine auditing. Notifications will be sent when your specified operations occur, such as creating or deleting core resources of ECS, VPC, EVS, or KMS, and logging in to IAM.
    • All: This option is suitable if you have connected CTS to your own audit systems. When All is chosen, you cannot deselect operations because all operations on all cloud services that have connected with CTS will trigger notifications. You are advised to use an SMN topic for which HTTPS is selected.
    • Custom: This option is suitable for enterprises that require detection of high-risk, cost-sensitive, service-sensitive, and unauthorized operations. You can connect CTS with your own audit systems for log analysis. Select the operations that will trigger notifications. Up to 1000 operations of 100 services can be added for each notification. For details, see Supported Services and Operations.
  7. Configure users.

    SMN messages will be sent to subscribers when the specified users perform key operations.

    • If you select All users, SMN will notify subscribers of key operations initiated by all users.
    • If you select Specified users, SMN will notify subscribers of key operations initiated by your specified users. You can configure key event notifications on operations of up to 50 users in 10 user groups. For each notification, you can select multiple users in the same user group.
  8. Configure an SMN topic.
    • You can select an existing topic or create a one on the SMN console.
    • If you do not want to send notifications, no further action is required.