A collection of useful Databricks code, notebooks, and templates. Originally focused on security and privacy, now expanding to cover anything that might be useful on the platform.
Each subdirectory has its own README with full detail — the table below is just a jumping-off point.
| Directory | What's in it |
|---|---|
notebooks/ |
Notebooks organized by topic. Currently focused on security & privacy: PII detection/tagging, ABAC column masks, envelope encryption (AWS/Azure KMS), AI guardrails (Llama Guard, Code Shield, Prompt Guard, red teaming), and a Security Genie for audit log analysis. |
common/ |
Shared Python utilities. privacy_functions.py wraps Presidio for distributed PII detection and Unity Catalog tagging. |
sql/ |
Databricks SQL assets — currently an alert definition for serverless egress denials. |
resources/ |
Config files referenced by notebooks and apps (e.g. Genie system instructions). |
See each directory's README for setup, usage, and dependencies.
Root requirements.txt covers the common notebook dependencies (Faker, Mimesis, FF3, Presidio). Some subprojects ship their own requirements.txt — e.g. notebooks/envelope_encryption_v2/.
Apache License 2.0 — see LICENSE.