Adding a Rule
Add a sensitive data identification rule.
Prerequisites
You have obtained credentials for logging in to the management console.
Constraints
You can add a built-in rule or customized rule. Built-in rules cannot be added, edited, and deleted.
Procedure
- Log in to the management console.
- Click
in the upper left corner of the management console and select a region or project. - In the navigation pane on the left, click
and choose . - In the navigation pane, choose Sensitive Data Identification > Identification Rule. Figure 1 Rules
- In the upper left corner of the rule list, click Add Rule.
- In the displayed dialog box, configure basic parameters. For parameter details, see Table 1. Figure 2 Adding an identification 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 4 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
- Click OK.
Last Article: Identification Rules
Next Article: Viewing the Rule List
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.