HIPAA Identifiers

Published
Length
3 min read

Luis Felipe Dias

All posts

The Safe Harbor rule lists eighteen specific hipaa identifiers that link health data to people. Engineering teams satisfy this rule by limiting data access, masking fields, and logging every query. When health data lacks these eighteen fields, it no longer counts as protected health information. Security managers must track where these fields live across every database and storage bucket. If an engineer queries a table with patient records, the team must log that action. What auditors check f

HIPAA Compliance: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

The Safe Harbor rule lists eighteen specific hipaa identifiers that link health data to people. Engineering teams satisfy this rule by limiting data access, masking fields, and logging every query.

When health data lacks these eighteen fields, it no longer counts as protected health information. Security managers must track where these fields live across every database and storage bucket. If an engineer queries a table with patient records, the team must log that action.

What auditors check for hipaa identifiers

Auditors check how your team finds, protects, and tracks all eighteen hipaa identifiers. Common fields include email addresses, phone numbers, national IDs, account numbers, and license numbers. Dates like birth dates, admission dates, and discharge dates also count as protected fields. Even network data like IP addresses, web URLs, and device serial numbers fall in scope.

During a review, auditors ask for clear proof of your data rules. They check who can log in to production systems and read raw tables. Your team must show that only approved roles can run queries on patient data. You also need to prove that you revoke roles when people change jobs.

Static policy docs are not enough to pass a modern security audit. Auditors want to see actual logs of who ran which command and when. These same records also support SOC 2 Type II, GDPR, PCI DSS, and ISO 27001 audits. Teams running federal workloads use similar logs to meet SOX and FedRAMP rules.

Why identity setup and access reviews need runtime logs

Setting up single sign-on and quarterly access reviews is a good first step. Still, a role check only tells you who has permission to log in. It does not show what queries an engineer actually ran during an active session.

Shared database accounts make this problem much worse for security managers. When five engineers share one admin login, the database log shows one generic user. You cannot tell which person read a table or changed a patient record. Tying every single query to a real user identity fixes this audit gap.

HIPAA Compliance: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Runtime command logs give managers a clear record of every action taken in production. Coupled with response masking, teams can reduce exposure during day-to-day support work. Masking rewrites matched fields like emails, phone numbers, card numbers, and national IDs in results. Engineers can still fix bugs and check app state while keeping sensitive fields masked.

How to prepare your engineering team for a review

Start by mapping every database table that holds patient records or personal fields. Remove shared logins and require every engineer to log in with their own identity. Set up clear rules for who can run write commands in production databases.

Next, turn on query logging so you have a full trail of all reads. Check that your masking rules rewrite emails, phone numbers, and national IDs in query results. Review these logs each month so your team stays ready for any outside audit.

Govern statements and responses across databases and APIs

Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev sits inline in the protocol beside each supported service as an open-source proxy, a sidecar for your database or API. For every query or command an AI agent or engineer runs against production, hoop.dev decides to pass, mask, block, or hold it for human approval.

First, hoop.dev guardrails block banned queries before they run or hold risky ones for review, and hoop.dev data masking rewrites matched sensitive values in responses in memory. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.

Frequently asked questions

What are the 18 hipaa identifiers under the Safe Harbor rule?

They include names, dates, phone numbers, emails, national IDs, medical record numbers, and IP addresses. Account numbers, license numbers, device IDs, biometric data, photos, and geographic data also count.

How does response masking help during database debugging?

Response masking rewrites matched fields like emails, phone numbers, and national IDs in query results. This lets engineers check database rows and fix app bugs while reducing data exposure.

What evidence do auditors ask for regarding database access?

Auditors ask for user role lists, access review records, and detailed query logs. They want proof that every database command ties back to a specific person.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.