Updated on 2024-04-03 GMT+08:00

Masking Policies

You can create a data masking policy and perform masking query in DataArts Catalog.

Prerequisites

  • A data classification rule has been created. For details on how to create a classification rule, see Data Classifications.
  • A data connection and a data table have been created, and sensitive data has been collected by DataArts Catalog.

Creating a Masking Policy

  1. On the DataArts Studio console, locate an instance and click Access. On the displayed page, locate a workspace and click DataArts Catalog.
  1. Choose DataArts Security > Masking Policies from the left navigation bar, and click Create on the page displayed.
  2. Set Classification Rule, Masking Algorithm, and Algorithm Type. The options for Masking Algorithm include Mask, Truncate, and Hash. Each masking algorithm has multiple algorithm types. Select an algorithm type as required. After the configuration, click OK.

    A data classification rule can be bound to only one masking algorithm.

    Figure 1 Creating a masking policy

  3. After you configured the making algorithm, you can perform an online test. Enter the test data, and click Test. You can verify the result in the Test Result text box.
  4. Enable or disable Status. The masking policy takes effect only when Status is enabled.

Viewing the Data Masking Effect

  1. On the DataArts Studio console, locate an instance and click Access. On the displayed page, locate a workspace and click DataArts Catalog.
  1. Choose Data Map > Catalog from the left navigation bar.
  2. In a list of asset results, click a table name to access its details page.
  3. Click Data Preview to view the data masking effect.