You can assign multiple masking rules to a column. To assign more than one rule to a column, create a duplicate row and update the rule. You can assign the default data domain rules to multiple columns at the same time. Assign a single masking rule or a policy or both to multiple columns of similar data type.
Open the
Define | Data Masking
view for a project.
Select a column that you want to assign the rule to. If you want to assign a rule to more than one column, you can select multiple columns.
Use the checkbox to select the column.
Click
Rule Assignment
.
The
Rule Assignments
dialog box appears.
Select the column that you want to assign multiple policies to.
Use the checkbox to select the column.
Click
Copy Rule Assignment
.
The Test Data Manager creates a row that is a duplicate of the row you selected.
Change the policy to view more preferred masking rules.
In the
Masking Rule
column, select a rule from the list.
Click
Save
.
The
Define | Data Masking
view shows two rows for the same column. Each column has a different rule assignment.
To assign the default rule to multiple columns, select which columns you want to update with the default values. You can select the checkbox at the top of the dialog box to select all rows.
Click
Default Assignments
.
The Test Data Manager updates each column with the default rule.
Click
Save
.
To assign a single rule to multiple columns, search for the similar data type columns.
Select all the columns that you want to assign a masking rule to.
Click
Single Rule Assignment
.
The
Single Rule Assignment
dialog box appears.
Select a policy and a masking rule.
The following image shows the single masking rule assignment to multiple columns:
Click
OK
.
The Test Data Manager updates each column with the assigned masking rule.