Closed zpappa closed 4 months ago
Seems like a duplicate of #413
It is impossible to do with the resources we have
As part of https://github.com/databrickslabs/ucx/pull/326 the following are taken care of -
Scanned spark config all clusters, jobs, cluster policies, pipelines for Azure Service Principals who has access to storage and flagged Scanned cluster scoped and global init scripts for Azure Service Principals who has access to storage and flagged In this issue the following pending item is meant to be taken care of -
Create an inventory of all Azure SPNs who has access to storage from all the init scripts (cluster and global) and add it to the "azure_service_principals" table in HMS.
we crawl principal permissions directly on storage accounts. we won't parse shell scripts, which is prohibitively expensive
326
Background
Run a dependent job after the current jobs to capture the details from init scripts and if any matching spark config for Azure is found then append to the cluster, job and Azure SPN tables.
Add the following
related info:
az login --service-principal ...
az storage blob download
/databricks/spark/conf