Customizing a Rule
Sensitive data identification rules include built-in rules and user-defined rules. You can select built-in or customized identification rules when creating or editing an identification template.
Procedure
- 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 Configuration.
- Click the Identification Rule tab, as shown in Figure 1.
- Click Create a user-defined rule in the upper left corner of the page.
- In the displayed dialog box, set required parameters based on Table 1.
Table 1 Parameter description Parameter
Description
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 (_), hyphens (-), and brackets.
- Be unique.
Description
Enter a rule description.
Add to Template
- Select the template name, template rule category, and level from the drop-down list boxes to add the rule to a rule template.
- Click
to add the rule to multiple templates.
- Click
to delete the template. Retain at least one template.
Match Type
This parameter can be set to Rule matching or Keyword matching.
- Keyword matching indicates that the rule can be executed using keywords.
- Regular matching is used to match (specify and identify) characters, words, and patterns.
NOTE:
For Hive data in MRS, sensitive data can be identified only when Match Type is Rule matching and Rule is
.
Matching Logic
Select the matching logic:- AND: All keywords are included.
- OR: Only one keyword is included.
Rule
- This parameter is displayed when Match Type is set to Rule Matching.
- Click
to add multiple rules.
- Click
to delete a rule. Retain at least one rule.
NOTE:For Hive data in MRS, sensitive data can be identified only when Match Type is Rule matching and Rule is
.
Content
- This parameter is displayed when Match Type is set to Keyword Matching.
- Multiple keywords are separated by line breaks.
Identification Threshold Configuration
Applicable to unstructured data. You can click
to select a low, medium, or high threshold. A higher threshold requires more hits.
Hit Rate
Applicable to structured data. You can drag the slider to set this parameter.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.