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

Getting error when retrieving databricks_current_user and databricks_spark_version #85

Closed n2dTechno closed 4 months ago

n2dTechno commented 4 months ago

I have workspace access not to the account level. Getting below error

databricks_current_user Error : Cannot read current user: default auth cannot configure default credentials

databricks_spark_version ERROR = Cannot read spark version: default auth:cannot configure default credentials

Please let me know minimum permission required to run SAT tool and solve above problem

arunpamulapati commented 4 months ago

Hi please send an email to arun@databricks.com with a few days and EST friendly times for next week to debug this live

arunpamulapati commented 4 months ago

This is resolved now. This was due to API drift. we added an exception handling condition. We will review the APIs as part of the next version.

arunpamulapati commented 4 months ago

Sorry, please follow the setup guide. https://github.com/databricks-industry-solutions/security-analysis-tool/blob/main/docs/setup.md

n2dTechno commented 4 months ago

Thank you