Example | Configuring a data class based on a regular expression and starting the automatic classification for a column
You want to configure the Email data class you manually created. This way, the data class can be assigned automatically through the automatic data classification process.
Prerequisites
- You have the required permissions.
- Make sure you know which regular expression you want to use for the data class. For more information and references to useful resources, go to Add a data class.
Steps
- Configure the email data class.
-
On the main toolbar, click
→ Stewardship.
- Go to Data Classification → Data classes.
- Select the email data class row.
The data class parameters appear in a pane on the right-hand side. - Open the Details section.
- Complete the fields as required.
For information on the fields, go to Add a data class.Data class parameter Description Minimum confidence threshold Set this value to 80.
Allow empty values
Leave this field as the default value (False).
Examples Add the following examples: [email protected] , [email protected] , [email protected] - Open the Classification rules section.
- Click Add new rule.
- In Type, select the Regular expression for data option.
Extra fields appear. - Complete the fields as required.
For information on the fields, go to Add a data class.Data class parameter Description Regular expression Add:
^([a-zA-Z0-9._%\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,6})$Description Leave this field empty. - Click Save.
The classification rule for the Email data class is configured.
The Rule details section appears. Expand the section, to view the details.
-
On the main toolbar, click
- Start the classification.
- Open a Column asset with email data.
- In the At a glance sidebar, click Classify. If the At a glance sidebar is hidden, click
.
The data classification process starts. For more information, go to Automatically classify assets.
The Email data classification suggestion is assigned to the Column asset with a confidence percentage. For more information, go to accepting and rejecting data classification suggestions.
You can also import data classes to be used in the automatic classification for a column, table, or schema.