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 callThe 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
- Unity Catalog: what changed recentlyNews, releases, videos and questions on it, gathered daily.
More scenarios
- Every grant goes through you · platform engineer
- Four hundred tables with personal data · platform engineer
- A business unit wants its own island · platform engineer
- All 77 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.