Oracle Cloud Infrastructure Documentation

Data Discovery Workflow

The general workflow for Data Discovery involves these main steps:

  1. Register the target database on which you want to discover sensitive data.
  2. Create a data discovery job using the Data Discovery wizard to discover the sensitive data on the target database and generate a sensitive data model (SDM). In the wizard, you follow these general steps:
    1. Specify the target database and schemas that you want Data Discovery to search.
    2. Specify the sensitive types to be used for data discovery. You can select individual sensitive types and/or categories of sensitive types. Optionally, you can instruct Data Discovery to find non-dictionary referential relationships.

      If you choose the non-dictionary referential relationships option, gather schema statistics on your target database before running the data discovery job to ensure accurate results. To gather schema statistics, you can run the dbms_stats.gather_schema_stats procedure. See GATHER_SCHEMA_STATS Procedures for information about the parameters that you can include. The following example gathers statistics on the HCM1 schema:
      exec dbms_stats.gather_schema_stats(ownname => 'HCM1');
    3. Run the data discovery job. Data Discovery identifies sensitive columns by examining column names, comments, data samples, object relations, and so on, and generates an SDM.
    4. Review the sensitive columns in the SDM. If needed, you can add and remove sensitive columns.
    5. (Optional) Before exiting the wizard, click Back, modify the selection of sensitive types, and rerun the data discovery job. Review the generated SDM again. Repeat this step until you feel the SDM is accurate and complete.
  3. Analyze your sensitive data in the target database by viewing the Data Discovery report.
  4. Manage the SDM:
    • Verify the SDM against the target databases with which you plan to use the SDM. Verification ensures that the target databases have the schemas and sensitive columns listed in the SDM.
    • Update the SDM when needed. You can use the Data Discovery wizard to perform incremental updates. You can also manually add and remove sensitive columns.
    • To use the SDM with other target databases, download and upload the SDM into a different Oracle Data Safe Library.