azure-dbx-workspace-contains-notebook
match (record)
{
"field": "path",
"resource_type": "Databricks::Notebook"
}
emit
| source type | AdministrativeBoundary |
|---|---|
| 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}.