Updated on 2024-04-11 GMT+08:00

Configuring an Asset Connection

Scenario

Before using the Automatic notification of high-risk vulnerabilities workflow, you need to configure the SMN notification token for operational personnel asset connection first.

This topic describes how to configure an asset connection.

Prerequisites

You have subscribed to an SMN topic. For details, see Creating and Subscribing to a Topic.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the page and choose Security & Compliance > SecMaster.
  3. In the navigation pane on the left, choose Workspaces > Management. In the workspace list, click the name of the target workspace.

    Figure 1 Workspace management page

  4. In the navigation pane on the left, choose Security Orchestration > Playbooks. On the displayed page, click the Asset Connections tab.

    Figure 2 Asset connection tab

  5. On the Asset connection page, locate the row that contains the SMN notification token for operational personnel connection and click Edit in the Operation column.
  6. On the Edit pane sliding out from the right, configure endpoint information.

    Figure 3 Editing an asset connection

    endPoint: Set this field to https://{{SMN_ENDPOINT}}/ v2 /{{project_id}}/notifications/topics/urn:smn:{{region_id}}:{{project_id}}:SecMaster-Notification.

    • SMN_ENDPOINT: Enter the domain name for invoking the SMN service. The value is in the format of endpoint:443. Obtain the endpoint information from the Regions and Endpoints. For example, if you choose CN North-Beijing4, enter "smn.cn-north-4.myhuaweicloud.com:443" in this field.
    • project_id: Enter the ID of the project that the current workspace belongs to. To view the project ID, take the following steps:
      1. Log in to the management console, hover the mouse over the username in the upper right corner, and select My Credentials from the drop-down list. The API Credentials page is displayed by default.
      2. On the API Credentials page, view the project ID in the project list.
        Figure 4 Project ID
    • urn:smn:{{region_id}}:{{project_id}}:SecMaster-Notification: Enter the URN of the SMN topic for sending email notifications. To view the URN, take the following steps:
      1. In the upper left corner of the page, click and choose Management and Governance > Simple Message Notification.
      2. In the navigation pane on the left, choose Topic Management > Topics.
      3. In the topic list, view the topic URN of the topic created in Creating and Subscribing to a Topic.
        Figure 5 Topic URN

  7. After the configuration, click OK.