Detection models are an upgrade of the sensitive data detection feature in DMS. This upgrade expands the number of built-in models and adds support for custom detection models. You can use both built-in and custom models to create customized sensitive data detection capabilities. This topic describes how to view detection models, and how to add, edit, and delete custom detection models.
Notes
-
Each detection model name must be unique.
-
Built-in detection models can only be viewed. They cannot be edited.
-
Both built-in and custom detection models can be referenced in data classification templates. For more information, see Manage data classification templates.
Feature description
The built-in detection models can detect common types of sensitive data, such as names, financial information, bank cards, and ID cards. If these models do not meet your needs, you can add custom detection models. For more information, see Manage custom detection models.
View built-in detection models
The data protection feature includes over 100 built-in detection models. If the built-in rules do not meet your needs, you can add new detection models. For more information, see Manage custom detection models.
Log in to DMS 5.0.
-
Move the pointer over the
icon in the upper-left corner and choose . NoteIf you use the DMS console in normal mode, choose in the top navigation bar.
-
Click the Detection Model tab.
-
Click the model source box and select Built-in.
-
Click Search.
-
In the row of the target built-in detection model, click View in the Actions column. View the details of the detection model, including the model name, match type, and match content.
Manage custom detection models
Log in to DMS 5.0.
-
Move the pointer over the
icon in the upper-left corner and choose . NoteIf you use the DMS console in normal mode, choose in the top navigation bar.
-
Click the Detection Model tab.
-
On the Detection Model page, perform the following operations as needed.
-
Add a custom detection model
-
Click Add Custom Detection Model.
-
In the Add Custom Detection Model panel, configure the following parameters.
Configuration item
Description
Model Name
Enter a name for the detection model.
Rule
Select Regex. This parameter defines the rule to detect sensitive data. The following examples describe how to configure this parameter:
-
Exampleoo+a: Detects strings such as Exampleooa, Exampleoooa, and Exampleooooooa as sensitive data. The plus sign (
+) indicates that the preceding character must appear at least once. -
Exampleoo*a: Detects strings such as Exampleoa, Exampleooa, and Exampleooooooa as sensitive data. The asterisk (
*) indicates that the preceding character can appear zero or more times. -
Exampleo?a: Detects only Examplea and Exampleoa as sensitive data. The question mark (
?) indicates that the preceding character can appear zero or one time.
Test Data
Enter test data.
Test Result
Checks whether the specified rule meets your expectations. Valid values:
-
Match successful: The test data is marked with the target sensitivity level.
-
Match failed: The test data is not marked with the target sensitivity level.
Rule Description
Enter a description for the detection model.
-
-
Click Submit.
-
-
Delete a custom detection model
-
Click the model source box and select Custom.
-
Click Search. You can also enter a Model Name before you click Search.
-
In the row of the target custom detection model, click Delete in the Actions column.
-
In the Notice dialog box, click Confirm.
Important-
After a custom detection model is deleted, DMS can no longer use the model to detect sensitive data. Perform this operation with caution.
-
Deleting a custom detection model does not affect the results of previous scans that used the model.
-
-
-
Modify a custom detection model
-
Click the model source box and select Custom.
-
Click Search.
-
In the row of the target custom detection model, click Modify in the Actions column.
-
In the Modify Custom Detection Model dialog box, modify the parameters and click Submit.
-
-
View a custom detection model
-
Click the model source box and select Custom.
-
Click Search.
-
In the row of the target custom detection model, click View in the Actions column. View the details of the detection model, including the model name, match type, and match content.
-
-
Create a similar model
This operation creates a new detection model with the same configuration as an existing model.
-
Click the model source box and select Custom.
-
Click Search.
-
In the row of the target custom detection model, click Create Similar in the Actions column.
-
In the Create Similar Custom Detection Model dialog box, change the Model Name and other configuration information, and then click Submit. The model name must be unique.
-
-
Apply detection models
You can use built-in or custom detection models in data classification templates to detect sensitive data. For more information about how to use detection rules, see Edit a data classification template.