Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Aggregator transformation
  6. Cleanse transformation
  7. Data Masking transformation
  8. Data Services transformation
  9. Deduplicate transformation
  10. Expression transformation
  11. Filter transformation
  12. Hierarchy Builder transformation
  13. Hierarchy Parser transformation
  14. Hierarchy Processor transformation
  15. Input transformation
  16. Java transformation
  17. Java transformation API reference
  18. Joiner transformation
  19. Labeler transformation
  20. Lookup transformation
  21. Machine Learning transformation
  22. Mapplet transformation
  23. Normalizer transformation
  24. Output transformation
  25. Parse transformation
  26. Python transformation
  27. Rank transformation
  28. Router transformation
  29. Rule Specification transformation
  30. Sequence Generator transformation
  31. Sorter transformation
  32. SQL transformation
  33. Structure Parser transformation
  34. Transaction Control transformation
  35. Union transformation
  36. Velocity transformation
  37. Verifier transformation
  38. Web Services transformation

Transformations

Transformations

Data Masking transformation example

Data Masking transformation example

You need realistic data for testing in a nonproduction environment. You have production data that includes sensitive data columns. You cannot use the data without the risk of compromising sensitive data. Use the Data Masking transformation to mask sensitive data before you use the data in a test environment.
The production data includes a table Personnel_Information with the following data:
First Name
Surname
DOB
Address
State
Uma
Hilel
03/12/1985
24, Atkins Avenue
CA
John
Sen
07/15/1963
49, Wheeler Road
MN
Keiko
Burns
11/24/1989
13, Draker Drive
PA
Isadora
Buckley
08/16/1990
20, Fountain Center
CA
In the Mapping Designer, add
Personnel
as a source transformation for the table Personnel_Information. Add a target transformation Personnel_test.
Add the Data Masking transformation to the mapping canvas and connect it to the data flow.
You need to mask the Surname, DOB, and the State columns to ensure sensitive data is masked. You can use the Substitution Last Name masking technique to mask the Surname column. This masking technique replaces data in the column with data from the dictionary file on surnames. You can use the Random Date masking technique to mask the DOB column. Use the Substitution State masking technique to mask the State column. This masking technique replaces data in the column with data from the dictionary file on U.S. state names.
The Mapping Designer shows that masking techniques are assigned to the incoming fields in the Data Masking transformation object. The Substitution last name technique is assigned to the Surname field, the Random technique is assigned to the DOB field, and the Substitution state technique is assigned to the State field.
When the mapping run completes successfully, you can view the masked data in the Personnel_test output table :
First Name
Surname
DOB
Address
State
Uma
Acothley
05/12/1985
24, Atkins Avenue
Michigan
John
Mcgovern
04/15/1963
49, Wheeler Road
Oklahoma
Keiko
Garsia
03/24/1990
13, Draker Drive
Montana
Isadora
Sonnier
01/16/1991
20, Fountain Center
South Carolina
You can now use the masked data in the table Personnel_test in the test environment.

0 COMMENTS

We’d like to hear from you!