Creating a mask national ID numbers based on the country name or country code policy

You can use the privacy policy editor to create a mask national ID numbers based on the country name or country code policy in a data access plan.

You can add a policy to a data access plan that includes a selection policy.

To create a mask national ID numbers based on the country name or country code policy:

  1. Expand a Data Access Plans folder for a logical data model package in the Data Project Explorer.
  2. Double-click the data access plan to include the policy.
    The data access plan editor opens.
  3. Click Data Privacy.
    The privacy policy editor opens.
  4. From the Policies area, do the following:
    1. Select a Platform that will process the policy.
    2. From the Policy list, expand Identity Privacy Policies and ID, and then click Mask national ID numbers based on the country name or country code.
  5. From the Attributes list, select the attribute to mask with the policy.
  6. Click Apply.
    The Add Policy wizard opens.
  7. Complete the steps of the wizard.
    • You must select a source attribute to provide the switch values.
    • You can select a default policy that will be used for values that do not match the switch values.

You can use the properties area in the data privacy editor to provide a seed number from which the masked number is generated. You can also use the properties area in the data privacy editor to edit the regular expressions that determine the switch values.