Table of Contents

Search

  1. Preface
  2. Introduction to Test Data Management
  3. Test Data Manager
  4. Projects
  5. Policies
  6. Data Discovery
  7. Creating a Data Subset
  8. Performing a Data Masking Operation
  9. Data Masking Techniques and Parameters
  10. Data Generation
  11. Data Generation Techniques and Parameters
  12. Working with Test Data Warehouse
  13. Analyzing Test Data with Data Coverage
  14. Plans and Workflows
  15. Monitor
  16. Reports
  17. ilmcmd
  18. tdwcmd
  19. tdwquery
  20. Appendix A: Data Type Reference
  21. Appendix B: Data Type Reference for Test Data Warehouse
  22. Appendix C: Data Type Reference for Hadoop
  23. Appendix D: Glossary

Creating the Advanced Masking Rule

Creating the Advanced Masking Rule

Create an advanced rule that substitutes first names based on nationality with a lookup condition on gender.
  1. In the
    Policies
    view, click
    Actions
    New
    Masking Rule
    .
    The
    New Masking Rule
    window appears.
  2. Enter a name and optional description for the rule.
  3. Select the advanced masking type.
  4. Click
    Next
    .
  5. Click
    Create Input Column
    in the
    Specify Masking Properties
    window.
    The
    Add Column
    window appears.
  6. Enter the following general properties:
    • Column name. Enter in_Country.
    • Column type. Select input.
    • Datatype. Select string.
    • Precision. Select 10.
    • Scale. Select 10.
    • Mandatory. Select the check box.
    The following image shows the in_Country column properties:
    The left pane shows the general properties for the in_Country input column. There are no masking properties for input columns.
  7. Click
    OK
    .
    The in_Country input column appears in the list of input columns.
  8. Click
    Create Input Column
    .
    The
    Add Column
    window appears.
  9. Enter the following general properties:
    • Column name. Enter in_FirstName.
    • Column type. Select input.
    • Datatype. Select string.
    • Precision. Select 10.
    • Scale. Select 10.
    • Mandatory. Select the check box.
  10. Click
    OK
    .
    The in_FirstName input column appears in the list of input columns.
  11. Click
    Create Input Column
    .
    The
    Add Column
    window appears.
  12. Enter the following general properties:
    • Column name. Enter in_Gender.
    • Column type. Select input.
    • Datatype. Select string.
    • Precision. Select 10.
    • Scale. Select 10.
    • Mandatory. Select the check box.
  13. Click
    OK
    .
    The in_Gender input column appears in the list of input columns.
  14. Click
    Create Input Column
    .
    The
    Add Column
    window appears.
  15. Enter the following general properties:
    • Column name. Enter var_FirstName_us.
    • Column type. Select variable.
    • Datatype. Select string.
    • Precision. Select 10.
    • Scale. Select 10.
    • Mandatory. Select the check box.
  16. Select the masking rule masking property. Configure the following masking properties:
    • Condition. Enter in_Country='us'.
    • Rule. Select the substitution rule you created in Step 2.
    • Override Properties. Click
      Edit
      . Enable
      Repeatable Output
      and
      Unique Substitution Data
      options, and click
      Save
      . The property appears as Yes (Overridden).
    • Lookup column. Select in_Gender.
    • Unique column. Selct in_Country.
    • Input column. Select in_FirstName.
    The following image shows the var_FirstName_us column properties:
    The left pane shows the general properties and the right pane shows the masking properties for the var_FirstName_us variable column.
  17. Click
    OK
    .
    The var_FirstName_us variable column appears in the list of variable columns.
  18. Click
    Create Input Column
    .
    The
    Add Column
    window appears.
  19. Enter the following general properties:
    • Column name. Enter var_FirstName_jp.
    • Column type. Select variable.
    • Datatype. Select string.
    • Precision. Select 10.
    • Scale. Select 10.
    • Mandatory. Select the check box.
  20. Select the masking rule masking property. Configure the following masking properties:
    • Condition. Enter in_Country='jp'.
    • Rule. Select the substitution rule you created in Step 2.
    • Override Properties. Click
      Edit
      . Enable
      Repeatable Output
      and
      Unique Substitution Data
      options, and click
      Save
      . The property appears as Yes (Overridden).
    • Lookup column. Select in_Gender.
    • Unique column. Selct in_Country.
    • Input column. Select in_FirstName.
  21. Click
    OK
    .
    The var_FirstName_jp variable column appears in the list of variable columns.
  22. Click
    Create Input Column
    .
    The
    Add Column
    window appears.
  23. Enter the following general properties:
    • Column name. Enter o_FirstName.
    • Column type. Select output.
    • Datatype. Select string.
    • Precision. Select 10.
    • Scale. Select 10.
    • Mandatory. Select the check box.
  24. Select the conditional inputs masking property. Configure the following masking property:
    • Conditional input. Select in_FirstName.
    The following image shows the o_FirstNames column properties:
    The left pane contains general properties and the right pane contains masking properties for the o_FirstName output column.
  25. Click
    OK
    .
    The o_FirstName variable column appears in the list of output columns.
    The following image shows the rule columns:
    The advanced rule contains the following columns: in_Country, in_FirstName, in_Gender, var_FirstName_us, var_FirstName_jp, o_FirstName.
  26. Click
    Next
    .
    Review the rule map that appears.
  27. Click
    Finish
    .
    The rule appears in the
    Policies
    view.

0 COMMENTS

We’d like to hear from you!