All Products
Search
Document Center

DataWorks:Overview

Last Updated:Feb 06, 2024

DataWorks allows you to configure data masking rules to mask sensitive data to ensure security of data queries or storage. DataWorks supports a variety of data masking scenarios. You can also create and configure a custom data masking scenario based on your business requirements. This topic describes the data masking capabilities provided by DataWorks and how to perform data masking operations.

Limits

  • You can use data masking capabilities only in DataWorks Professional Edition or a more advanced edition. For information about the differences among DataWorks editions, see Differences among DataWorks editions.

  • Data masking capabilities take effect only if you turn on Mask Data in Page Query Results for your workspace on the Security Settings and Others tab in DataStudio. For more information, see Go to the Security Settings and Others tab.

    Note

    You do not need to turn on Mask Data in Page Query Results for a workspace in scenarios that involve data masking at the MaxCompute compute engine layer. For more information about data masking scenarios, see Descriptions of data masking scenarios.

  • In Data Security Guard, you can use the sensitive data identification and data masking features to identify and mask sensitive data in only E-MapReduce (EMR), MaxCompute, Cloudera's Distribution including Apache Hadoop (CDH), and Hologres compute engines. For more information, see Features.

Data masking procedure

  1. Create a data masking scenario.

    DataWorks provides level-1 data masking scenarios, such as masking of displayed data in DataStudio and Data Map, static data masking in Data Integration, masking of displayed data in DataAnalysis, data masking at the MaxCompute compute engine layer, and data masking at the Hologres compute engine layer. If the specified effective data range and user range in the preceding data masking scenarios cannot meet your requirements for finer-grained data masking, you can create custom level-2 data masking scenarios based on level-1 data masking scenarios. For information about how to create a data masking scenario, see Create a data masking scenario.

  2. Create a data masking rule.

    You can create a data masking rule in a specific data masking scenario based on your business requirements. For more information, see Create a data masking rule.

  3. Optional. Configure a whitelist for the data masking rule.

    If you want the data masking rule to not take effect on specific users, you can add the users to a whitelist. For more information, see Configure a whitelist for a data masking rule.

  4. Set the status of the data masking rule to Active.

    By default, a data masking rule does not immediately take effect after it is created. You must set the status of the rule to Active. Then, sensitive data can be masked based on the rule in the related data masking scenario. For more information, see Configure the rule status.

Go to the Data Masking page

  1. Go to the DataStudio page.

    Log on to the DataWorks console. In the left-side navigation pane, choose Data Modeling and Development > DataStudio. On the page that appears, select the desired workspace from the drop-down list and click Go to DataStudio.

  2. Click the 图标 icon in the upper-left corner, choose All Products > Data Governance > Data Security Guard, and then click Try now to go to the Data Security Guard page.

    Note
    • If your Alibaba Cloud account is granted the required permissions, you can directly access the homepage of Data Security Guard.

    • If your Alibaba Cloud account is not granted the required permissions, you are redirected to the authorization page of Data Security Guard. You can use the features of Data Security Guard only after your Alibaba Cloud account is granted the required permissions.

  3. In the left-side navigation pane, choose Rule Change > Data Masking. The Data Masking page appears.

Examples of using a data masking rule