Updated on 2023-03-02 GMT+08:00

Editing a Rule

Edit a sensitive data identification rule, for example, editing the rule name, type, and description.

Prerequisites

Identification rules have been added.

Constraints

DSC built-in identification rules cannot be edited.

Procedure

  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. In the navigation pane on the left, click and choose Security > Data Security Center.
  4. In the navigation pane, choose Sensitive Data Identification > Identification Rule.

    Figure 1 Rules

  5. In the rule list, locate the row that contains the rule to be edited, and click Edit in the Operation column.
  6. In the displayed dialog box, edit rule parameters as required. Table 1 describes the parameters.

    Figure 2 Editing a rule
    Table 1 Parameters for adding an identification rule

    Name

    Description

    Example Value

    Rule

    You can customize a rule name.

    The rule name must meet the following requirements:

    • Contain 1 to 255 characters.
    • Consist of letters, digits, underscores (_), and hyphens (-).
    • Be unique.

    N/A

    Type

    Set it to Keyword or Regular expression.

    • Keyword: Indicates that the rule can be executed using keywords.
    • Regular expression: A regex follows concise, flexible principles to match (specify and identify) characters, words, and patterns.

    Keyword

    Keyword

    This parameter is displayed when Type is set to Keyword.

    • Logic: Select a logical relationship for keywords.
      • AND: All keywords are included.
      • OR: Only one keyword is included.
    • Content: Enter a keyword. You can click to add a maximum of 10 keywords.

    and, Zhang San

    Regular Expression

    This parameter is displayed when Type is set to Regular expression.

    N/A

    Risk Level

    Select the risk level for the rule.

    The risk level ranges from 1 to 10. Levels 1 to 3 indicate low risks, 4 to 7 indicate medium risks, and 8 to 10 indicate high risks.

    5 (Medium)

    Minimum Matching Times

    Number of rule hits. If the number of rule hits reaches the set value, the information will be marked as sensitive information.

    2

    Description

    (Optional) This parameter is used to differentiate this rule from others.

    N/A

  7. Click OK.