Download or Upload a Sensitive Data Model in XML Format

You can download an XML version of a sensitive data model and upload it into Oracle Data Safe, replacing an existing sensitive data model or creating a new one. Before downloading a sensitive data model, you first need to generate it as an XML file.

About Downloading and Uploading Sensitive Data Models

There are several use cases for downloading and uploading sensitive data models, for example:

  • You have multiple test databases in different regions in Oracle Cloud Infrastructure, all with the same schemas, and you want to use the same sensitive data model for them all.
  • Your test database has moved to another region in Oracle Cloud Infrastructure and you want to move the sensitive data model with it.
  • Your sensitive data model is large and complex so you prefer to manually edit the sensitive columns in a text editor instead of going through the Oracle Data Safe interface.

Generate a Sensitive Data Model

  1. Under Security Center, click Data Discovery.
  2. Under Related Resources, click Sensitive Data Models.
  3. Under List Scope, select the compartment for your sensitive data model.
  4. To filter the list of sensitive data models, under Filters, do the following:
    1. (Optional) To search by state: From the State drop-down list, select a state (Any State, Creating, Updating, Active, Deleting, Deleted, or Failed).
    2. (Optional) To search by target databases: Select a target database from the Target database menu.
    3. (Optional) To search by name: In the Sensitive data model name box, enter the full name (it's case sensitive) of the sensitive data model name.
    4. (Optional) To search by date/time: In the Time created before box, click the calendar widget, and configure the year/month/day.
    5. Click Apply Filters.
  5. Click the name of your sensitive data model to view its details.
  6. Click Generate SDM.
    The Generate Sensitive Data Model for Download dialog box is displayed.
  7. Click Generate SDM and wait for the XML file to be generated.
    When the XML file is generated, a message states that the XML file generation is complete. You can download it using the Download SDM button.
  8. Click Close.

Download a Sensitive Data Model

After you generate an XML version of your sensitive data model, you can download it to your local computer.

  1. Under Security Center, click Data Discovery.
  2. Under Related Resources, click Sensitive Data Models.
  3. Under List Scope, select the compartment for your sensitive data model.
  4. To filter the list of sensitive data models, under Filters, do the following:
    1. (Optional) To search by state: From the State drop-down list, select a state (Any State, Creating, Updating, Active, Deleting, Deleted, or Failed).
    2. (Optional) To search by target databases: Select a target database from the Target database menu.
    3. (Optional) To search by name: In the Sensitive data model name box, enter the full name (it's case sensitive) of the sensitive data model name.
    4. (Optional) To search by date/time: In the Time created before box, click the calendar widget, and configure the year/month/day.
    5. Click Apply Filters.
  5. Click the name of your sensitive data model to view its details.
  6. Click Download SDM.
    In some browsers, the file is directly downloaded to the local download folder. In others, the Download Sensitive Data Model dialog box is displayed and you must complete the following steps.
  7. Click Download SDM.
    The Opening SDM-download.xml dialog box is displayed.
  8. Leave Save File selected, and click OK.
    The Enter name of file to save to dialog box is displayed.
  9. Browse to the location where you want to save the file, enter a file name in the File name box, and then click Save.

Upload a Sensitive Data Model

You can upload a sensitive data model in XML format into Oracle Data Safe. During the import, you can choose to update an existing sensitive data model or create a new one. When creating a new one, you need to select the target database to which the sensitive data model applies.

  1. Under Security Center, click Data Discovery.
  2. Under Related Resources, click Sensitive Data Models.
  3. Click Upload Sensitive Data Model.
    The Upload Sensitive Data Model window is displayed.
  4. To replace an existing sensitive data model, do the following:
    1. Leave the Update an existing sensitive data model tile selected.
    2. Select the sensitive data model that you want to replace. If needed, click Change Compartment and select a different compartment.
    3. Add your sensitive data model. There are two ways to do this. The first way is to drag your sensitive data model file (XML file) onto the Upload Sensitive Data Model File area. The second way is to click select one, browse to and select your XML file in the File Upload dialog box, and then click Open.
    4. Click Upload Sensitive Data Model.
  5. To create a new sensitive data model, do the following:
    1. Select the Create a new sensitive data model tile.
    2. Enter a name for your new sensitive data model.
    3. Select the compartment in which you want to store your sensitive data model.
    4. (Optional) Enter a description for your sensitive data model.
    5. Select the target database to which your sensitive data model applies.
    6. Add your sensitive data model. There are two ways to do this. The first way is to drag your sensitive data model file (XML file) onto the Upload Sensitive Data Model File area. The second way is to click select one, browse to and select your XML file in the File Upload dialog box, and then click Open.
    7. (Optional) To add tags, click Show Advanced Options, and create tags.
    8. Click Upload Sensitive Data Model.
      It's important to leave the window open during the upload process.