databricks-industry-solutions / security-analysis-tool

Security Analysis Tool (SAT) analyzes customer's Databricks account and workspace security configurations and provides recommendations that help them follow Databrick's security best practices. When a customer runs SAT, it will compare their workspace configurations against a set of security best practices and delivers a report.
Other
74 stars 36 forks source link

Dashboard shows only one workspace in drop-down #78

Closed gkoenig closed 11 months ago

gkoenig commented 11 months ago

Hello, I've setup SAT on one of our Azure subscriptions, containing several workspaces to be analyzed, but unfortunately the dashboard only shows one workspace in the drop-down box for selecting "workspace", which is the workspace where sat is hosted (the "current workspace" in the wording of the notebook). I went through the manual setup successfully (at least both notebooks "security_analysis_initializer" and "security_analysis_driver" finished without error), but didn't find any hint why the dashboard doesn't offer me the remaining workspaces to choose.

Some more details:

Any hint why the dashboard only shows one out of the 4 workspaces in the drop-down box is highly appreciated, where to continue troubleshooting, which tables/statements to check , etc...

Many thanks in advance

arunpamulapati commented 11 months ago

Its likely a cache issue. Please review this FAQ # 3 and let me know if that fixes the problem. https://github.com/databricks-industry-solutions/security-analysis-tool/blob/main/docs/setup.md#faqs

It is likely that the Dashboard cached the workspaces in the pulldown. You can go to SQL view of your workspace -> Queries -> find workspace_ids query and run it, that should refresh and have the new workspaces in the pull-down.

gkoenig commented 11 months ago

Hello @arunpamulapati , many thanks for your quick response. Your suggestion of "rerunning the query" solved the issue :+1: