cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to get list of users who created the tables in different workspaces and the operations they have done.

KVNARK
Honored Contributor II

Hi,

I have 10 workspaces linked to different departments. We have overall 4 users doing some activity on these 10 workspaces . I want to get the list of users who are all operating on which tables and what operation they have performed and all in all those 10 workspaces.

Thanks in adavnce!

1 ACCEPTED SOLUTION

Accepted Solutions

Aviral-Bhardwaj
Esteemed Contributor III

Hi Ranjit,

for tablets, I believe it's hard but if you want to combine all 10 workspaces you can use the databricks API for cluster lists

https://docs.databricks.com/dev-tools/api/latest/index.html

and then you can check their IAM roles to understand which IAM roles they are using

after that, you will get IAM roles and you can check from AWS cloud watch or cloud trail which IAM role is trying to access which table

also if you have unity catalogue enable then you can directly check that who have all prilivage for the tables

Thanks

Aviral Bhardwaj

AviralBhardwaj

View solution in original post

2 REPLIES 2

Aviral-Bhardwaj
Esteemed Contributor III

Hi Ranjit,

for tablets, I believe it's hard but if you want to combine all 10 workspaces you can use the databricks API for cluster lists

https://docs.databricks.com/dev-tools/api/latest/index.html

and then you can check their IAM roles to understand which IAM roles they are using

after that, you will get IAM roles and you can check from AWS cloud watch or cloud trail which IAM role is trying to access which table

also if you have unity catalogue enable then you can directly check that who have all prilivage for the tables

Thanks

Aviral Bhardwaj

AviralBhardwaj

KVNARK
Honored Contributor II

Thank you @Aviral Bhardwajโ€‹ 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group