You can create your own masking format for a sensitive column from the Library or while you are defining a masking policy in the Data Masking wizard. If you add a masking format to the Library, you can select it when you define a masking policy.
This article has the following topics:
About User-Defined Masking Formats
The basic masking formats enable you to customize the masking logic to meet your specific requirements. However, in the Data Masking wizard, you need to provide input for these masking formats every time you are creating a masking policy. To avoid this repetitive work, Oracle Data Safe provides you the capability to store your customizations in the Oracle Data Safe Library as user-defined masking formats. You can use these masking formats in the future without needing to provide the input values.
For example, assume that you want to mask a national identifier that has ten digits. In the Oracle Data Safe Library, you can create a new masking format, say My National Identifier, using the Random Number masking format. Random Number takes two inputs: Start Number and End Number. You can provide 1000000000 as the Start Number and 9999999999 as the End Number, and then save your masking format in the Oracle Data Safe Library. In the future, to mask a column containing that national identifier, you can simply choose the My National Identifier masking format. Input is not required. If you have a sensitive type to discover your national identifier, you can also set My National Identifier as the default masking format for that sensitive type. This way, whenever you discover columns using this sensitive type, Data Masking selects the mapped masking format by default.
Create a Masking Format
- Click the Library tab. The Library page is displayed.
- Click Masking Formats. The Masking Formats page is displayed.
- Click Add. The Create Masking Format dialog box is displayed.
- Specify the details for the masking format.
- If you want to create a masking format based on an existing masking
format, select a predefined masking format from the Create
Like drop-down list.
Selecting a predefined masking format automatically populates the fields. If needed, you can edit the fields.
- If you would like to create a masking format from scratch, specify a masking format name and description.
- Select the compartment to which you want your masking format to belong.
- If you want to create a masking format based on an existing masking format, select a predefined masking format from the Create Like drop-down list.
- Configure the masking formats.
Note:You cannot create conditions here. You can create conditions when you modify a masking format in the Data Masking wizard.
- From the drop-down list, select a masking format and configure its parameters.
- To add another masking format, click Add Format and configure its parameters. The results of the masking formats are concatenated together.
- To delete a masking format, click Delete Format.
- Click Save.Your new masking format is now displayed on the Masking Formats page. You can select your masking format whenever you create a data masking job.