Data Classifications

This section describes how to create a data classification rule.

Creating a Classification Rule

  1. Log in to the DGC console, select a DGC instance, and click Access.

    On the displayed page, click the Workspaces tab. In the workspace list, locate the required workspace.

  2. Click Data Assets of the corresponding workspace to navigate to the Data Assets console.
  3. Choose Data Security > Data Classifications. On the Classification Rule tab page, click Create.
    In the Create Classification page, set related parameters to create a classification rule. You can either create a rule based on the built-in template or customize one.
    Figure 1 Creating a classification rule
    Table 1 Parameters for creating a classification rule

    Parameter

    Description

    Classification Type

    The category to which a rule belongs. You can either create a rule based on built-in templates or customize one.

    Confidentiality

    Classify the configured data into different levels. If the existing confidentiality does not meet the requirements, go to the confidentiality management page to set security levels. For details, see Data Security Levels.

    Classification Template

    This parameter is available when Classification Type is set to Built-in. You can select a built-in sensitive data identification template based on the site requirements, for example, Time, Mobile number, and License plate number.

    Classification Name

    • If Classification Type is set to Built-in, the classification name is automatically generated based on the classification template.
    • If you select Custom for Classification Type, you can customize a classification name.
      NOTE:

      The name of a data classification rule must be unique.

    Rule Recognition

    This parameter is available when Classification Type is set to Custom. Regular expressions are supported.

    Regular Expression

    • Content recognition: one of the data recognition methods. You can customize a regular expression.
    • Column name recognition: Both exact match and fuzzy match are supported. Multiple fields can be matched.

    Description

    A description of the classification rule to be created.

Creating a Group

  1. Log in to the DGC console, select a DGC instance, and click Access.

    On the displayed page, click the Workspaces tab. In the workspace list, locate the required workspace.

  2. Click Data Assets of the corresponding workspace to navigate to the Data Assets console.
  3. Choose Data Security > Data Classification. On the Groups tab page, click Create.

    In the Create Group page, set related parameters as prompt.

    Set parameters by referring to Table 2 and select classification rules in the list.

    The selected rules are displayed in the list on the right.

    Table 2 Parameters for creating a group

    Parameter

    Description

    Name

    The name of the group. Only letters, digits, and underscores (_) are allowed.

    Description

    Information to better identify a group. The description contains up to 4,096 characters and consists of only letters, digits, and underscores (_).