Using the Discoverer
Discoverer Architecture and Components
The Discoverer component generates the Oracle Database Sensitive Data Assessment Report by executing SQL queries against the target database and collecting information according to the configured settings and pattern files. Its architecture comprises the components required to connect to the database, discover sensitive data, and produce assessment outputs.
Read More: Discoverer Architecture and Components
Configuring Dbsat.Config
Configure the Discoverer by copying the sample configuration from the DBSAT Discover/conf directory, renaming it for site-specific use, and editing its database connection, discovery, and sensitive-category settings. The [Database], [Discovery Parameters], and [Sensitive Categories] sections must remain in the file because removing them prevents the Discoverer from running.
Read More: Configuring Dbsat.Config
Configuration Settings
The configuration settings define database connectivity, SSL and wallet options, discovery scope, pattern files, minimum scanned rows, exclusions, and sensitive-data risk classifications. Database settings identify the target and connection method; SSL settings control encrypted connections and certificate stores; discovery parameters select up to ten pattern files, schemas, and scan thresholds; exclusion files omit specified objects; and sensitive categories are assigned Low, Medium, or High Risk levels.
Read More: Configuration Settings
Pattern File Configuration
Pattern files define the sensitive data types that the Discoverer searches for, with each type represented by a section containing COL_NAME_PATTERN, COL_COMMENT_PATTERN, and SENSITIVE_CATEGORY parameters. Column-name and comment patterns use regular expressions, while the category associates findings with a risk classification defined in the configuration file; the sensitive type name appears in the report’s Sensitive Column Details section.
Read More: Pattern File Configuration
Customizing The Pattern File
Customize sensitive-data detection by copying a language-appropriate pattern file from Discover/conf, modifying existing sensitive types or adding new ones, and saving the result under a new name. The customized file must then be referenced through the sensitive_pattern_files setting in the site-specific Discoverer configuration so it is included in scans.
Read More: Customizing The Pattern File
About Regular Expressions
Discoverer pattern matching uses regular expressions, which support literals, metacharacters, character classes, capturing groups, quantifiers, boundary matchers, and logical operators. These constructs control whether searches match substrings, exact values, positions, character ranges, repeated text, or alternative patterns, enabling precise detection of sensitive column names and comments.
Read More: About Regular Expressions
Configuring The Exclusion List File
An optional exclusion list can remove false positives or unwanted schemas, tables, and columns from discovery. Entries are placed one per line using schema, table, and column qualification as applicable, then the file is saved in Discover/conf and referenced by exclusion_list_file in the configuration; fully qualified column names from the CSV report can help create subsequent exclusions.
Read More: Configuring The Exclusion List File
Configuring Certificates And Wallets
Certificates and wallets are optional configurations used for secure database connections. Secure External Password Store can retrieve credentials from a wallet without interactive passwords, while SSL/TLS encrypts client-server communication and may require truststores, keystores, and certificates according to the database server configuration. These settings are needed only when using wallet-based authentication or SSL connections.
Read More: Configuring Certificates And Wallets
Running The Discoverer
Run the Discoverer with dbsat discover, specifying the configuration file and an output base name, optionally disabling output encryption with -n. The process prompts for database credentials and, unless encryption is disabled, an encryption key; it creates a .dbsat file that can be extracted with dbsat extract, subject to a 128 MB extraction limit, to obtain HTML, CSV, and other report files.
Read More: Running The Discoverer
Oracle Database Sensitive Data Assessment Report
The Discoverer produces the Sensitive Data Assessment Report in HTML, CSV, and JSON formats. The HTML report provides database identity, version, assessment timing, discovery parameters, category summaries, risk-based findings, schema-level details, and sensitive-column information; CSV supports downstream sensitive-data context workflows, while JSON supports integration with other tools. Report sections summarize sensitive tables, columns, rows, views, schemas, objects, categories, types, comments, and risk levels, with totals accounting for unique tables and rows even when findings span multiple categories.