Skip to content

Databricks

Needs onboarding Needs a partner agreement with the vendor, or a client's environment, before it can be built or certified.

Reads the Unity Catalog metadata, the SQL warehouses and the query history of a Databricks workspace, so data agents can answer what a table holds, who owns it and how it is queried. It reads metadata and history only; it runs no SQL and reads no table rows.

Built against the Databricks REST API: Unity Catalog 2.1, SQL warehouses 2.0 and query history 2.0.

Built to fixtures from the vendor’s public documentation, not certified.

Needs onboarding. Databricks’ acceptable-use policy bars bulk or persistent copies of metadata the service generates, which includes the query history this collector reads; the card reads Needs onboarding until that is settled. A sampled or incremental read of query history may bring it back. Ask us before connecting it.

CollectorDatabricks, version 0.1.0
ReadsDatabricks: Databricks Data Intelligence Platform (Unity Catalog, SQL warehouses, query history) (the vendor's documentation)
FamilyData
KindDatabase
Ways to connectAccess token
Scopes
  • Read: USE CATALOG, USE SCHEMA, BROWSE, CAN VIEW on SQL warehouses
Read onlyYes
Vendor's API can move moneyNo
Personal dataContent, Identity
Hosts it may contact*.cloud.databricks.com, *.gcp.databricks.com, *.azuredatabricks.net, *.databricks.azure.us, *.databricks.azure.cn
Vendor API versionsDatabricks REST API: Unity Catalog 2.1 (catalogs, schemas, tables), SQL warehouses 2.0, query history 2.0
Lowest engine version0.47.1
  • Catalogs, schemas and tables: names, owners, comments, table type, data source format, storage location, and each table’s columns (name, type, position, nullability, comment). The Unity Catalog list endpoints have no “changed since” filter, so each run lists them and writes the objects whose update time differs from the last run. An object that has gone is withdrawn.
  • SQL warehouses: size, scaling, auto-stop, type, serverless flag, state and health.
  • Query history: status, statement type, user name, warehouse, duration, rows produced, any error, and the statement text kept to a set length (2,000 characters by default; it can be turned off). The first read looks back seven days; later reads start an hour before the newest start time seen, because a query that started earlier can finish later.
  • Each list is paged until Databricks sends no page token; a page can be empty and still carry one.
  • Never read: table rows, query results, notebooks, jobs, secrets, permissions grants, and the system, samples and __databricks_internal catalogs unless you name them.
  1. In Databricks, create a service principal (or use a personal access token for a trial) and grant it USE CATALOG and USE SCHEMA, or BROWSE, on the catalogs to read, and CAN VIEW on the SQL warehouses.
  2. In LightHouse, open Connectors, choose Databricks, give the workspace host (dbc-....cloud.databricks.com, adb-....azuredatabricks.net or ....gcp.databricks.com), the catalogs to read (or leave it empty for all but the system ones), a label and how often to read, and paste the token.
  3. In code, give the deployment the token as DATABRICKS_TOKEN from your secret store and add a kind: databricks source card with host, catalogs, label and requires. token_env changes the variable name; kinds, warehouse_ids, lookback_days, overlap_minutes, query_text_chars and include_query_text narrow what is read.
  4. A service principal’s OAuth access token lasts an hour: have the deployment refresh the variable, or use a personal access token with an expiry.

Metadata privileges only: USE CATALOG and USE SCHEMA (or BROWSE) on what is read, and CAN VIEW on the warehouses. The collector sends only GET requests to the workspace host you give, with the token as a Bearer credential; it never runs a statement and never writes. Its read-only test proves it on every change.

  • The host must be a Databricks workspace host (AWS, Azure or GCP domains); anything else is refused, and a redirect to another host is refused.
  • A table, schema or catalog the principal cannot see is not listed; a schema that answers 403 or 404 keeps its objects as they were rather than withdrawing them.
  • Query history accepts a range of at most 30 days, so lookback_days is 1 to 30, and a pull reads at most 50 pages of 1,000 queries.
  • Table lineage is not read. Databricks publishes it in system tables, which need a SQL warehouse to run a statement, and this collector runs none.
  • Queries are kept when old; only catalogue objects and warehouses are withdrawn.
  • Requests are paced and back off when Databricks asks (Retry-After).
  • Names, comments, column descriptions and statement text are copied into the deployment’s corpus under the source’s label. Statement text can hold literal values, and user names identify people; set include_query_text: false to leave statements out.
  • Table rows and query results are never read.
  • The token stays in your secret store and is never written to logs or run notes; it is sent only to the workspace host.
  • Nothing leaves the deployment: only counts reach LightHouse.
What you see What it means What to do
is not a Databricks workspace host host is not a Databricks workspace domain Use the workspace address, such as dbc-....cloud.databricks.com
lookback_days is 1 to 30 The query-history range is wider than Databricks allows Choose 30 or fewer
credential variable 'DATABRICKS_TOKEN' is not set The token variable is empty Set it from your secret store
HTTP 401 The token is revoked, expired or for another workspace Make a new token; refresh an OAuth token hourly
HTTP 403 on query history The principal cannot see the warehouses’ history Grant the principal view access to the warehouses
Tables missing The principal has no USE SCHEMA on their schema Grant the privilege
Read succeeded, 0 written Nothing changed since the last read Nothing to do

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See How collectors are certified.

DateCollectorEngineVendor APIMethodExpires
20 November 20260.1.00.47.1Databricks REST API: Unity Catalog 2.1, SQL warehouses 2.0, query history 2.0Fixtures only: built, not certifiedNot applicable

From the collector’s last scan on the default branch. What each line means, and what blocks a release: Security posture.

Last scanned25 November 2026
Critical findings0
High findings0
Medium findings0
Low findings2
Info findings0
Release blockedNo
Network allow-list checkPass
Read-only behavioural testPass
SBOM (CycloneDX)Produced
Dependency licencesPass
Scannersbandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only