Access auditread-only

Who can read your sensitive columns,
and through which roles?

VibeWright Access Map for Snowflake is a read-only access audit. It maps every user to every table and tagged column they can read, shows the chain of roles that gives them that access, and flags sensitive columns anyone can read in cleartext. Fixes come as a dry-run script, with an undo for every line.

No credentials are shared with me and nobody logs in to your account. The free self-check runs in your own worksheet, so nothing leaves your machine. For the full audit you send a metadata export you can read first: grants, roles, users, tags and policies, never table data.

HOW IT WORKS

Three steps, and no login to your account

1. Run the free self-check
Paste the script into a Snowsight worksheet and choose Run All. The last statement is a scorecard of the top three findings: who can use ACCOUNTADMIN and through which roles, PII-tagged tables granted to PUBLIC, and PII-tagged columns with no masking policy. Every statement is a SELECT on SNOWFLAKE.ACCOUNT_USAGE.
2. For the full audit, run the read-only export
After you order, I send the export script. Run it in a worksheet and download each result as a CSV, or run the same SQL from the command-line exporter over your own connection. About a dozen metadata queries. You can read every file before you send the bundle.
3. I deliver the report
Within 3 business days of receiving the bundle: the HTML report, the findings as JSON and CSV, dry-run revoke and undo scripts, and a short write-up of what to fix first.
WHAT IT CHECKS

Who can read what, plus 23 ranked checks

Who can read X. For every table and view, every active user who can read it, with the shortest chain of roles that gives them access: account roles, database roles, PUBLIC and direct grants, including SELECT or OWNERSHIP on the object and USAGE on its schema and database. The report has a search box for it.

Cleartext on sensitive columns. For each PII-tagged column, which masking policy applies (directly or through a tag) and which users see the raw value, worked out from the policy body.

Unmasked PII. Tagged columns that no masking policy covers, including tag policies written for a different data type than the column.

Admin access
  • ADMIN_SPRAWLMore than two people can use ACCOUNTADMIN, through any chain of roles.
  • ADMIN_SINGLEOnly one person can: no second break-glass admin.
  • ADMIN_NO_MFAACCOUNTADMIN users without MFA, or signing in with a password only.
  • ADMIN_DEFAULT_ROLEUsers who log in as ACCOUNTADMIN by default.
  • GRANT_MANAGERSOther users holding SECURITYADMIN or MANAGE GRANTS, who can grant themselves anything.
Grants to PUBLIC and to users
  • PUBLIC_SENSITIVEObjects holding tagged PII that every user can read through PUBLIC.
  • PUBLIC_WRITEWrite privileges granted to PUBLIC.
  • PUBLIC_FUTUREFuture grants to PUBLIC, which hand every new object to every user.
  • PUBLIC_OBJECTSOther objects granted to PUBLIC.
  • DIRECT_USER_GRANTSPrivileges granted straight to a user instead of a role.
Sensitive columns and masking
  • PII_UNMASKEDPII-tagged columns with no masking policy, including tag policies whose data type does not match the column.
  • MASK_EXEMPT_BROADMasking exemptions inherited by admin roles or service users, so they see cleartext.
  • MASK_NOOPMasking policies that never actually mask.
  • MASK_UNEVALUATEDPolicy bodies too complex to read with certainty, flagged for review.
Service users
  • SERVICE_BROADService users reaching ACCOUNTADMIN, SECURITYADMIN, SYSADMIN, USERADMIN or MANAGE GRANTS.
  • SERVICE_PASSWORDService users that have or use a password.
Stale access
  • DORMANT_PRIVILEGEDAdmins with no login in 90 days.
  • DORMANT_USERSOther users with no login in 90 days.
  • DISABLED_WITH_ROLESDisabled users still holding role grants.
  • UNUSED_PRIVILEGESSELECT grants nobody holding them used in 90 days (ACCESS_HISTORY, Enterprise Edition).
  • UNUSED_ROLE_GRANTSRole grants to users with no use in 90 days. Masking exemptions count as use.
Role hygiene
  • ORPHAN_ROLESCustom roles no user can reach.
  • DETACHED_ROLESCustom roles not under SYSADMIN.
SAMPLE REPORT

A sample: Acme Outfitters (fictional)

This report was built from a synthetic export for a made-up company, Acme Outfitters (account DEMO1234). It is not from any real Snowflake account. 13 active users (3 of them service users), 19 roles, 8 tables and views, 9 PII-tagged columns: 19 findings.

Critical
2
High
5
Medium
6
Low
5
Info
1

The ranked findings (first 10 of 19)

IdSeverityFinding
F-01critical3 PII-tagged columns readable in cleartext with no masking policy
F-02criticalPUBLIC can read 1 object holding PII
F-03high1 ACCOUNTADMIN user without MFA
F-04high1 privilege granted directly to a user
F-05high1 dormant user still holds admin roles
F-06high1 future grant to PUBLIC
F-07high1 service user holds admin-level roles
F-08medium5 masked PII columns where admins or service users see cleartext
F-09medium3 users can use ACCOUNTADMIN
F-10medium2 users log in as ACCOUNTADMIN by default

Who can read ANALYTICS.CORE.CUSTOMERS.EMAIL?

10 users can read the table; 5 of them see the email column in cleartext, although it has a masking policy (GOVERNANCE.POLICIES.EMAIL_MASK). The exempt role, PII_READER, is inherited by SYSADMIN, so every admin and the dbt service user sees raw values. Five of the ten rows:

UserRole chainSees cleartext
ALICEALICE > ACCOUNTADMIN > SYSADMINyes
SVC_DBTserviceSVC_DBT > DBT_ROLE > SYSADMINyes
CAROLCAROL > ANALYST > ANALYTICS.CORE_READERno
FRANKFRANK > DATA_ENGINEER > ANALYST > ANALYTICS.CORE_READERno
TABLEAU_PRODserviceTABLEAU_PROD > BI_ROLE > ANALYST > ANALYTICS.CORE_READERno

Dry-run fixes, each with its undo

revoke_DRYRUN.sql (excerpt)
-- [R-0004] SELECT on ANALYTICS.MARKETING.LEADS held by role PUBLIC
-- REVOKE SELECT ON TABLE "ANALYTICS"."MARKETING"."LEADS" FROM ROLE "PUBLIC";

-- [R-0006] SELECT on HR.PEOPLE.EMPLOYEES held by user IVAN
-- REVOKE SELECT ON TABLE "HR"."PEOPLE"."EMPLOYEES" FROM USER "IVAN";
undo_regrant.sql (excerpt)
-- [R-0004] undo of: REVOKE SELECT ON TABLE "ANALYTICS"."MARKETING"."LEADS" FROM ROLE "PUBLIC";
-- GRANT SELECT ON TABLE "ANALYTICS"."MARKETING"."LEADS" TO ROLE "PUBLIC";

-- [R-0006] undo of: REVOKE SELECT ON TABLE "HR"."PEOPLE"."EMPLOYEES" FROM USER "IVAN";
-- GRANT SELECT ON TABLE "HR"."PEOPLE"."EMPLOYEES" TO USER "IVAN";

All names in the sample (users, roles, databases, the company) are invented. The sample report is one self-contained HTML file and loads nothing from anywhere else.

TRUST

What I see, and what I never see

Read-only roles only
The export needs Snowflake’s own SNOWFLAKE database roles SECURITY_VIEWER, GOVERNANCE_VIEWER and OBJECT_VIEWER, which read ACCOUNT_USAGE metadata and cannot read your tables. The optional setup script creates one role with exactly those three.
No credentials, no login
You run the export yourself. No user, key, password or network path is created for me, and I never connect to your account.
Dry-run fixes, with undo
Every REVOKE and ALTER in the remediation script ships commented out, tagged with an id, and the undo script has the matching re-grant for each id. The tool never runs any of it; you decide what to run.
No network calls
The Access Map makes no network calls of its own: no telemetry, no update check, no licence server. The report is one HTML file whose content security policy blocks every external load.

Security questionnaire answers

Do you need credentials or network access to our account?
No. You run the export in your own worksheet or over your own connection and send me the files.
What data do you receive?
Metadata from SNOWFLAKE.ACCOUNT_USAGE: grants, roles, user names and types, last-login dates, MFA and password flags, table and column names and types, tags, masking-policy definitions, and usage counts aggregated to user and role or user and object. Never table data, query text, email addresses, login names or IP addresses.
What changes in our account?
Nothing. The exporter’s code allows only SELECT, WITH, SHOW and DESCRIBE statements. The optional setup script, which you run yourself, creates the read-only role, an extra-small warehouse that suspends after 60 seconds, and a key-pair service user; it includes the lines to drop all three.
Where is the bundle processed?
Offline, on my workstation, by the Access Map. Your bundle is not shared with anyone else.
How long do you keep it?
I delete the bundle and my copy of the report 30 days after delivery, or sooner if you ask.
How do we send it?
Your choice: an email attachment, or a link from your own file share. A bundle is usually a few megabytes of CSV. Zip and password-protect it if your policy asks, and send the password separately.
Which services touch our information?
The request form on this page is stored by the site’s host (Base44), and payment is by Stripe. Neither sees the bundle.
Do you have SOC 2?
No. VibeWright is a one-person business. The audit is designed so you don’t need it: no access to your account, metadata only, and you can read every file before you send it.
PRICES

Free self-check, then the fixed-price audit

Free
US$0
The self-check script
  • Three read-only checks and a scorecard, in one .sql file
  • Runs in your own worksheet; nothing leaves your account
  • Who can use ACCOUNTADMIN, PII granted to PUBLIC, unmasked PII columns
Download the self-check (.sql)
Fixed price, one time
US$750
The full Access Map audit, one account
  • Who can read every table and view, and through which roles
  • Who sees each masked column in cleartext; unmasked PII
  • All 23 checks, ranked, with evidence
  • Dry-run revoke script with a matching undo script
  • HTML report, JSON and CSV, and a short write-up
  • Delivered within 3 business days of receiving your export
Buy the audit, US$750

After payment I send the export instructions.

One account per audit. For several accounts, send each bundle; the price is the same for each.

Prices in US dollars, one time. I can send an invoice with the report.

REQUEST

Ask for the export instructions, or ask about your self-check

Tell me who you are and which edition you run. I read every request myself and reply by email. Please don’t send credentials or query results through this form.

What do you need?

I use these details only to answer this request; nothing is added to a mailing list. See the privacy policy.

METHOD AND LIMITS

What this is, and what it is not

  • Metadata only. Everything comes from SNOWFLAKE.ACCOUNT_USAGE, read through Snowflake’s SNOWFLAKE database roles. No table is ever read.
  • PII is found through your tags. Columns are treated as sensitive when they carry a PII, PHI, PCI or sensitivity tag, or Snowflake’s classification tags. Sensitive data in an untagged column can’t be seen without reading data, which the audit never does.
  • Usage needs Enterprise Edition. Unused-grant findings for objects come from ACCESS_HISTORY, available on Enterprise Edition and higher, over the last 90 days.
  • ACCOUNT_USAGE lags. Changes from the last couple of hours may be missing; the report says so when it can tell.
  • Secondary roles are assumed ALL, Snowflake’s default for new users since 2024. A session policy that restricts them narrows real access below what the report shows.
  • Row access policies are listed, not evaluated. Application roles and Native App grants are recorded but not followed in depth.
  • Masking conditions it can’t read with certainty (CURRENT_USER checks, mapping tables) are reported as conditional or unknown, never guessed.
  • Not a penetration test or a compliance certification. Findings are evidence for your own review. The audit role itself is never reported as a finding, and Snowflake-managed roles are counted separately.
FAQ

Questions

Does it work on Standard Edition?+

Mostly. ACCESS_HISTORY, which shows which granted objects were actually read, is available on Enterprise Edition and higher, so on Standard the unused-privilege check is skipped and the report says so. Masking policies and object tags are Enterprise features too, so on Standard there is nothing for the masking checks to read. The role chains, admin checks, PUBLIC grants, direct user grants, service users, dormant users and unused role grants all work on Standard.

Why is a grant I made this morning missing?+

SNOWFLAKE.ACCOUNT_USAGE is not real time. Most of the views the export reads lag by up to about two hours, and Snowflake documents the latency of each view. Anything changed in the last couple of hours may be missing; the report has a data freshness note when it can tell. Re-run the export later if you just made changes.

What do you never see?+

Your table data. The export reads metadata only: names, grants, roles, tags and policy definitions. It never selects query text, email addresses, login names, display names, comments or IP addresses, and no credentials change hands.

How does it work out who can read a table?+

A user can read an object when the roles they can use hold SELECT or OWNERSHIP on it and USAGE on its schema and database. Those roles are their granted roles, everything those roles inherit (account roles and database roles), PUBLIC, and their own direct grants. The report shows the shortest chain for every user, so “ALICE > ACCOUNTADMIN > SYSADMIN” reads as: Alice holds ACCOUNTADMIN, which inherits SYSADMIN, which owns the table.

How do you decide who sees a masked column in cleartext?+

The masking policy body is read for IS_ROLE_IN_SESSION, IS_DATABASE_ROLE_IN_SESSION, CURRENT_ROLE() and INVOKER_ROLE() conditions. A user who can switch to an exempt role counts as able to see cleartext. A policy set directly on a column beats one that arrives through a tag, and a tag policy whose data type doesn’t match the column doesn’t apply. Conditions it can’t read with certainty are reported as conditional or unknown, never guessed.

Will you run the revoke scripts for us?+

No. They are a starting point for your own change process: every statement is commented out, each has an id that points back to the evidence in the report, and the undo script re-grants exactly what each statement would remove. Run them as SECURITYADMIN or the object owner, after review.

How do we pay?+

By card through Stripe; the charge shows as VibeWright. The price is in US dollars, one time. I can send an invoice with the report.

Is this affiliated with Snowflake?+

No. VibeWright is not affiliated with Snowflake Inc. Snowflake is a trademark of Snowflake Inc.

Sources: Snowflake documentation, Account Usage; SNOWFLAKE database roles; ACCESS_HISTORY view.

WHO RUNS THIS

VibeWright

VibeWright, a registered business in Ontario, Canada. I build data tools and audits, including an ADA Title II document triage and a data center project tracker. Not affiliated with Snowflake Inc.; Snowflake is a trademark of Snowflake Inc.