# Sensitive Data in Lookout


> Tag warehouse columns as PII or PHI so that people see real values only if they may, and the AI never receives them.



Owners and admins tag warehouse columns as **PII** or **PHI**. After that:

- **People** see the real values of a tagged column only if they may: owners, admins, and members with **Can see sensitive data** turned on. Everyone else sees them masked.
- **The AI agent never receives a value of a tagged column**, whatever the person's role. It can still filter, join, group, and count on a tagged column, but it can't return its values or anything computed from them.

**Announcement:** Sensitive data masking is in early access. To turn it on for your Lookout workspace, [contact your Customer Success Manager](mailto:support@rudderstack.com).

## Tag columns

Go to **Settings** > **Sensitive data** and choose a warehouse. Lookout lists the warehouse's tables and columns. It reads only names and types from the warehouse catalog, never values.

The page has two lists:

- **To review**: Columns that look like PII or PHI and that nobody has decided on yet. Members see them masked until you decide.
- **Tagged**: Every column tagged PII or PHI in this warehouse. Columns in **To review** are masked too, but they stay there until someone decides.

Select one or more columns and choose **Accept suggestions**, which gives each column its own suggested tag, **Tag as PII**, **Tag as PHI**, or **Dismiss**, which leaves a suggested column unmasked. A table's list also offers **Not sensitive**, which asks for confirmation before it unmasks. Select **Refresh** to read the warehouse again.

In a Lookout workspace with its own RudderStack workspace, untagging a column or dismissing a suggestion also needs a RudderStack admin of the organization, because it unmasks the column for every member.

Tags belong to the warehouse, not to a connection. If you remove a warehouse connection and connect it again, its tags are still there.

### Where suggestions come from

Lookout suggests a column for review when:

- **Its name looks sensitive**, such as `email`, `phone_number`, or `diagnosis`. For a column called just `name`, the table name decides: `name` looks sensitive in a `users` table, not in a `products` table.
- **Your warehouse already tags it**, so you don't tag the same column twice:
  - Snowflake object tags
  - Databricks Unity Catalog column tags
  - BigQuery policy tags

A warehouse tag that says PII or PHI wins over the name. If a column you dismissed gets a new warehouse tag, it goes back to **To review** and is masked until someone decides again.

Lookout reads each warehouse once a day in the background, so new columns and new warehouse tags are picked up without anyone opening the page.

**Warning:** On Snowflake, the daily read needs a running warehouse. It resumes a suspended warehouse once a day for each connected warehouse, which costs at least a minute of compute.

### Tag history

Every tag change is recorded with the column, the status before and after, who made it, and when. Lookout keeps the history after a column is untagged and after a connection is removed.

## Who can see values

| Person | Screens without AI | The AI agent |
|------|--------|--------|
| **Owner** and **Admin** | Real values | Never receives tagged values |
| **Member** with **Can see sensitive data** on | Real values | Never receives tagged values |
| **Member** | Masked | Never receives tagged values |
| Viewer of a **public dashboard link** | Masked | Not applicable |

**Can see sensitive data** is off for every member by default, and an invite never turns it on. A change of role turns it off.

### Turn on Can see sensitive data for a member

In a Lookout workspace with its own RudderStack workspace, only a RudderStack admin of the organization can turn it on or off.

1. Go to **Settings** > **Users**.
2. In **In this workspace**, select the person.
3. In **Permissions**, turn on **Lookout only: can see sensitive data** and confirm with **Show sensitive data**.

The switch is Lookout's own. It changes nothing in RudderStack. Select **History** to see every change to a person's switch.

**Info:** In a Lookout workspace that has no RudderStack workspace of its own, owners and admins change the switch from the actions menu of the person in **Settings** &gt; **General** &gt; **Members**.

## What changes when a column is tagged

### Chat and the agent

- A query that would return a tagged value is refused before it reaches your warehouse, and the agent says what is masked. It can rewrite the query to count or group instead.
- A warehouse error that could quote a value is hidden.
- The agent's memory and the suggested questions on **New chat** never hold a tagged value.
- A chat that started before a column was tagged starts fresh on its next message, so the agent doesn't see values it read before.

### Audiences and activations

- The audience preview shows `***` in every column built from a tagged column, for everyone. Owners, admins, and members with **Can see sensitive data** on can select **Show values** to reveal them for that preview only. Each reveal is logged.
- A saved rule's value on a tagged column reaches the agent as a placeholder, never as the value. The agent can still edit the audience, and saving it keeps your real value.
- The **Calculate** count works as before.
- Activations are not masked: a sync sends the real values of a tagged column to the destination. Mapping a column tagged PHI shows a warning that asks you to check whether your agreement with that platform allows health data, and the activation proceeds.
- An audience's column summary never shows the observed values of a tagged column (minimum, maximum, quantiles, top values), for any role.

### Dashboards

For a person who sees masked values, and for a public link:

- A **table** shows `***` in tagged columns.
- A **chart**, **metric**, or **funnel** that shows a tagged column is hidden.
- The SQL of a panel that reads a tagged column is hidden. A value written in that SQL and shown in the result also shows `***`.
- A filter whose values come from a tagged column loses its saved options and default and becomes a text box.

**Warning:** A dashboard with a panel that reads a tagged column can&#39;t be edited with the agent, and its dashboard chat is closed, for every role. This keeps the hidden SQL and values away from the AI.

### Workflows

While masking is on, workflows are open to owners and admins only. A workflow posts its rows as they are to the Slack channel an admin chose, **so tagged values can reach Slack**. Saving or activating a workflow that posts a tagged column shows a warning. A failed run's Slack notice carries no warehouse error text.

### Lookout MCP

Tools of the [Lookout MCP](https://www.rudderstack.com/docs/activate/lookout/integrations/external-mcp/index.md) follow the agent's rule: an AI client never receives a tagged value.

## Limits

- Lookout masks whole columns. It doesn't mask part of a value, such as all but the last four digits.
- A view's column is masked when the view reads a tagged column. On ClickHouse, Lookout can't read view definitions, so it masks every column of a view.
- Text a person writes is not masked: a dashboard title, a column alias, or a message typed in chat.
- Workflows can send tagged values to Slack, as described above.
- Activations can send tagged values to a destination, as described above.

<br />

