Databricks#
Cartography supports workspace inventory and optional account-level inventory for Databricks on AWS and GCP.
Account-level ingestion includes SCIM users, groups, service principals, workspace assignments, federation policies, and workspace cloud configurations such as credentials, storage, networks, encryption keys, VPC endpoints, log delivery, and budgets. Cartography links these objects to existing AWS and GCP resources in the graph.
Without account-level options, the module runs in workspace-only mode.
Unity Catalog Scope#
Unity Catalog objects belong to their DatabricksMetastore, which several
workspaces can share. Each object hangs off the metastore with RESOURCE and
exists once, however many workspaces list it. Each workspace links to its
metastore with ASSIGNED_METASTORE, and each securable links to every
workspace that lists it with VISIBLE_IN, so catalog bindings and permissions
that differ per workspace stay visible. An object is pruned only when no
workspace listed it in the latest sync. Metastores themselves are not pruned:
when no workspace is assigned to a metastore any more, it and its objects stay
in the graph until removed by hand.
Cross-Provider Connections#
Databricks cloud configurations connect to existing AWS and GCP resources when those resources are already present in the graph. These connections cover storage buckets, IAM principals, service accounts, VPCs, subnets, security groups, VPC endpoints, and encryption keys.
Git-backed Databricks repositories also connect to their source
GitHubRepository through SOURCED_FROM when the matching repository is
already present.
Notebooks are materialized only when referenced by a job task. Cartography creates a lightweight, path-keyed node for each referenced notebook without retrieving notebook content, permissions, or the complete workspace tree.
Databricks identities and resources use ontology labels such as Tenant,
UserAccount, ServiceAccount, UserGroup, Database, ObjectStorage, and
NetworkAccessControl so they participate in cross-provider queries.