Skip to content

Sensitive Data

Sensitive Data (/assurance/sensitive) shows which tables and columns hold sensitive data, how that was decided, who accessed them, and how they can be masked. This page describes the seven tabs: Overview, Catalog, Discovery, Sensitive data, Classification rules, Assistant review and Masking.

Community Enterprise

Feature Edition
Overview, catalog, name rules, discovery from logs, findings, classification rules Community and Enterprise
Active scan (connects to the database) Enterprise
Assistant review Enterprise
Masking suggestions (read) Community and Enterprise
Masking preview, apply, rollback, drift tracking, evidence report Enterprise

Who can open it: administrator, analyst, DBA and auditor.

Action Who
Read every tab All four roles
Reclassify the catalog; try rules; Ask the assistant for one finding Administrator and analyst
Manual labels, rules, scan targets and credentials, settings, false positives, starting assistant reviews, masking changes Administrator

How sensitivity is decided

Sensitivity comes from four sources. A manual label always wins.

flowchart LR
  A[Object names in logs<br/>name rules] --> C[Catalog]
  B[SQL text in logs<br/>discovery from logs] --> C
  S[Active scan<br/>column names and samples] --> C
  M[Manual label] --> C
  C --> G[Groups, alerts, reports]

Priority: manual label, then active scan, then name rules with log evidence, then log-only evidence. Raw values are never stored; only the matched word or rule, the match count and ratio, and a masked shape (digit → N, letter → A) are kept.

Each object gets a level (Critical, High, Medium, Low, Not sensitive) and one or more classes: PCI payment card, PII personal data, PHI health, FIN financial, CRED credentials. Regulations (for example KVKK, GDPR, PCI DSS, HIPAA) are recorded with the class.

Overview tab

Sensitive Data → Overview: stat cards, By data class, Operations on sensitive objects, Top accessors and Monitored sensitive objects tables. Role: analyst.

Section Content
Sensitive objects Total in the catalog.
Critical, High, Medium, Low Objects per level. Click a level card to open the Catalog tab filtered by that level.
Manually labelled Objects whose level was set by hand ("overrides the automatic result").
Monitored (30 days) / Silent (30 days) Sensitive objects with and without activity in the last 30 days.
Data horizon Reference of the 30-day window (the newest event).
By data class Counts per PCI, PII, PHI, FIN, CRED. Catalog entry source shows automatic, manual, scan and log entries.
Operations on sensitive objects Distribution of operations over the last 30 days.
Top accessors of sensitive data User, Events, Objects, Operations, Failed.
Monitored sensitive objects Object, Level, Events, Users, Last activity. Click a row to open Access: with the users who accessed it (User, Operations, Events, Failed, Server, Last day).
Recent critical activity Latest writes, deletes and schema changes on sensitive objects: Last day, User, Operation, Object, Level, Server, Events. When there are none: "No writes, deletes or schema changes seen on sensitive objects."

On a new installation a warning reads "The catalog is still empty. Run reclassification from the "Catalog" tab." Empty tables show "No records". While the data loads, placeholder cards are shown; if loading fails, an error box with a retry button appears (this applies to every tab on this page).

Catalog tab

Sensitive object catalog: every object classified as sensitive. The filter row has Search ("table / collection name"), Level, Class (PCI, PII, PHI, FIN, CRED) and Source (automatic, scan, log, manual); each defaults to All. The list is paged below the table.

Column Meaning
Object Database and table or collection.
Level, Class Classification.
Score Weighted rule score; a higher score raises the level.
Source automatic, manual, scan or log.
Events, Last activity Activity seen in logs.

Reclassify re-runs the name rules over all objects seen in logs ("N objects scanned, M sensitive objects found").

Click a row to open the object:

Section Content
Summary Level, Score, Class, Regulations, Source (for a manual label, with the user who set it), Note, First seen, Last activity.
Why is it sensitive? Table with Rule, Matched word, Weight and Source; scan evidence shows the column-name or value match. When nothing matched: "No automatic match (manually labelled or not sensitive)."
Manual label Level (including Not sensitive), Class check boxes and Note. They replace the automatic result and survive reclassification. Save label; Remove manual label appears only when the object has a manual label. Administrator.
Who did what on this object? Access in the selected period: User, Operations, Events, Failed, Server, Last day. When there is none: "No access to this object seen in the selected period."

Discovery tab

The Discovery tab has two methods as sub-tabs: Active scan and Discovery from logs. In the Community edition Discovery from logs is the default; Active scan carries an Enterprise badge and shows an Enterprise notice instead of the scan screen.

Active scan

Enterprise

Active scan connects to the database with a read-only account, reads table and column details, takes a limited sample from columns, tests it against the rules and adds sensitive tables to the catalog. Database servers seen in the logs are listed automatically; you enter only the scan account's user name and password.

Discovery → Active scan: statistics, "N server(s) need a scan account" banner, scan targets table with states. Role: administrator.

Statistics: Servers (found in logs + added manually), Waiting for credentials, Scanned servers (with "last scan … ago"), Failed, Databases ("N tables · M columns"), Tables sampled, Sensitive columns (with a count per level).

Banners: "N server(s) need a scan account" when targets wait for credentials; for administrators, a red warning when scan passwords are stored but no separate encryption key is configured.

Buttons: Add server (a server not yet in the logs; host name or IP only), Rediscover from logs (lists servers seen in logs again now; normally scheduled), Scan settings, How to create a scan account, and Sensitive data found (N), which opens the Sensitive data tab filtered to active-scan findings. Only How to create a scan account and Sensitive data found (N) are shown to non-administrators.

Scan targets table:

Column Meaning
Server Name, host:port, auto or manual; hovering the name shows "N log events". A TLS mode that does not verify the certificate is marked "unprotected (open to MITM)".
Engine PostgreSQL, MySQL/MariaDB, SQL Server, Oracle, MongoDB, Couchbase. Other engines are Unsupported (monitored as log sources only).
Databases "N database(s)" and the first two database names; databases read from the server are listed first.
Status Scanned, Credentials required, Failed (with the last error), Scanning, Queued, Unsupported, Ignored, Paused.
Last scan Time of the last scan; "next:
Sensitive columns Count with the highest level, and "N tables · M columns".

Row actions: Enter credentials (targets waiting for an account), Scan now (targets with stored credentials; shows Scanning… while a scan runs) and Details. Click a row to open the target. With no targets: "No targets yet. Use “Rediscover from logs” to find servers or add one manually."

In the target dialog, on the Connection & credentials tab, administrators also get Sample rows (10–10,000, for this scan only) with Scan now, Cancel scan while a scan runs, Ignore / Stop ignoring for targets discovered from logs, and Delete target for manually added targets only.

The target detail has four tabs:

Tab Content
Connection & credentials Summary (Server, Connection encryption (TLS), Status, server version, Last scan, next scan, log events and databases seen in logs) and the last error when the target failed. Username, Password, Test connection (does not save; on success shows the server version and visible databases, on failure the error and a hint for its class: authentication, network, TLS, permission, timeout, configuration), Save and scan. With stored credentials: "Stored scan account: ", Change account, Test connection, Remove credentials. The password is stored encrypted, never shown and never written to the audit log. For MongoDB, No authentication (server authorization disabled).
Databases Database, Source (read from the server, seen in logs only (no successful scan yet), system database (not scanned), not scanned (include/exclude list), or not on the server at the last scan), Tables, Columns, Sampled, Sensitive columns, Last scan, and the last error per database.
Settings Name, Server address, Port (default per engine; the port seen in logs is suggested), service field (Oracle Service name (required), PostgreSQL maintenance database, SQL Server initial database, MongoDB authentication database), Connection encryption (TLS): verify (recommended; certificate validated), require, prefer, disable; CA certificate (PEM, optional) (shown only with verify); Only these databases, Excluded databases (comma-separated, * allowed); per-target Sample rows per table and Scan interval (hours) (0 = global setting); Value sampling (content scan); Include this target in scheduled scans. Non-administrators see the fields read-only. Changing the address or port deletes the stored password.
History Scan runs: Started, Duration, Status (Running, Succeeded, Partial, Failed, Cancelled), Databases, Tables, Sampled, Sensitive columns, Trigger (scheduled, or manual with the user), and notes (error and warnings).

Scan settings (global):

Setting Meaning
Scheduled automatic scanning is on Master switch.
Value sampling (content scan) Sample column values; off means names only.
Scan interval (hours) Default 24 (1–720).
Sample rows per table Default 100 (10–1,000).
Max tables sampled per database 0 = no limit (default); otherwise 10–100,000. With a limit, tables seen in logs and with sensitive names are sampled first.
Concurrent scans Default 2 servers at a time (1–8).
Discovery interval (hours) How often new servers are looked up in the logs (default 6, 1–168).

How to create a scan account shows a least-privilege, read-only account script for each engine. QubeSight runs only SELECT. If no separate encryption key is configured on the server, a warning says passwords are encrypted with the default key; see Sensitive-data scan targets.

Discovery from logs

Finds sensitive columns from the SQL text already in the audit logs, without connecting to any database and without an account. The columns each statement uses and the values bound to them are checked against the rules.

Element Meaning
Last analysis Status of the last run (ok, partial, failed, running, no change) and how long ago it ran; "has not run yet" before the first run.
Analysis window Days analysed, "N events · M statements".
Objects with evidence, Sensitive columns ("N evidence rows"), Found only via logs Results.
Next analysis Time of the next scheduled run, or "off"; below it, the count per level.
Banners "The last log analysis failed" with the error; for a partial run, whether the time or the memory budget ran out.
Analyse now Starts an analysis (administrator). The button shows Analysis running… while a run is in progress; the page refreshes by itself. If logs and rules did not change, the run reports no change and rewrites nothing.
Settings Opens the settings dialog (administrator; see below).
Sensitive data found (N) Opens the Sensitive data tab filtered to findings from discovery from logs.
Analysis history Runs with Started, Duration, Status, Events, Unique statements, Objects ("N sensitive"), Findings, Trigger (scheduled, or manual with the user) and Notes (error, time or memory budget ran out, "Logs and rules did not change; the analysis was skipped.", no SQL in the window). Empty: "No analysis has run yet. Start one with “Analyse now” or wait for the first scheduled run."

The columns found in logs are listed on the Sensitive data tab with the source Discovery from logs.

Settings for discovery from logs (administrator):

Setting Meaning
Scheduled automatic analysis On by default.
Analysis frequency (hours) Default 6 (1–168).
Window (days) The most days to look back from the newest event. Default 400 (1–3,650).
Maximum events The most log rows scanned in one analysis; the oldest days are skipped beyond it. Default 30,000,000 (100,000–500,000,000).
Statements per object The most unique SQL statements examined per object. Default 48 (8–256).
Maximum objects The most tables or collections examined in one analysis. Default 20,000 (100–100,000).

Raw SQL and values are not stored; only the column name, rule, match count and masked shape are kept.

Sensitive data tab

Sensitive data found: every sensitive column found by active scans and by discovery from logs. Values are not shown.

The filter row above the table:

Filter Options
Search Free text over database, table, column, server or rule.
Source All, Active scan, Discovery from logs.
Class All, PCI, PII, PHI, FIN, CRED.
Level All and the levels.
Evidence All, value, column name, context.

Changing a filter returns to the first page. The Sensitive data found (N) buttons on the Discovery sub-tabs open this tab with Source preset.

Column Meaning
Source Active scan or Discovery from logs.
Location Database and table, with the server and engine.
Column Column name. "(?)" means the value could not be tied to a column, for example an INSERT without a column list.
Class, Level Classification.
How it was found The rule, followed by the evidence: value with the ratio, the match count and the masked shape; column name with the matched word; or context (sensitive because of the table it is in).
Regulations Regulations recorded with the class.
Found, Last confirmed Dates.

The list is sorted by sensitivity (highest first) by default. Click a column header to sort by it, and click again to reverse; Regulations cannot be sorted. Drag a header to move a column, drag its right edge to resize it (double-click the edge to restore the default width). The layout is remembered in your browser; Reset columns restores the default order and widths. Export as CSV exports all rows matching the filters (no page limit; administrator or reports:export; written to the audit trail).

Below the table: "a–b of n", Per page (25, 50, 100 or 200; default 25), first page («), Previous, "Page p of n", Next and last page (»). With no match: "No sensitive data matches the filters."

Click a finding to open Sensitive data: . It shows Source, Location, Server, Column, Class with level and score, Regulations, Found and Last confirmed, and Why was it found sensitive? (for example "The name of column "x" matched "y" in the word list of the "z" rule." or "N of M sampled values (P%) matched the "z" rule. Masked shape of a matching value: NNNN…"). In Enterprise, administrators and analysts also get Ask the assistant; its result appears in an Assistant's assessment block with the confidence, the reason and, if different, the class suggested by the assistant. Administrators get the Mark as false positive form; other roles see "Only an administrator can mark false positives.":

Field Meaning
Only this column / Every column of this table Scope of the exception.
Also remove "" from the word list of the "" rule Shown only for column-name matches. Affects every database.
Why is it a false positive? Reason, written to the audit trail.

Click Mark as false positive in the dialog footer. The finding is removed and an exception is added to the rule, so later scans and log discovery do not report the same place again. The exception can be deleted inside the rule on the Classification rules tab.

Classification rules tab

Rules decide what is sensitive. Each rule has a target:

Target Kind Looks at
Table name word list Words in the table or collection name.
Column name word list Words in the column name (scanning and log discovery).
Value regular expression or value list, optionally with a check-digit validator Sampled column values.

Built-in rules cover payment cards, identity numbers, health, passwords and secrets, bank accounts, salary, personal records, contact details, user accounts; column-name rules for card, national ID, tax number, IBAN, credentials, tokens and hashes, e-mail, phone, address, person name, birth, gender, health, finance, biometric and special-category data; and value rules such as card number (Luhn + scheme prefix), Turkish national ID, IBAN (mod 97), tax ID, US SSN, e-mail, phone, private key, connection string with password, AWS access key, JWT, password hashes, hexadecimal hash, vehicle plate, ICD-10 code, blood group, gender and first/last name lists.

Field Meaning
Name, Description, Class, Regulations, Enabled Basic fields.
Target, Type Table name, Column name or Value; for a value rule, regular expression (regex) or value list.
Whole words, Prefixes For word lists; a multi-word entry matches consecutive words.
Weight 1–100; a higher score raises the level.
Regular expression (regex) Go RE2 syntax.
Check-digit validator None, Payment card (Luhn + scheme prefix), Luhn (mod 10), Turkish national ID (TCKN), Turkish tax ID (VKN), IBAN (mod 97).
Value list, Matching One value per line; Exact match or All words in the list.
Minimum ratio (%), Minimum matches Defaults 20% and 3 values.
Column name hints Apply the value rule only to columns whose name contains these words.

Rule list

Sub-tabs above the list filter by target: All rule types, Table name, Column name and Value, each with its rule count. The list shows 16 rules per page.

Column Meaning
(toggle) Enables or disables the rule in place. Administrators only; read-only for other roles.
Rule Name and description, with badges: built-in, modified (a built-in rule changed from its default) and N exceptions (places excluded by false-positive marking).
Target Table name, Column name or Value, with the kind below (word list, regular expression or value list).
Class PCI, PII, PHI, FIN or CRED.
Weight 1–100.
Definition The words and prefixes, the pattern with its validator, or the first values of the list.
Threshold For value rules: minimum ratio and minimum matches, and whether name hints are set.
Regulations Regulations recorded with the class.
(actions) Administrators: edit (pencil) and, for custom rules only, delete (bin). Other roles see Exceptions on rules that have exceptions.

New rule (administrator) opens an empty rule form. Deleting a custom rule asks "Delete the rule ""?" first; built-in rules cannot be deleted, only disabled or reset.

Rule form

Built-in rules can be edited (word lists, patterns, weight, thresholds); the name, class, target and validator come from the product. A modified built-in rule is marked modified; Reset to default removes the changes (exceptions and the enabled state are kept). Exceptions (N) lists places excluded by false-positive marking; deleting an exception lets the next scan or log discovery report it again.

Try the rule tests a rule on sample values (and an optional column name) before saving; values are not stored. It shows how many values matched and whether the column would be flagged.

Assistant review tab

Enterprise

The assistant reviews discovered findings and estimates how likely each is to be correct.

Assistant review tab: bucket filter (Correct / Needs review / Likely wrong / Not reviewed), findings with confidence and the assistant's assessment, a running review progress bar.

The panel title shows an Enterprise badge and On or Off.

When the review is off, a panel reads Assistant review is off and explains what is sent to the model when it is on. Administrators get Enable and configure, which opens the settings; other roles see "Only an administrator can enable it." Start review is shown only while the review is on.

Status lines under the title:

  • "Model: · sent to the model: ", for example "local model" with "real values + up to 5 table rows", or the large-model provider with its data policy (open, smart masking, strict).
  • After a run: "Last review:
  • During a run, a progress bar: "Queued: N findings" or "Review running: d / n findings". Administrators get Cancel; after it, "Cancel requested · stops after the current batch". If the model server cannot be reached: "The model server could not be reached; the review is paused and will retry on its own."
Element Meaning
Bucket cards Correct (confidence ≥ 90%), Needs review (31–89%), Likely wrong (≤ 30%) and Not reviewed, each with the count, the share and the top classes. Click a card to filter the list; click it again to clear the filter.
Filters Search (database, table, column, rule or reason), Class, Source (Active scan / Discovery from logs).
Columns Check box (administrator), Finding (object, column and rule), Class (with an arrow to the class suggested by the assistant when it differs), Confidence, Assistant's assessment ("This finding has not been reviewed yet." when not assessed), Decision (Confirmed / False positive), and an assistant icon to assess one row (administrator and analyst).
Paging "a–b of n", Per page (25, 50 or 100), Previous, "Page p of n", Next. Empty: "No findings match this filter."
Start review Opens Start review with the scope Findings not reviewed yet (N), All findings, again (N) or Selected findings (N); for the first two, the on-screen Class and Source filters also apply. Shows "Estimated time: about N minutes on the local model."; the review runs in the background and you can leave the page.
Bulk actions With rows selected (administrator): Confirm, False positive (asks for a reason; same effect as on the Sensitive data tab; the assistant's reason is used when you leave it empty), Review again, Clear selection.
Ask the assistant Assess one finding now (administrator and analyst). It can take a few minutes on the local model; it does not work while the review is off.
Settings Administrator; see below. Non-administrators see "Deciding and starting reviews is open to administrators."

Click a row to open Assistant review · :

Part Content
Finding Location, Column, Server, Class with level and score.
Discovery evidence Why the finding was made (same text as on the Sensitive data tab).
Assistant's assessment Confidence bar, reason, suggested class if different, Model (local or large model and its name), Sent to the model, Assessed time, and "Decision: …" with who decided and when.
Reason (for a false positive) Administrator. If empty, the assistant's reason is used.
Buttons Close, Ask the assistant (administrator and analyst), Confirm (administrator, only after an assessment) and False positive (administrator).

Settings (administrator):

Setting Meaning
Assistant review is on Off by default. While off, no review starts and Ask the assistant does not work; a running review pauses and resumes when it is turned on again.
Model that assesses Local model (Gemma 3 4B): data never leaves the server; about 2 minutes per prompt of 8 findings. Active large model: uses the provider's data policy; falls back to the local model on failure. If no large model is active, the local model is used.
Sample data sent to the local model Real values + table rows (recommended) (a few values per column and up to 5 rows of 12 columns; never stored), Value shapes, or Send no samples (only names, the data type and the rule evidence).
Sample data sent to the large model Shown only when Active large model is selected: Value shapes (recommended), Real values (at most 40 characters per value; sent only when the provider's data policy is open, otherwise lowered to shapes), or Send no samples. Table rows never go to a large model.
Samples per column (1–10, default 5), Findings per prompt (local model) (1–20, default 8), Prompts per minute at most (1–120, default 20) Throughput controls.

What the model actually receives summarises the effective setting for each model. Samples are read live with the scan target's credentials and are not stored.

Masking tab

The Masking tab turns findings into masks using the database's own masking feature; QubeSight does not act as a proxy: SQL Server Dynamic Data Masking, Oracle Data Redaction, PostgreSQL Anonymizer, or a masked view for MySQL and MongoDB.

In Community, suggestions are readable; "Preview, apply, rollback, drift tracking and the evidence report need an Enterprise licence."

Masking → Suggestions with a target selected, suggested mask per column and the "Turn selected into rules" button; preview dialog with apply and rollback commands. Role: administra

Element Meaning
Target A scan target, or All targets.
Mode Shown when one target is selected (Enterprise): Direct apply (a separate masking credential is stored; QubeSight runs the commands and verifies them in the catalog) or DDL export only (no masking credential; commands are handed to your DBA as a .sql file).
Masking credential Administrator, when one target is selected; opens the credential dialog (see below).
Statistics Enterprise: Rules, Applied, Drift.

The Masking credential dialog: "The scan credential stays read-only. For QubeSight to apply masks, enter a separate account with write privileges on this target; without it only the DDL is exported."

Field Meaning
Username The masking account on the database.
Password (database account) Its password.
Your password Your own QubeSight password, asked again to confirm the change.
Least-privilege script The grants the masking account needs, with a copy button.

Save is enabled when all three fields are filled. Remove credential appears when a credential is stored; the target then returns to DDL export only.

Sub-tabs:

Sub-tab Content
Suggestions Findings of actively scanned targets: Column (with the data type), Target (with the engine below it), Class, Assistant confidence, Suggested mask (or Not supported; a column that already has a rule shows the rule status, and a view-based method is noted as "Masked view (application must read the view)"), Why (on wide screens). A search box ("Search column, table, class or target…") filters the list and shows "N of M suggestions". Select columns and click Turn selected into rules (N) (Enterprise, administrator). Empty: "No suggestions. Findings of actively scanned targets (Sensitive Data → Discovery) become masking suggestions here."
Rules Column (with the method below it: Database's own mask or Masked view (application must read the view)), Target, Suggested mask, Status (Draft, Applied, DDL handed over, Failed, Rolled back, Drift) with the last error or who applied it and when. Row actions: Preview; for rules not yet applied, Apply (or Download DDL when the target has no masking credential), Edit and delete (bin icon; asks "Delete the masking rule for column … on …?" and deletes only the QubeSight record; nothing changes in the database); for applied rules, Roll back. Select rules and click Apply selected (N); Check drift now is also available here. Empty: "No rules yet. Select columns on the Suggestions tab and turn them into rules."
Exemptions & drift One card per target and database, with "Last check:
History Time, Action, Who, Status and DDL (the first command or the error); the latest 200 events.

Evidence report (CSV) (Enterprise) is a link to the right of the sub-tabs on every sub-tab; it exports the masking evidence for the selected target. In Community the Rules, Exemptions & drift and History sub-tabs are disabled and marked with a lock.

Edit mask offers the mask functions Full mask, Partial (start/end visible) (with Visible leading characters, Visible trailing characters, Padding), E-mail mask, Random number (Minimum, Maximum), Year only and NULL. For PostgreSQL targets, Roles that see masked data (comma-separated).

Preview — nothing was changed shows the mode and method, Commands to apply, Rollback commands, Warnings (including the preflight results), Lock impact, Who can see it unmasked (current catalog) and Required privileges (GRANT script). Apply, Download DDL, Apply selected and Roll back ask for Your password again and are written to the audit log. This is your local QubeSight password: LDAP and SSO accounts have none, so they cannot apply or roll back masks or store a masking credential. On a target without a masking credential, nothing is written to the database: the commands are downloaded as a .sql file and the rule becomes DDL handed over (or Rolled back).

Built-in alert rules watch masks: "Database mask removed or changed", "Unmasked access granted" and "Masking-changing statement ran".

Limitations

  • Active scan reads a limited number of rows per table (default 100); very large tables may not be represented fully by the sample.
  • The scan sees only objects the scan account can read; unreadable tables are skipped and the run is Partial.
  • SQL Server and Oracle scan connectors have been tested with unit tests only; use Test connection first. Couchbase needs a primary index on the collection.
  • Ports discovered from logs can be wrong; correct them on the target's Settings tab and re-enter the password.
  • TLS modes prefer, require and disable do not verify the server certificate; a man in the middle could capture the scan account.
  • The person-name list covers Turkish and common English names; extend it in the rule if needed.
  • Assistant review on the local model is slow (roughly 20 seconds per finding); results are model estimates.
  • Masking limits (from the product): privileged users see unmasked data; SQL Server Dynamic Data Masking is open to inference through WHERE clauses and is not a real security boundary; view-based methods need an application change.