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!

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

KVNARK
Honored Contributor II

Thank you @Aviral Bhardwaj​