Manage Masking Formats and Masking Policies

You can move user-defined masking formats and masking policies to different compartments and delete them as needed. You cannot delete Oracle predefined masking formats.

Change Target Database of a Masking Policy

Learn how to edit the target database of an existing masking policy.

  1. Under Data Safe - Database Security, select Data masking.
  2. Under Data masking, select Masking policies.
  3. Click the name of your masking policy to view its details.
    The Masking Policies Details page is displayed. The Details tab shows you the name and Oracle Cloud Identifier (OCID) of your masking policy, the compartment in which the masking policy is stored, the target database with which the masking policy is associated, the name of the sensitive data model, and when the masking policy was created and last updated.
  4. Change the target database associated with the masking policy by clicking Edit next to the Target database name field.
    The Change target database dialog will appear.
  5. (Optional) change the compartment by selecting a new compartment from the list.
  6. Select the new target database from the target database drop-down list.
  7. Click Update.

Move a Masking Format or Masking Policy to a Different Compartment

  1. Under Data Safe - Database Security, select Data masking.
  2. Under Data Masking, selecting Masking Formats or Masking Policies.
  3. Search for and click the name of the masking format or masking policy that you want to move.
    The Masking Format Details page or the Masking Policy Details page is displayed.
  4. Under the Actions menu, select Move resource.
    The Move Resource to a Different Compartment dialog box is displayed.
  5. Select a different compartment, and then click Move resource.
    The masking format or masking policy is immediately moved to the selected compartment.

Delete a User-Defined Masking Format or Masking Policy

Deleting a masking format is permanent and cannot be undone.

  1. Under Data Safe - Database Security, select Data masking.
  2. Under Data Masking, select Masking Formats or Masking Policies.
  3. Search for and click the name of the masking format or masking policy that you want to delete.
    The Masking Format Details page or the Masking Policy Details page is displayed.
  4. From the Actions menu, select Delete.
    A Confirm dialog box is displayed, asking you to confirm the deletion.
  5. Click Delete.
    The user-defined masking format or masking policy is immediately deleted.