azure-dbx-workspace-contains-notebook

explicit azure emits Contains

match (record)

{ "field": "path", "resource_type": "Databricks::Notebook" }

emit

source typeAdministrativeBoundary
target type*
source<Databricks workspace node>
target<notebook node (Notebook)>

Narrative

Databricks workspace {workspace.name} contains notebook {notebook.path}.

Raw rule rules/explicit/azure-databricks.yaml

id: azure-dbx-workspace-contains-notebook
emits: Contains
applies_to:
- azure
match_record:
  resource_type: Databricks::Notebook
  field: path
emit:
  source_type: AdministrativeBoundary
  target_type: '*'
  source: <Databricks workspace node>
  target: <notebook node (Notebook)>
  api_source: GET /api/2.0/workspace/list (recursive)
  evidence_field: path
  narrative: Databricks workspace {workspace.name} contains notebook {notebook.path}.
move · open · esc close