Snowflake Governance
November 2026
V
Venkat Edulakanti
Founder & Principal Consultant, Pravidha
Snowflake CoWork, the chat screen that was called Snowflake Intelligence until June 2026, lets business users ask questions of their data in plain language. An agent turns each question into SQL and answers it. For anyone who owns that data, one worry comes first: when a few hundred people start asking, does each of them still see only what they are allowed to see?
Snowflake’s documentation says the agent works with the user’s own credentials, so role-based access control and masking policies apply. We wanted to watch that happen, with row access policies as well. So our team built a small governed set-up in our own Snowflake account, on invented data, and put the same questions to an agent as two users with different access.
The short version: the policies held. Wherever we had put one, nothing got past it, in SQL or through the agent. But six things surprised us along the way, and each one is worth knowing before business users are let in.
One thing to be clear about first. Everything here ran in Pravidha’s own account, on synthetic data, in November 2026. It is a test of a small set-up we built ourselves, not a report from a client rollout.
The Set-up
The data is an invented telecoms company: 2,000 customers in seven Dutch provinces, with their subscriptions, invoices, usage and support tickets in five tables. There are no real customers, numbers or accounts in it.
Two users stand for the two kinds of people in a rollout. The champion is a business user in a pilot who may see everything: all 2,000 customers, with names and email addresses. The West analyst is a user in the wider rollout: 884 customers in three provinces, with personal data masked.
The restriction is not built into the agent. It sits on the tables. A tag drives masking on five personal-data columns, and row access policies filter every table by the province of the customer a row belongs to. On top sit one semantic view, which holds the business meaning, and one agent with a single tool, Cortex Analyst, which writes the SQL. Every query runs as the signed-in user, so the policies decide what comes back.
We proved it in three steps. First, 22 pass-or-fail checks in plain SQL, 11 as each role. Then the same five questions put to the agent as each role, from SQL. Then the two users signed in to CoWork and asked on screen.
What Held
We asked the agent the same five questions as each user, first from SQL and then on the CoWork screen. The table shows what came back from SQL, where we kept a full record of every answer and of the SQL the agent ran to get it.
| Question |
Champion |
West analyst |
| October 2026 revenue by province |
About 113,091, across seven provinces |
About 51,611, across three provinces |
| Which product brings in the most |
Bundle, about 466,600 |
Bundle, about 217,300 |
| Five customers in Utrecht, with email addresses |
Real names and addresses |
The same five customers, with *** masked *** in both columns |
| Customers in Limburg |
300 |
None |
| Total revenue |
1,003,972.68 |
465,554.57 |
Every figure agreed with the values we had worked out from the source files before asking. We built the whole thing from scratch twice on a paid account, and all 22 checks passed both times.
Masking showed up exactly where it should. Asked for five Utrecht customers with their email addresses, the champion got names and addresses. The West analyst got the same five customer numbers with *** masked *** in both columns, and the agent explained that those fields had come back masked for this role.
On the CoWork screen, with each user signed in as themselves, the answers we saw matched too.
One detail matters for everything that follows. The SQL the agent wrote read the base tables directly: invoices, subscriptions and customers, joined together. The semantic view tells the agent what the data means. It does not stand between the user and the tables, and a role that uses the agent needs read access to those tables as well.
Six Things That Surprised Us
1. A restricted user is not told that anything is hidden
Asked how many customers there are in Limburg, the West analyst was told there are none in the data, and that Limburg customers may not have been loaded yet. Asked for total revenue, the same user was given 465,554.57 as the total. Both answers are correct for what that role can see. Both would mislead someone who does not know that their view is limited.
Masking behaves differently. The agent sees the masked values, so it can say so. A row access policy leaves no trace: the rows are simply not there, and the agent cannot know what it was not shown.
The CoWork screen added a twist. The answer said nothing about a restriction, but when we opened the agent’s working notes, they said the result “could reflect a row access policy” tied to that user. We saw that once, so we would not rely on it either way.
The agent never showed the restricted user a figure they should not see. It also never told them that anything was missing.
Whether an agent should tell people that their view is limited, in its instructions, its description or its name, is a design decision. Make it on purpose, before the first regional manager asks why the company total looks small.
2. Protecting the customer table was not enough
Our first build put a row access policy on the customer table only. That seemed reasonable, because the customer table is where the provinces are. It was wrong in two ways.
First, the West analyst could still read all 21,741 invoices, worth 1,003,972.68, where the restricted answer is 465,554.57. Second, the semantic view keeps an invoice even when it cannot find a customer for it. So the revenue of the four hidden provinces did not disappear. It turned up in a row with no province. For October alone that row held 61,480.08, nearly all of it from provinces this user should not see.
The fix was a row access policy on every table the semantic view reaches, each one deciding by the province of the customer a row belongs to. After that, the West analyst saw 9,795 invoices and the right total.
3. Snowflake’s own data quality functions saw nothing on a restricted table
We set up data metric functions to count customers with no email address. Snowflake’s own function, SNOWFLAKE.CORE.NULL_COUNT, returned 0. A plain SQL count, run as the same role in the same session, returned 25.
A probe showed why. Asked how many customer rows it could see, a function owned by Snowflake saw 0, and a function owned by our own role saw all 2,000. A check that sees no rows reports no problems, so the 0 read as a pass.
Our reading is that the role check in our row access policy does not pass inside a function that Snowflake owns. That is our inference from the two results, and we did not find it stated in the documentation. Our policies decide by the roles active in the session, so a policy written another way may behave differently. We also called the functions by hand, and have not yet checked them on a schedule.
In our set-up we switched to functions our own role owns on the restricted tables. The wider point: before you trust a zero from any quality check, find out what that check can see.
4. Right number, wrong reason
The champion’s October revenue includes 243.05 that belongs to no province. The agent gave that figure correctly every time. Its explanation of why changed from one answer to the next, and one explanation was wrong.
The real cause sits in the data. Fifteen subscriptions have no matching customer, one of three problems we planted on purpose. Their invoices have no province to land in: 243.05 in October, and 2,485.17 across the whole data set.
The numbers held. The reasons the agent gave for them did not always. If people will act on the explanation as well as the figure, test the explanations too.
5. Secondary roles can quietly undo a test
Our policies ask which roles are active in the session, using IS_ROLE_IN_SESSION, and that includes secondary roles. A tester who holds both roles, with secondary roles switched on, can change to the restricted role and still see everything, because the wider role is still active.
CoWork starts a session in the user’s default role, and active secondary roles count there as well. So we tested with two real users, each with one role and secondary roles off. In a real rollout, look at which secondary roles your users have by default before you decide what a policy will show them.
6. A trial account builds the agent, then refuses to run it
On a trial account the agent was created and showed up in CoWork. Asked its first question, it returned “Access denied for trial accounts”. Snowflake’s trial page explains it: on a self-service trial, AI features only switch on once a card has been added to the account. On a paid account the same agent answered. Plan the pilot on a paid account, or you will find this out in front of an audience.
What We Have Not Tested
A test is only useful if it says where it stops. We have not yet tried:
- Profiles, a preview feature that routes each group of users to its own agents
- Restricted Session Scope, a ceiling on what an agent session may do, and policies that can tell when an agent is active
- A cross-region inference setting narrower than the one our account already had
- Data metric functions running on a schedule
- Changing the agent’s instructions so that it tells a user their view is limited
Those are next on our list.
Before You Open CoWork to Business Users
If we were starting again, this is the list we would work through first.
- Put a row access policy on every table a semantic view reaches, not only the one that holds the customer
- Prove the restriction in plain SQL first, as each role. If it holds in SQL and fails in CoWork, the problem is in the agent set-up and not in the policies
- Test as real users, with one role each and secondary roles off, on the CoWork screen itself
- Find out what your data quality checks can see on restricted tables. A zero can mean “no problems” or “saw nothing”
- Decide how a restricted user learns that their view is limited
- Read the agent’s reasons, not only its numbers
- Check where inference runs. Look at the account’s cross-region setting and choose it on purpose
- Run the pilot on a paid account
None of this is an argument against CoWork. The governance held wherever we had put it. Every surprise came from a place where we had assumed something instead of testing it, and that is the case for a small test before a large rollout.