Mask by who reads the dashboard, not by the BI tool's login
BI tools connect with one shared machine user. Formal resolves the person behind each query from Metabase, Looker, Omni, Sigma, Hex or your own app (through formal-sqlcommenter) and evaluates masking policies against that end user. Our post on the Metabase zero day makes the case: masking PII before it reaches the BI tool limits what a compromised dashboard server can expose.
input.end_usercarries the viewer’s groups, not the machine user’s- A viewer outside
pii_accessgets NULL where a privileged viewer gets the value - Logs and sessions show the end user next to the BI tool’s machine user
| name | ssn | |
|---|---|---|
| Jane Doe | NULL | NULL |
| Tom Berg | NULL | NULL |

