← Back to all products

Unity Catalog Governance Pack

$39

Production-ready governance templates for Databricks Unity Catalog with policies and auditing.

📁 47 files
JSONConfigMarkdownPythonYAMLSQLTerraformAWSAzureGCP

📄 Product Preview

Try the interactive reader and demo tools below, or get the full product with all content unlocked.

📖 Interactive Reader (Free Preview) ⚙ Try Demo Tools 📦 Download Free Sample

📁 File Structure 47 files

unity-catalog-governance-pack/ ├── LICENSE ├── README.md ├── automation/ │ ├── README.md │ ├── governance_dashboard.py │ ├── governance_scanner.py │ ├── policy_enforcer.py │ └── tag_propagation.py ├── classification/ │ ├── README.md │ ├── apply_tags.sql │ ├── classification_framework.yaml │ ├── classification_report.py │ ├── pii_patterns.yaml │ └── pii_scanner.py ├── compliance/ │ ├── README.md │ ├── ccpa/ │ │ ├── data_disclosure.py │ │ └── do_not_sell.py │ ├── checklists/ │ │ ├── ccpa_checklist.md │ │ ├── gdpr_checklist.md │ │ └── soc2_checklist.md │ └── gdpr/ │ ├── consent_tracking.sql │ ├── data_portability.py │ ├── data_subject_request.py │ └── right_to_deletion.py ├── examples/ │ ├── full_setup_walkthrough.md │ └── sample_governance_report.json ├── free-sample.zip ├── guide/ │ ├── 01_table-of-contents.md │ ├── 02_module-reference.md │ ├── 03_monitoring-and-alerting.md │ └── 04_contributing.md ├── index.html ├── rbac/ │ ├── README.md │ ├── audit_permissions.py │ ├── permission_matrix.yaml │ ├── role_definitions.yaml │ ├── setup_roles.py │ └── setup_roles.sql ├── security/ │ ├── README.md │ ├── column_masking.sql │ ├── encryption_guide.md │ ├── network_security.md │ └── row_level_security.sql └── terraform/ ├── README.md ├── main.tf ├── outputs.tf ├── terraform.tfvars.example └── variables.tf

📖 Documentation Preview README excerpt

Unity Catalog Governance Pack

Production-ready governance templates for Databricks Unity Catalog.
Implement enterprise-grade data governance in hours, not months.

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

[![Databricks](https://img.shields.io/badge/Databricks-Unity%20Catalog-red.svg)](#)

[![Terraform](https://img.shields.io/badge/IaC-Terraform-purple.svg)](#terraform-deployment)


Table of Contents

1. [Overview](#overview)

2. [Architecture](#architecture)

3. [Quick Start](#quick-start)

4. [Module Reference](#module-reference)

  • [RBAC (Role-Based Access Control)](#rbac-module)
  • [Data Classification](#classification-module)
  • [Compliance (GDPR / CCPA)](#compliance-module)
  • [Security Patterns](#security-module)
  • [Automation](#automation-module)
  • [Terraform Deployment](#terraform-module)

5. [Configuration](#configuration)

6. [Integration Patterns](#integration-patterns)

7. [Deployment Guide](#deployment-guide)

8. [Monitoring and Alerting](#monitoring-and-alerting)

9. [Troubleshooting](#troubleshooting)

10. [FAQ](#faq)

11. [Contributing](#contributing)

12. [License](#license)


Overview

The Unity Catalog Governance Pack provides a complete, ready-to-deploy governance

framework for Databricks Unity Catalog environments. It includes:

  • Role-Based Access Control (RBAC): A five-tier role hierarchy with SQL and Python

automation for setting up and auditing permissions across catalogs, schemas, and tables.

  • Data Classification: A four-tier classification framework (Public, Internal,

Confidential, Restricted) with automated PII scanning, tagging, and coverage reporting.

  • Compliance Templates: Production-ready implementations for GDPR (right to erasure,

data portability, consent tracking, subject access requests) and CCPA (opt-out tracking,

data disclosure) with detailed compliance checklists including SOC 2 Type II.

  • Security Patterns: Row-level security, column masking, network isolation guides,

and encryption patterns for defense-in-depth.

  • Automation: Tag propagation, governance violation scanning, policy enforcement,

and dashboard data generation for continuous governance monitoring.

  • Terraform Module: Infrastructure-as-Code deployment of the entire governance

framework using the Databricks Terraform provider.

Who Is This For?

... continues with setup instructions, usage examples, and more.

📄 Code Sample .py preview

automation/governance_dashboard.py """ Unity Catalog Governance Dashboard Generator ============================================== Generates a comprehensive governance metrics JSON document suitable for rendering in Databricks SQL dashboards, Grafana, or any BI tool. Aggregates data from multiple governance dimensions: 1. **Classification coverage** - % of tables classified, by schema 2. **PII exposure** - PII table count, columns flagged, masking coverage 3. **Access control** - Grant distribution, overly permissive access count 4. **Tagging completeness** - Required tag compliance per schema 5. **Policy compliance** - Pass/fail status for each enforced policy 6. **Trend data** - Comparison with previous scan (if provided) Usage: python governance_dashboard.py --catalog prod python governance_dashboard.py --catalog prod --output dashboard.json python governance_dashboard.py --catalog prod --previous previous_dashboard.json Requirements: pip install databricks-sdk """ from __future__ import annotations import argparse import json import logging import sys from dataclasses import dataclass, field from datetime import datetime, timezone from typing import Any try: from databricks.sdk import WorkspaceClient from databricks.sdk.service.catalog import SecurableType except ImportError: WorkspaceClient = None # type: ignore[assignment, misc] SecurableType = None # type: ignore[assignment, misc] logging.basicConfig( level=logging.INFO, format="%(asctime)s [%(levelname)s] %(message)s", datefmt="%Y-%m-%d %H:%M:%S", ) logger = logging.getLogger(__name__) REQUIRED_TAGS = ["classification", "contains_pii", "data_owner"] # ... 470 more lines ...
Buy Now — $39 Back to Products