Join our Newsletter — 33% off our NHI Course
Home› Guides› How to Audit Your Data Warehouse and Lakehouse:…
Template Data Security

How to Audit Your Data Warehouse and Lakehouse: 13 Health Check Metrics

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 13 November 2026 12 min read
On this page

A data warehouse or lakehouse that was configured carefully at go-live drifts every week: new service users appear, grants pile up on individuals, masking policies miss new columns and query logs quietly stop reaching the SIEM. This health check is a recurring review for the platform team, the data security lead and internal audit, run quarterly with a deeper annual pass. It measures whether the controls described in Securing the data warehouse and lakehouse itself are still working, using figures you can trend from one quarter to the next. It does not repeat how to harden the platform; it tells you where the hardening has slipped and which guide fixes it.

What this health check covers

The scope is any analytical store that holds large volumes of copied business data: a cloud data warehouse, a lakehouse built on open table formats over object storage, or a self-managed cluster. For the design of security log stores specifically, see the Security Data Lake Guide. The check covers human and non-human identities, privileges, data protection policies, sharing, logging and recovery. It is vendor-neutral: every metric is written against generic data sources that all mainstream platforms expose in some form.

The metrics sit under NIST CSF 2.0 GV.OV-03 (risk management performance is evaluated) and ID.IM-01 (improvements identified from evaluations), and support NIST SP 800-53 Rev. 5 AC-2 Account Management, AC-6(7) Review of User Privileges, AU-6 Audit Record Review and SC-28 Protection of Information at Rest. NIST SP 800-55 Vol. 1 sets out how to select and prioritise security measures of this kind.

Key takeaways

  • Service users are the biggest moving part. Pipelines, BI tools and data science notebooks create non-human identities faster than humans join, so authentication method, credential age and ownership for service users get their own metrics.
  • Classification coverage gates every protection metric. A masking policy figure only describes the columns you have tagged as sensitive; if tagging coverage falls, protection looks better than it is.
  • Direct grants are the drift signal. A rising share of privileges granted straight to users rather than through roles shows that the access model is being bypassed.
  • Logs must leave the platform. Query and access history that stays inside the warehouse is lost if the account is compromised; measure delivery to an independent store by day.
  • Thresholds are a starting point. The green, amber and red bands are NHI Mgmt Group recommended thresholds; adjust them to your risk appetite and keep them stable year to year.

How to use this template

Copy the metrics table and the findings log into your own tracker, then run this Data warehouse and lakehouse health check at the cadence set out below. Collect each figure from the data sources described, score it against the green, amber and red thresholds, and record every amber or red result as a finding with an owner and a due date. Keep each completed review so you can compare results quarter on quarter: the trend matters as much as any single score.

Cadence and sign-off

ReviewFrequencyOwnerApproverEvidence kept
Operational dashboard (DW-04, DW-11, DW-12)Monthly, automatedData platform operationsData platform ownerDashboard snapshot and alert ticket list
Quarterly health check (all metrics)Quarterly, fixed measurement dateData platform ownerData security lead or security riskRaw exports, calculated scorecard, findings log
Annual deep reviewYearlyData security leadCISO or delegate; internal audit re-performs a sampleSample test sheets, threshold review minutes, restore test records
Event-driven checkAfter a migration, new region or account, merger, or an incident involving the platformData platform ownerSecurity riskScoped scorecard and findings

Take every figure as at the same measurement date, for example the last working day of the quarter, and pull all exports within one working day of it. Platform administrators should not be the only people who sign off figures about their own admin roles; this follows NIST SP 800-53 AC-5 Separation of Duties.

Metrics

Each metric has a fixed formula. Record the numerator and denominator alongside the percentage, so the next quarter is calculated the same way. NHI Mgmt Group recommended thresholds; adjust to your risk appetite.

IDMetricFormula (numerator / denominator)Data source typeGreenAmberRed
DW-01Human users signing in through federated SSO with MFAHuman users whose interactive sign-ins in the quarter all came through the identity provider with MFA / human users with any interactive sign-inPlatform login history; user list with authentication type100%98% to below 100%Below 98%, or any admin using a local password
DW-02Service users on key, certificate or federated authenticationService users authenticating by key pair, certificate, OAuth client or workload federation / all enabled service usersUser list with user type and authentication method95% or more85% to below 95%Below 85%
DW-03Service credentials within rotation periodService user keys, tokens and passwords younger than your rotation period / all active service credentialsCredential metadata (creation or last rotation date); secrets manager inventory95% or more80% to below 95%Below 80%, or any credential older than twice the period
DW-04Dormant enabled accountsEnabled users (human and service) with no successful login for 90 days / all enabled usersLogin history joined with user listBelow 2%2% to 5%Above 5%, or any dormant admin
DW-05Service users with a named, active ownerService users with an owner who is a current employee / all enabled service usersUser comments or tags; HR or identity provider status98% or more90% to below 98%Below 90%
DW-06Top-level admin role holders against approved listHolders of account-level or metastore admin roles not on the approved list (count); total holders and change on last quarterRole grant history; approved admin register0 unapproved, total within registerTotal rose with approved ticketsAny unapproved holder
DW-07Privileges granted directly to usersObject privileges granted directly to a user rather than to a role or group / all object privilegesGrants export (grants to users and grants to roles)Below 2%2% to 10%Above 10%, or any direct grant on a sensitive schema
DW-08Classification coverage of production dataProduction tables or views with a sensitivity tag / all production tables or viewsCatalogue or information schema with tag assignments95% or more80% to below 95%Below 80%
DW-09Sensitive columns with masking or row access policyColumns tagged personal or confidential that have a masking, tokenisation or row access policy attached / all columns so taggedPolicy reference views; tag assignments98% or more90% to below 98%Below 90%
DW-10Service users restricted by network policyService users bound to a network allow list or private connectivity / all enabled service usersNetwork policy assignments; user list95% or more80% to below 95%Below 80%
DW-11Outbound shares and external locations on the approved registerData shares, external stages, storage integrations and export destinations on the register / all that existShare and integration inventory; approved register100%One unregistered, internal destinationAny unregistered external destination
DW-12Query and access log delivery to the independent log storeDays in the quarter with complete login and query history received in the SIEM or log archive / days in the quarterSIEM ingestion records per day; platform log volume100%97% to below 100%Below 97%, or any gap over 24 hours unexplained
DW-13Bulk export alerts triaged within service levelLarge unload, download or result-export alerts closed with a decision within service level / all such alertsSIEM alert queue; ticketing system95% or more85% to below 95%Below 85%

A single red privileged finding, such as an unapproved account admin or a dormant admin, outweighs a green percentage elsewhere. Rate the check red overall when one occurs.

Annual additions

  • Restore and time-travel test: restores of a critical table or schema to a stated point in time that completed within the recovery time objective / restores attempted. Record the oldest point reached against the retention you believe you have.
  • Owner attestation of grants: roles holding write or ownership privileges on production schemas attested by the data owner in the last 12 months / all such roles.
  • Sample re-performance: internal audit picks 25 service users and confirms owner, authentication method, network restriction and credential age directly on the platform.

How to collect the data

  1. Fix the date and the population. Freeze the measurement date. List every account, workspace, region and environment in scope; a new account created by a project team is the most common gap.
  2. Export identities. Pull the full user list with user type (person or service), authentication method, creation date, last login, disabled flag and owner comment or tag. Join it to identity provider and HR status by email or employee ID for DW-01, DW-04 and DW-05.
  3. Export credentials. Take credential metadata (key fingerprints, token creation dates, password last set) from the platform and from the secrets manager that holds pipeline credentials. Reconcile the two: a credential known to the platform but missing from the secrets manager is itself a finding.
  4. Export grants and roles. Pull grants to users and grants to roles from the account usage or information schema views, plus role hierarchy and role grant history. Compare admin holders with the approved admin register for DW-06 and count direct grants for DW-07.
  5. Export catalogue tags and policies. From the data catalogue or the platform's tag views, list production objects with their sensitivity tags, then join to masking and row access policy references for DW-08 and DW-09.
  6. Export network and sharing configuration. List network policy assignments, outbound shares, external stages, storage integrations and connectors that write outside the platform. Compare with the data sharing register for DW-10 and DW-11.
  7. Check log delivery. From the SIEM or log archive, count records per day from the platform's login and query history, and flag days with zero or abnormally low volume for DW-12. The Log Management and Retention Guide covers retention targets.
  8. Pull the alert queue. Export bulk-export and large-result alerts with open and close timestamps from the ticketing system for DW-13.
  9. Calculate, compare, sample. Calculate each metric with its recorded formula, compare with last quarter, and for each red metric check five to ten records directly in the platform to rule out a data quality error.

Keep raw exports with the findings log, not dashboard percentages, and note the query or view used for each figure.

Red flags that need action now

  • Any account-level admin signing in with a local password, or any admin role holder not on the approved list.
  • A service user with admin or ownership rights over production data and no named owner.
  • A service credential older than twice your rotation period, or one found in a repository or notebook.
  • An outbound share, external stage or storage integration pointing to a destination nobody can identify.
  • Query or login history missing from the SIEM for more than 24 hours without an explanation.
  • A newly created schema holding personal data with no sensitivity tags and no masking policy.
  • Bulk export or large unload alerts closed without review, or a sudden spike in result downloads by one identity.
  • A production account or workspace that is not in the inventory at all.

Findings log

IDFindingMetricSeverityOwnerDue dateStatus
HC-DW-01[n] service users authenticate with a password onlyDW-02Amber[Data platform owner][Date]Open
HC-DW-02[n] admin role holders not on the approved registerDW-06Red[Data platform owner][Date]Open
HC-DW-03[n] columns tagged personal without a masking policy in [schema]DW-09Amber[Data owner][Date]Open
HC-DW-04Query history missing from SIEM for [n] daysDW-12Red[SOC lead][Date]Open

Keep one running log across quarters and mark repeat findings. Escalate anything red for two consecutive quarters to the CISO, and anything that repeats three times to the risk register.

Remediation map

Finding typeWhere to fix it
Admin sprawl, local passwords for admins, weak network restrictionSecuring the data warehouse and lakehouse itself: administration, authentication and network sections
Password-only or long-lived service credentialsService Account Security Guide and Secrets Management Guide
Dormant or unowned usersOrphaned and Dormant Accounts
Low classification or masking coverageData Classification Guide and Tokenisation and Data Masking Guide
Unregistered shares and export destinationsSecuring the data warehouse and lakehouse itself: data sharing and egress
Log delivery gapsLog Management and Retention Guide
Restore test failuresBackup and Recovery Testing Checklist

References

Related NHI Mgmt Group resources: Securing the data warehouse and lakehouse itself, Data Security Maturity Model, Security Metrics and KPIs Programme Guide, If your data warehouse and lakehouse is compromised, Enterprise Data Lake Security Guide.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.