Skip to content

A scenario for a platform engineer · Senior and up

Production data in the dev workspace

Ledger · Audit
Thursday, 14:20

On Databricks, a developer with SELECT on production tables ran a test from the dev workspace and copied customer rows into a dev schema. Policy says production data is processed in the production workspace only.

What do you do?

Tap the one you would do. The answer opens below.

Show the best call

Bind the production catalog to the production workspace, so it cannot be reached from any other.

The same user with the same grants gets an error from dev. In production nothing changes.

Why

By default a Unity Catalog catalog can be reached from every workspace attached to the metastore. Workspace-catalog binding limits a catalog to the workspaces you name. From any other workspace access is denied, even for a user who holds grants on it. A binding can also be read-only for a workspace.

Read it in the Databricks docs (opens in a new tab)

The other two

Works, at a price. Revoke the developers' grants on production and give access for a day on request.
It holds, and every investigation now starts with a ticket and a wait.
A poor call. Remind the team of the policy in the weekly meeting.
The next person in a hurry does the same thing.

Go deeper on brickster.ai

More scenarios

Had one like this at work? Send it to us: the best tickets come from real incidents.

Added on . Checked against the Databricks documentation on . brickster.ai is independent and is not affiliated with Databricks.