You can configure the following masking rules for substitution masking:
Repeatable Output
. Returns deterministic results between sessions. The Data Masking transformation stores masked values in the storage table.
Seed.
Apply a seed value to generate deterministic masked data for a column. Select one of the following options:
Value.
Accept the default seed value or enter a number between 1 and 1,000.
Mapping Parameter
. Use a mapping parameter to define the seed value. The Designer displays a list of the mapping parameters that you create for the mapping. Choose the mapping parameter from the list to use as the seed value.
Unique Output
. Force the Data Masking transformation to create unique output values for unique input values. No two input values are masked to the same output value. The dictionary must have enough unique rows to enable unique output.
When you disable unique output, the Data Masking Transformation might not mask input values to unique output values. The dictionary might contain fewer rows.
Dictionary Information
. Configure the flat file or relational table that contains the substitute data values.
Relational Table
. Select Relational Table if the dictionary is in a database table. Click Select Table to configure the database and table.
Flat File
. Select Flat File if the dictionary is in flat file delimited by commas. Click Select Flat File to browse for and choose a file.
Dictionary Name
. Displays the flat file or relational table name that you selected.
Output Column
. Choose the column to return to the Data Masking transformation.
Lookup condition.
Configure a lookup condition to further qualify what dictionary row to use for substitution masking. The lookup condition is similar to the WHERE clause in an SQL query. When you configure a lookup condition you compare the value of a column in the source with a column in the dictionary.
For example, you want to mask the first name. The source data and the dictionary have a first name column and a gender column. You can add a condition that each female first name is replaced with a female name from the dictionary. The lookup condition compares gender in the source to gender in the dictionary.