All Documents
Data Security CenterData Security Center
- What's New
- Function Overview
- Service Overview
- Getting Started
-
User Guide
- Service Provisioning
- Assets
- Overview
- Sensitive Data Identification
- Data Usage Audit
- Data Masking
- Data Watermarking
- Alarm Notifications
- Permissions Management
- Key DSC Operations
- Change History
- Best Practices
- API Reference
- SDK Reference
-
FAQs
- Product Consulting
- Regions and AZs
- Adding Data Assets
-
Sensitive Data Identification and Masking
- What Services Can Use DSC to Scan for Sensitive Data?
- How Long Does It Take for DSC to Identify and Mask Sensitive Data?
- Which Types of Sensitive Data Can Be Identified by DSC?
- Does Data Masking Affect My Raw Data?
- Does DSC Have Specific Requirements on the Character Set for Which Sensitive Data Is to Be Identified and Masked?
- How Do I Add Multiple Identification Rule Groups?
- Data Watermarking
- Data Usage Audit
- Billing, Renewal, and Repurchase After Unsubscription
- Change History
- Videos
Quick Sensitive Data Identification and Masking
HUAWEI CLOUD Data Security Center (DSC) provides you with dynamic and static data masking methods to help mask your sensitive data in different scenarios, keeping your data secure and reliable. DSC provides you with over 20 preset data masking rules such as Hash, encryption, character masking, keyword replacement, value change, and roundup. You can use the default masking rules or customize the masking rules to mask sensitive data in the specified database table.
Sensitive data refers to the data that may bring serious harm to the society or individuals after being leaked.

For individuals, privacy information, such as ID card numbers, home addresses, workplace information, and bank card numbers, is sensitive data. For enterprises or organizations, core information, such as customer information, financial information, technical information, and major decisions, is sensitive data.
Static data masking: DSC can help mask a large amount of data at one time based on the configured data masking rules. Static data masking is used when sensitive data in the production environment is delivered to the development, testing, or external environment for development and testing and data sharing and research. You can create an data masking task on the DSC console to quickly mask sensitive data in databases and big data assets.
Dynamic data masking: DSC provides dynamic data masking APIs to mask the data accessed from the external systems. Dynamic data masking applies to scenarios where data is queried from the external system, such as production applications, data exchange, O&M applications, and precision marketing. For details, see Dynamic Data Masking.
Data Masking Process
With DSC, you can implement dynamic and static data masking to fully protect your sensitive data.
Data Masking Algorithms
DSC has over 100 sensitive data identification and masking rules and can identify and mask the sensitive information such as personal information (ID card information, bank card information, names, mobile numbers, email addresses, and more), enterprise information (business license numbers, tax registration certificate numbers, and more), and key information (PEM certificates, HEY private keys, and more), device information (IP addresses, MAC addresses, IPv6 addresses, and more), location information (provinces/states, cities, GPS locations, addresses, and more), and common information (dates and others). Table 1 describes the data masking algorithms and application scenarios.
Example:
Assume that the dsc_yunxiaoke table in the rsd-dsc-test database stores the information of the following bank employees:
To identify and mask sensitive data in the table, you can select the preset identification rule template for banking and finance data to identify sensitive data and generate the identification result, and then mask the identified sensitive data using the SHA256 algorithm in Hash.
Step 1 Identifying Sensitive Data
- Buy DSC.
- Log in to the management console.
- Click
and choose Security & Compliance > Data Security Center.
- In the left navigation pane, choose Sensitive Data Identification > Identification Task.Figure 1 Identification task
- Click Create Task. In the displayed dialog box, configure the basic parameters.Figure 2 Creating a sensitive data identification task
- Click OK. The sensitive data identification task list is displayed.Figure 3 Sensitive data identification task list
- When the status of the identification task changes to Identification completed. Click View Result in the Operation column to go to the result details page.Figure 4 Lineage diagram
In the preceding figure, the birthday dates and email addresses are identified as sensitive data.
- Click a sensitive field to view the risk details.Figure 5 Risk details
Perform operations described in Step 2 Masking Sensitive Data to mask the sensitive data in the Birthday and Email columns of the dsc_yunxiaoke table in the rds-dsc-test database.
Step 2 Masking Sensitive Data
You can create data masking tasks for the database and Elasticsearch (the data masking methods are the same). The following describes how to create a database data masking task. For details about how to create a data masking task for Elasticsearch, see Creating a Data Masking Task for Elasticsearch.
- In the left navigation pane, choose Data Masking. The Data Masking > Sensitive Database Data Masking page is displayed by default.Figure 6 Accessing the Database Data Masking tab page
- Set Mask Sensitive RDS Data to
.
- Click Create Task to configure the data source.
Select all data types if you want a complete table that contains all types of data after the data masking is completed.
Figure 7 Data source configuration - Click Next to switch to Set Masking Algorithm.Figure 8 Configuring the data masking algorithm
- Click Next to switch to the Configure Data Masking Period page and configure the data masking period.Figure 9 Configuring the data masking period
- Click Next to the Set Target Data page and configure the storage location of the table generated after data masking.Figure 10 Configuring the storage location of the table generated after data masking
- Click Finish to return to the database data masking task list. Click
to enable the masking task and then Execute in the Operation column to execute the task.
If the status changes to Completed, the data masking task has been successfully executed.