Keep Shipping: the worked example

Five controls for AI agents, built into one platform

How Snowflake implements each control, and the configuration to switch them on.

Kevin Keller · kevinkeller.org

Why it matters

Agent projects die on trust, not cost

  • Five controls built into a platform get agents through the security review.
  • On Snowflake, all of them are generally available as of November 2026.
  • One identity, classification and policy layer covers Snowflake's own agents, partner agents and home-built agents.

At a glance

Every control maps to a shipping feature

ControlSnowflake capability
Agent identityAgent Identity
Privilege ceilingRestricted Session Scopes
Agent-aware data policiesMasking and row access policies that check for an agent
Data movement limitsData Movement Policies
Anomaly detectionTrust Center detections

What customers ask

Three questions, three short answers

The customer asksThe answer
Can an agent leak our data in bulk?No. Data Movement Policies cap it, the Trust Center flags unusual exports.
New rules for every agent?No. One policy covers every agent session.
What if an admin's agent errs?Restricted Session Scopes cap it, for example read-only.

Control 1: agent identity

You can only govern an agent you can recognise

  • Cortex Agents, CoCo and the managed MCP server are marked agentic automatically.
  • Your own or third-party agents: IS_AGENTIC = TRUE on the OAuth integration.
  • Autonomous agents: a user with TYPE = SERVICE_AGENT.
  • The gap: a regular user with a key pair or access token looks like a human.

Control 2: privilege ceiling

An agent never gets more than a slice of its user's rights

  • Effective access is the intersection of the user's roles and the scope.
  • Set once for the whole account, for example SNOWFLAKE$DATA_READ_WITH_AI.
  • Users can tighten it per chat, never loosen it.
  • No scope set means no ceiling: the agent has the user's full access.

Control 3: agent-aware policies

One tag-based policy covers every agent

Masking and row access policies check IS_AGENT_ACTIVATED and AGENT_TYPE.

  • Humans see the value as usual.
  • A curated Cortex Agent for the support team can see it.
  • Ad-hoc, MCP and external agents get a masked value, without listing them in advance.

Control 4: data movement limits

Access control and masking leave one question open

How much sensitive data can leave in a single operation?

Data Movement Policies set row budgets per channel, attached to classification tags. NULL means no limit, 0 means block, N means at most N rows.

Control 5: anomaly detection

Fixed budgets catch bulk. Baselines catch the unusual.

  • Data Movement Policy budgets are per statement, not cumulative.
  • Trust Center compares each user's 24-hour exports with their own baseline.
  • It flags the "stage it, then download it" pattern.
  • Sensitive Data Accessed by Agent fires when an agent reads sensitive columns with no masking policy.

The idea

Classify once. The guardrail follows the data wherever the tag goes.

Tags carry the masking and the movement limits into derived tables too.

Turning it on

Six steps, in order

  1. Make every agent identifiable: IS_AGENTIC, managed MCP, SERVICE_AGENT.
  2. Classify and tag sensitive data.
  3. Set an account-wide agent ceiling.
  4. Add agent checks to tag-based masking and row access policies.
  5. Attach Data Movement Policies: alert first, then enforce.
  6. Enable the Data Security and AI Security scanner packages.

The takeaway

Five controls, configured once, cover every agent you will ever run.

Read the full article

Kevin Keller · kevinkeller.org · Status as documented in November 2026. Views are my own.