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
| Review | Frequency | Owner | Approver | Evidence kept |
|---|---|---|---|---|
| Operational dashboard (DW-04, DW-11, DW-12) | Monthly, automated | Data platform operations | Data platform owner | Dashboard snapshot and alert ticket list |
| Quarterly health check (all metrics) | Quarterly, fixed measurement date | Data platform owner | Data security lead or security risk | Raw exports, calculated scorecard, findings log |
| Annual deep review | Yearly | Data security lead | CISO or delegate; internal audit re-performs a sample | Sample test sheets, threshold review minutes, restore test records |
| Event-driven check | After a migration, new region or account, merger, or an incident involving the platform | Data platform owner | Security risk | Scoped 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.
| ID | Metric | Formula (numerator / denominator) | Data source type | Green | Amber | Red |
|---|---|---|---|---|---|---|
| DW-01 | Human users signing in through federated SSO with MFA | Human users whose interactive sign-ins in the quarter all came through the identity provider with MFA / human users with any interactive sign-in | Platform login history; user list with authentication type | 100% | 98% to below 100% | Below 98%, or any admin using a local password |
| DW-02 | Service users on key, certificate or federated authentication | Service users authenticating by key pair, certificate, OAuth client or workload federation / all enabled service users | User list with user type and authentication method | 95% or more | 85% to below 95% | Below 85% |
| DW-03 | Service credentials within rotation period | Service user keys, tokens and passwords younger than your rotation period / all active service credentials | Credential metadata (creation or last rotation date); secrets manager inventory | 95% or more | 80% to below 95% | Below 80%, or any credential older than twice the period |
| DW-04 | Dormant enabled accounts | Enabled users (human and service) with no successful login for 90 days / all enabled users | Login history joined with user list | Below 2% | 2% to 5% | Above 5%, or any dormant admin |
| DW-05 | Service users with a named, active owner | Service users with an owner who is a current employee / all enabled service users | User comments or tags; HR or identity provider status | 98% or more | 90% to below 98% | Below 90% |
| DW-06 | Top-level admin role holders against approved list | Holders of account-level or metastore admin roles not on the approved list (count); total holders and change on last quarter | Role grant history; approved admin register | 0 unapproved, total within register | Total rose with approved tickets | Any unapproved holder |
| DW-07 | Privileges granted directly to users | Object privileges granted directly to a user rather than to a role or group / all object privileges | Grants export (grants to users and grants to roles) | Below 2% | 2% to 10% | Above 10%, or any direct grant on a sensitive schema |
| DW-08 | Classification coverage of production data | Production tables or views with a sensitivity tag / all production tables or views | Catalogue or information schema with tag assignments | 95% or more | 80% to below 95% | Below 80% |
| DW-09 | Sensitive columns with masking or row access policy | Columns tagged personal or confidential that have a masking, tokenisation or row access policy attached / all columns so tagged | Policy reference views; tag assignments | 98% or more | 90% to below 98% | Below 90% |
| DW-10 | Service users restricted by network policy | Service users bound to a network allow list or private connectivity / all enabled service users | Network policy assignments; user list | 95% or more | 80% to below 95% | Below 80% |
| DW-11 | Outbound shares and external locations on the approved register | Data shares, external stages, storage integrations and export destinations on the register / all that exist | Share and integration inventory; approved register | 100% | One unregistered, internal destination | Any unregistered external destination |
| DW-12 | Query and access log delivery to the independent log store | Days in the quarter with complete login and query history received in the SIEM or log archive / days in the quarter | SIEM ingestion records per day; platform log volume | 100% | 97% to below 100% | Below 97%, or any gap over 24 hours unexplained |
| DW-13 | Bulk export alerts triaged within service level | Large unload, download or result-export alerts closed with a decision within service level / all such alerts | SIEM alert queue; ticketing system | 95% or more | 85% 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Pull the alert queue. Export bulk-export and large-result alerts with open and close timestamps from the ticketing system for DW-13.
- 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
| ID | Finding | Metric | Severity | Owner | Due date | Status |
|---|---|---|---|---|---|---|
| HC-DW-01 | [n] service users authenticate with a password only | DW-02 | Amber | [Data platform owner] | [Date] | Open |
| HC-DW-02 | [n] admin role holders not on the approved register | DW-06 | Red | [Data platform owner] | [Date] | Open |
| HC-DW-03 | [n] columns tagged personal without a masking policy in [schema] | DW-09 | Amber | [Data owner] | [Date] | Open |
| HC-DW-04 | Query history missing from SIEM for [n] days | DW-12 | Red | [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 type | Where to fix it |
|---|---|
| Admin sprawl, local passwords for admins, weak network restriction | Securing the data warehouse and lakehouse itself: administration, authentication and network sections |
| Password-only or long-lived service credentials | Service Account Security Guide and Secrets Management Guide |
| Dormant or unowned users | Orphaned and Dormant Accounts |
| Low classification or masking coverage | Data Classification Guide and Tokenisation and Data Masking Guide |
| Unregistered shares and export destinations | Securing the data warehouse and lakehouse itself: data sharing and egress |
| Log delivery gaps | Log Management and Retention Guide |
| Restore test failures | Backup and Recovery Testing Checklist |
Related guides
- Securing the data warehouse and lakehouse itself: the hardening baseline this check measures.
- Data Security Maturity Model: where the scorecard results place the wider programme.
- Security Metrics and KPIs Programme Guide: how to run metrics like these across security.
- If your data warehouse and lakehouse is compromised: the response playbook when a red flag turns out to be an incident.
- Enterprise Data Lake Security Guide: architecture and control background for lakehouse estates.
References
- NIST: SP 800-55 Vol. 1, Measurement Guide for Information Security: Identifying and Selecting Measures
- NIST: SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations
- NIST: Cybersecurity Framework (CSF) 2.0
- NIST: SP 800-210, General Access Control Guidance for Cloud Systems
- NIST: SP 800-92 Rev. 1 (Initial Public Draft), Cybersecurity Log Management Planning Guide
- Cloud Security Alliance: Cloud Controls Matrix
- CIS: Critical Security Controls v8.1
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.