Metastore-level ABAC policies in Unity Catalog
You can now apply ABAC policies at the metastore level to protect data across all catalogs in Databricks at once.
O que mudou
Attribute-based access control (ABAC) policies in Unity Catalog can now be attached directly at the metastore level. This allows governance teams to define organization-wide data protection rules that automatically apply across every catalog and future catalogs.
Use cases
Imagine you need to mask social security numbers in any table across the organization with a specific tag, without manually configuring the rule in each catalog.
- Apply row filters or column masks globally.
- Define organization-wide GRANT and DENY policies.
- Ensure new catalogs automatically inherit data protection rules.
How to use
You can create a metastore-level policy using Catalog Explorer, the REST API, or SQL statements run on compute running Databricks Runtime 19 or above.
CREATE POLICY ssn_mask
ON METASTORE
COLUMN MASK ssn_to_last_nr
TO `account users` EXCEPT `HR admins`
FOR TABLES
MATCH COLUMNS has_tag('ssn') AS ssn
ON COLUMN ssn
USING COLUMNS (4);
What happens in this code:
- The
CREATE POLICYstatement defines a new security rule. - The
ON METASTOREmodifier scopes the rule to the highest level of the hierarchy. - The
MATCH COLUMNSclause uses a tag function to identify sensitive columns. - The mask hides data for all users except the HR admins group.
Limitations and requirements
- This feature is in Beta.
- Requires compute running Databricks Runtime 19 or above for SQL operations.
- Only metastore admins can create, update, or delete these policies.
- GRANT and DENY policies cannot target non-catalog objects such as external locations, storage credentials, or shares.
- Unity Catalog-managed disaster recovery does not automatically replicate metastore-level policies to secondary regions.
Using it in a pipeline
This fits into the governance and security layer, ensuring that Bronze, Silver, and Gold tables receive automatic protection rules upon creation without extra engineering effort.
- unity catalog
- governance
- security
- abac
- access control
Metastore-level ABAC policies are in Beta
Resumo e explicação gerados por IA a partir da release note oficial. Em caso de dúvida, a documentação oficial da plataforma prevalece.
Relacionadas
- DatabricksGA
Repositórios de pacotes em nível de workspace para Databricks Apps
Administradores de workspace podem configurar repositórios padrão de pacotes Python e npm para Databricks Apps.
databricks apps · workspace settings - DatabricksGA
Redimensione partições de stateful streaming sem perder o checkpoint no Databricks
Agora é possível alterar o número de partições de shuffle em queries Structured Streaming e pipelines Lakeflow sem descartar o estado do checkpoint.
structured streaming · lakeflow - DatabricksAtualização
Google Gemini 4 Argon disponível no Unity Gateway do Databricks
O modelo multimodal Google Gemini 4 Argon já pode ser acessado via Foundation Model APIs e Unity Gateway.
unity catalog · foundation model apis