Create Data Masking Jobs
The Data Masking wizard guides you through the process of defining a masking policy for a sensitive data model and then masks the data on the database.
This task is divided into the following parts:
- Part 1: Select a Target Database
- Part 2: Define the Masking Policy and Sensitive Data Model
- Part 3: Review the Sensitive Data Model
- Part 4: Configure the Masking Formats
- Part 5: Schedule the Job
Parent topic: Data Masking
Part 1: Select a Target Database
This part gets you started by accessing the Data Masking wizard and selecting the target database that you want to mask.
Parent topic: Create Data Masking Jobs
Part 2: Define the Masking Policy and Sensitive Data Model
This part walks you through how to configure the Select Masking Policy page. This page provides options to create, upload, and reuse masking policies and sensitive data models. Decide on one of the following options.
Parent topic: Create Data Masking Jobs
Option 1: Create a Masking Policy and Sensitive Data Model
This option is an all-in-one workflow where you configure a data discovery job and a data masking job.
Option 2: Create a Masking Policy with a Sensitive Data Model from the Library
You can create a masking policy that reuses an existing sensitive data model from the Library. Use this approach if you have already discovered sensitive data on your target database.
- Make sure you are on the Select Masking Policy page.
- For Masking Policy, leave Create selected.
- Leave the default masking policy name as is, or enter your own.
- For Sensitive Data Model, select Pick from Library.
- Select the compartment to which you want the new masking policy to belong.
- Click Continue.
- On the Select Sensitive Data Model page, do the
following:
- Select a sensitive data model.
- Select Update the SDM with the target, Verify if SDM is compatible with the target, or View SDM without update/verification.
- Click Continue.
- If you chose to verify your sensitive data model:
- When the job is completed, verify that the Detail column reads Data model verification job finished successfully, and click Continue.
- On the Data Model Verification Result page, review the differences between your sensitive data model and the target database that you want to mask.
- If there are differences, make note of them, and then either exit the wizard or click Back and choose to update the sensitive data model instead.
- If there are no differences between your sensitive data model and the target database that you want to mask, click Continue.
- If you chose to update your Library sensitive data model:
- Wait for the sensitive data model to update.
- When the Status reads FINISHED, click Continue.
- If you chose to view the SDM without updating or verifying it, continue to Part 3.
Option 3: Create a Masking Policy with an Uploaded Sensitive Data Model
Use this option if the sensitive data model that you want to use for your masking policy is in XML file format. The following steps include uploading the sensitive data model into the Library.
Option 4: Reuse a Masking Policy from the Library
Use this option if you already have a masking policy in the Library that you want to reuse for the selected target database.
Option 5: Upload a Masking Policy and Sensitive Data Model
You can reuse an existing file-based sensitive data model and/or masking policy. This approach uploads your file(s) into the Library. To avoid waiting for large files to upload, Oracle recommends that you upload your files separately, beginning with the sensitive data model file. You can use the Data Discovery wizard or the Data Masking wizard to upload a sensitive data model file. During the upload, you can exit either wizard to continue with other work. From the Jobs page, you can verify that the upload has completed.
TIP: If you use the Data Masking wizard to upload your sensitive data model file, you need to choose the Upload (separate files for Masking Policy and SDM) option on the Select Masking Policy page. Select both your sensitive data model file and your masking policy file; however, during the upload, exit the wizard and only your sensitive data model will upload. After your sensitive data model has uploaded, return to the Data Masking wizard and select the Upload (file does not include SDM) option to upload your masking policy file. Also select the sensitive data model that you just imported into the Library. During the masking policy upload, you can exit the wizard and return to it later after the upload has completed. With your sensitive data model and masking policy now uploaded into the Library, start a new data masking job and select your masking policy from the Library.
Part 3: Review the Sensitive Data Model
This part walks you through the Sensitive Data Model page (or Sensitive Data Discovery Result page), where you can review the sensitive data model and add and remove sensitive columns as needed.
Parent topic: Create Data Masking Jobs
Part 4: Configure the Masking Formats
This part walks you through the Masking Policy page where you configure a masking format for the sensitive columns in your sensitive data model.
- (Optional) On the Masking Policy page, move the Expand All slider to the right to show all the sensitive columns and their masking formats.
- Review the default masking formats configured for each sensitive column.
- If you do not want to mask a sensitive column, deselect it.
- To add sensitive columns to the sensitive data model, click Add, select columns, and click Add To Policy.
- To edit a masking format for a sensitive column, perform the following
steps:
- To configure group masking:
- If you have existing pre-masking or post-masking scripts that you want to upload, click Upload Pre/Post Masking Scripts.
- Click Confirm Policy to create the masking policy.
- Continue to Part 5.
Parent topic: Create Data Masking Jobs
Part 5: Schedule the Job
This part walks you through the Schedule the Masking Job page where you can choose to run the job immediately or schedule it for later.
Parent topic: Create Data Masking Jobs