cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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

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

KVNARK
Honored Contributor II

Thank you @Aviral Bhardwaj​ 

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.