Breaking the Glass Epic

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up breaking the glass epic workflows by assigning emergency override rules to user roles. Users then type a reason code and password to open restricted records during urgent events. Many teams apply this same pattern to production databases and cloud apps. Still, teams often grant broad admin roles during an incident to fix things fast. When those roles stay active, users keep wide write power across the whole system. How breaking the glass epic works in practice In clinical software,

Break-Glass Access Procedures: the complete guide

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

Free white paper. No spam. Unsubscribe anytime.

You set up breaking the glass epic workflows by assigning emergency override rules to user roles. Users then type a reason code and password to open restricted records during urgent events. Many teams apply this same pattern to production databases and cloud apps. Still, teams often grant broad admin roles during an incident to fix things fast. When those roles stay active, users keep wide write power across the whole system.

How breaking the glass epic works in practice

In clinical software, standard role rules stop staff from reading restricted charts. A nurse or doctor can only open charts for their own assigned patients. When a medical emergency happens, a doctor needs to read a chart right away. The system shows a warning screen before opening the restricted record.

This workflow is known as breaking the glass epic across health tech teams. The user picks a reason from a list and enters their password again. The app then unlocks the chart and writes an alert to the audit log. Security teams check these logs the next day to verify the emergency was real.

Engineering teams copy this exact pattern for database and server incidents. Normally, developers have read-only roles or no direct login rights to production data. When an outage hits, an engineer requests an emergency role to fix the bug. The system logs the ticket number and grants a high-level role for a short time.

What native emergency roles solve and what they miss

Native emergency workflows solve the problem of slow approvals during a major outage. Nobody has to wait for a manager to wake up and click approve. The system lets the user in right away and records why they entered. It also flags the event so auditors know who used the override rule.

Yet this native setup leaves a major gap once the user logs in. The override rule only controls who enters the app or database at the start. It does not check what commands or queries the user runs after logging in. Once the glass breaks, the engineer holds full admin power over every table.

Break-Glass Access Procedures: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

An engineer fixing one broken row can still run a drop table command. A broad query can also return sensitive fields like emails, phone numbers, or card numbers. Data masking can rewrite those matched fields in query results before they reach the screen. Without query checks and masking, auditors only see that an admin logged in. They still must dig through raw server logs to see what changed.

How to tighten emergency workflows for engineering teams

First, scope emergency roles down to the exact tables or services that need fixes. Do not hand out a single root role that controls the entire database cluster. Create separate emergency roles for billing, user accounts, and background jobs.

Second, require a second person to review dangerous commands before they run in production. Even during an outage, a second pair of eyes prevents bad delete statements. Third, set up automatic revocation so the emergency role expires as soon as the ticket closes. This stops engineers from running extra commands hours after the outage ends.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

What triggers a break glass prompt in clinical and tech systems?

A prompt appears when a user tries to open a restricted record or production system. Typical triggers include VIP records, staff charts, or locked production databases during an outage.

Who reviews the logs after someone uses an emergency override?

Security and privacy teams review every emergency event log within twenty-four hours. They check the stated reason against incident tickets or shift schedules to confirm valid use.

How can teams limit risk after an engineer elevates their role?

Teams can check every query in flight and require peer approval for write commands. They can also apply data masking to rewrite national IDs and card numbers in results.

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.