Breaking Glass Productions

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up breaking glass productions workflows by creating emergency roles with strict time limits. Engineers claim these roles during an outage to fix live systems fast. Most teams build this flow using identity tools and cloud role rules. When emergency roles stay too broad, one bad command can wipe out critical data. How breaking glass productions workflows operate In software teams, breaking glass means bypassing normal access rules during an emergency. Production apps lock out most huma

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 glass productions workflows by creating emergency roles with strict time limits. Engineers claim these roles during an outage to fix live systems fast. Most teams build this flow using identity tools and cloud role rules. When emergency roles stay too broad, one bad command can wipe out critical data.

How breaking glass productions workflows operate

In software teams, breaking glass means bypassing normal access rules during an emergency. Production apps lock out most human users during normal work hours. Automated tools deploy code and run daily tasks without human help. When a live app fails, an on-call engineer must step in to fix it.

The native setup starts inside your central identity provider. Admins create a special emergency group or role with high permissions. This role stays empty during normal daily operations. When an outage hits, the on-call engineer requests this emergency role through a chat tool.

The system checks if the user is on the active on-call schedule. Some setups require a second team member to approve the request. Once approved, the identity tool assigns the role to the engineer. The tool also starts a timer that removes the role after a few hours.

The engineer then logs into the database or server using their new permissions. At the same time, the system sends high-priority alerts to the security team. Every step of the request goes into a central audit log for later review.

What native emergency roles solve and what they miss

Native emergency roles solve the problem of standing privileges. Engineers do not hold admin keys during their normal daily work. If an attacker steals a worker's laptop on a normal day, they get very little. The native flow also creates a clear record of who asked for emergency rights.

Still, this setup leaves a major operational gap open during the outage. Identity roles only decide who can log into a server or database. They do not check or limit what individual commands do once the session starts.

Break-Glass Access Procedures: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

An engineer in a hurry might run a broad delete query by mistake. A tired responder might read raw customer rows that contain phone numbers or card numbers. The database accepts every command because the emergency role has full admin power.

Native cloud logs also struggle to capture what happens inside the database session. You can see that an engineer claimed an admin role at two in the morning. You often cannot see the exact queries they ran or the rows they read. Fixing this gap requires controls that work at the command level during the live session.

Reviewing activity after an emergency event

Every emergency event needs a fast review once the system is stable again. The security team and engineering leads should meet the next day. They check why the engineer needed direct access to fix the problem.

Teams look at every command the engineer ran during the incident. If a safe automated script could do the same job, the team builds that script. This shrinks the need for future emergency logins over time.

Reviewers also check if the timer revoked the role on schedule. Sometimes manual overrides leave high permissions active long after the fix finishes. A good review ensures all temporary roles return to zero permissions right away. Clear logs make this audit fast and accurate for everyone involved.

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 does breaking glass mean in production systems?

It means using a fast, emergency method to gain high permissions during an outage. Teams use it when normal review rules would take too much time.

Who should approve an emergency access request?

During a severe outage, the system can auto-approve requests for the active on-call engineer. For lower-risk issues, a team lead or peer should approve the request first.

How do you protect customer data during an emergency login?

You apply data masking rules that rewrite sensitive fields like emails or national IDs in results. This lets engineers fix broken tables while keeping private customer details hidden in query outputs.

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.