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

Creating, Copying, and Editing a Categorical Mapping

Scenario

Classification and mapping are to perform class matching and field mapping for cloud service alerts.

This section walks you through on how to create, edit, and copy a classification and mapping.

Limitations and Constraints

  • In a single workspace of a single account, a maximum of 50 classification & mapping templates can be created.
  • In a single workspace of a single account, the proportion of a classification to its mappings is 1:100.
  • A maximum of 100 classifications and mappings can be added to a workspace of a single account.

Creating a Categorical Mapping

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. Click in the upper left corner of the page and choose Security & Compliance > SecMaster.
  4. 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

  5. In the navigation pane on the left, choose Security Orchestration > Objects. On the page displayed, click the Classify&Mapping tab.

    Figure 2 Classify&Mapping tab page

  6. On the Classify&Mapping page, click Create.
  7. On the Create Categorical Mapping page, set categorical mapping parameters.

    Figure 3 Create Categorical Mapping page
    1. In the Basic Parameters area on the left, configure basic information about the categorical mapping. For details about the parameters, see Table 1.
      Table 1 Configuring basic information

      Parameter

      Description

      Name

      Name of a user-defined categorical mapping.

      Data Category

      Select the corresponding data type.

      Description

      Description of the custom categorical mapping.

    2. In the Data Source area on the left, select the data source for categorical mapping.

      When Data Source is set to Upload JSON file, you need to click to upload the JSON file and upload the JSON file.

    3. On the Classify tab page on the right, select a classification mode and set related parameters.
    4. After the classification configuration is complete, click at the upper right corner of the page to save the configuration.
    5. On the Mapping tab page in the right pane, select a mapping mode and set related parameters.
    6. After categorical mapping is complete, click at the upper right corner of the page to save the configuration.
    7. On the Preprocessing tab on the right, set preprocessing mapping parameters.
    8. Click at the upper right corner of the page to save the configuration.

Copying a Categorical Mapping

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

    Figure 4 Workspace management page

  5. In the navigation pane on the left, choose Security Orchestration > Objects. On the page displayed, click the Classify&Mapping tab.

    Figure 5 Classify&Mapping tab page

  6. On the Classify&Mapping page, click Clone in the Operation column of the target categorical mapping.
  7. In the displayed dialog box, enter the name for replicated mapping and click OK.

Editing a Categorical Mapping

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

    Figure 6 Workspace management page

  5. In the navigation pane on the left, choose Security Orchestration > Objects. On the page displayed, click the Classify&Mapping tab.

    Figure 7 Classify&Mapping tab page

  6. On the Classify&Mapping page, click the target categorical mapping name to go to the edit page.
  7. On the Edit Categorical Mapping page, set parameters.

    1. In the Basic Parameters area on the left, configure basic information about the categorical mapping. For details about the parameters, see Table 1.
      Table 2 Configuring basic information

      Parameter

      Description

      Name

      Name of a user-defined categorical mapping.

      Data Category

      This field cannot be edited.

      Description

      Description of the custom categorical mapping.

    2. In the Data Source area on the left, select the data source for the categorical mapping.

      If Data Source is set to Upload JSON file, you need to click Upload JSON file and upload the JSON file.

    3. On the Classify tab on the right, select a classification mode and set related parameters.
    4. After the classification configuration is complete, click at the upper right corner of the page to save the configuration.
    5. On the Mapping tab on the right, select a mapping mode and set related parameters.
    6. After the categorical mapping is complete, click at the upper right corner of the page to save the configuration.
    7. On the Preprocessing tab on the right, set preprocessing mapping parameters.
    8. Click at the upper right corner of the page to save the configuration.