# Adding a Data-Masking Policy for Salesforce

You can create a data masking policy for Salesforce data. A data-masking policy contains a set of Salesforce objects and fields to mask and the masking strategy to use to mask the data. The data masking strategies depend on the data type. For example, if the data type is "date", then you can use the shuffling masking type. For easier management, use separate data-masking policies for each backup set.

Caution

The changes that data masking makes to the data are irreversible and might destroy the data. Data masking is intended for restoring production data to a sandbox.

## Before You Begin

You must run a backup before you add your first data-masking policy.

## Procedure

1. From the Command Center navigation pane, go to Protect > Salesforce.

   The Salesforce Overview page appears.

2. Go to the Organizations tab.

3. In the Name column, click the app.

   The app details page appears.

4. In the upper-right corner of the page, click the action button , and then click Data masking policies.

   The Data masking policy page appears.

5. Click Add policy.

   The Add masking policy dialog box appears.

6. In the Policy name box, enter a name for the policy.

7. In the Configuration section, click Add.

   The New config dialog box appears.

8. From the Object list, select an object to be masked.

9. From the Fields list, select the fields to mask.

10. From the Type list, select the type of masking to use.

    If you select more than one field, then the data-masking types that are applicable to all the selected fields are shown.

11. If the data masking type requires inputs, enter the inputs:

    - If you selected Fixed string, in the String box, type the string to use as a replacement.

    - If you selected Numeric range, in the Min and Max boxes, enter the minimum and maximum values to use to generate the random number.

    - If you selected Numeric variance, in the Max percentage box, enter the maximum percentage to use to vary the data.

12. Click Save.

13. Click Save.

×

Loading...