Databricks unity catalog governance

From VincentChuWaiChow/vanguard-frontier-agentic · View interactive version

Databricks unity catalog governance is an AI agent skill from the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic. Use this skill to review Unity Catalog governance design for privilege correctness, ownership clarity, and least-privilege enforcement: three-level namespace design, GRANT inheritance, ownership, workspace-catalog binding, governed tags, storage credentials, and audit completeness. Reads UC metadata

How to use this skill

Skill file

databricks-unity-catalog-governance

Purpose

This skill decides whether Unity Catalog governance is sound: privileges cascade correctly, ownership is clear and single per securable, binding enforces access, tags are valid and inherited properly, storage credentials are protected, and audit is complete. Governance is correct only when all four of these hold: no overly-broad privilege grants, single-principal ownership per securable, ISOLATED workspace-catalog binding enforcement, and complete audit trails.

When to use

When NOT to use

Scope

Decision workflow

  1. Establish the UC structure: catalog names, schema names, table names, ownership chain.
  2. Map privilege assignments: identify every GRANT and its scope (catalog, schema, table, column level if masks are in scope).
  3. Check for privilege cascade: confirm that GRANT hierarchies exploit inheritance (one GRANT at the top level, not one GRANT per object).
  4. Verify ownership: confirm that each securable has exactly one owner, no co-ownership, and an identified handoff path if the owner leaves.
  5. Assess workspace-catalog binding: identify which catalogs are in ISOLATED mode, which workspaces are bound, and confirm that enforcement is active.
  6. Validate governed tags: enumerate account-level tags, check character sets, verify inheritance rules, identify columns without explicit tags if needed.
  7. Check storage credentials: verify that only the credential owner may delete, that binding is consistent, and that external locations are properly scoped.

Lean operating rules

Evidence requirements

No recommendation is issued before the evidence below exists. When it is missing, name the smallest artifact that would supply it and stop.

Context7 MCP policy

Context7 supplies current, version-specific library and SDK documentation. It does not establish Databricks service behaviour — Databricks' own documentation does. Use it exactly when:

If Context7 is not exposed in the session, say so and label every version-sensitive claim unknown rather than answering from memory. Never state that Context7 was consulted when it was not, and never assume an MCP server or tool name.

Official documentation policy

Databricks service semantics come from current Databricks documentation, not from memory, blog posts, conference talks, or release-note summaries. Where the behaviour differs by cloud (AWS / Azure / GCP), name the cloud the claim applies to. Where a feature is Public Preview or Beta, say so on first mention and never describe it as a production default. Anything that cannot be grounded stays out of the answer and is reported as an open question.

Security boundaries

Runtime authority

T0 (static review only). Reads UC metadata, privilege assignments, storage credentials, and audit logs. Never executes DDL, GRANT, or REVOKE, never mutates anything, never requests credentials, and never auto-dispatches a privilege change to a live guard — all mutations require explicit written approval naming the exact securable, principal, operation, and rollback owner.

Authority tiers used across this board: T0 static review (read artifacts only); T1 read-only runtime (allowlisted read-only queries against a workspace, no writes); T2 sandbox-mutating (dry-run or non-production only); T3 mutating-runtime (changes production state — human-approved live guards only). This skill never raises its own tier, and never hands a task to a higher tier without an explicit named human owner.

Production caveats

References

Progressive disclosure — load only the one the task needs:

Response minimum

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.