<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to get a list of workspace users who have the &amp;quot;unrestricted cluster create&amp;quot; entitlement ? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-get-a-list-of-workspace-users-who-have-the-quot/m-p/71744#M34389</link>
    <description>&lt;P&gt;Hello - I'm hoping somebody can help me with this ... I have a lot of users configured with access to a workspace (100's) and I want to write a report to see if any of the users have&amp;nbsp; "unrestricted cluster create" entitlement in the workspace. This information used to be available in the UI but it looks like you have to go into each user and inspect individually - this will take me ages if I have to do this (and is bound to make me angry). What I want is a report to give me this information. I'm happy using the CLI or the API to achieve this - but I can't see it in the docs or the internal help in the CLI - has anyone done this already ? Many thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards, David.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jun 2024 10:57:08 GMT</pubDate>
    <dc:creator>djburnham</dc:creator>
    <dc:date>2024-06-05T10:57:08Z</dc:date>
    <item>
      <title>How to get a list of workspace users who have the "unrestricted cluster create" entitlement ?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-a-list-of-workspace-users-who-have-the-quot/m-p/71744#M34389</link>
      <description>&lt;P&gt;Hello - I'm hoping somebody can help me with this ... I have a lot of users configured with access to a workspace (100's) and I want to write a report to see if any of the users have&amp;nbsp; "unrestricted cluster create" entitlement in the workspace. This information used to be available in the UI but it looks like you have to go into each user and inspect individually - this will take me ages if I have to do this (and is bound to make me angry). What I want is a report to give me this information. I'm happy using the CLI or the API to achieve this - but I can't see it in the docs or the internal help in the CLI - has anyone done this already ? Many thanks for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards, David.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 10:57:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-a-list-of-workspace-users-who-have-the-quot/m-p/71744#M34389</guid>
      <dc:creator>djburnham</dc:creator>
      <dc:date>2024-06-05T10:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a list of workspace users who have the "unrestricted cluster create" entitl</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-a-list-of-workspace-users-who-have-the-quot/m-p/71824#M34412</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104287"&gt;@djburnham&lt;/a&gt;,&amp;nbsp;good day!&lt;/P&gt;
&lt;P&gt;Did you try using this API:&amp;nbsp;&lt;A href="https://docs.databricks.com/api/workspace/users/list" target="_blank"&gt;https://docs.databricks.com/api/workspace/users/list&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This API provides a list of all the users in the workspace and their entitlements. You can get the list of users, parse through each user's entitlements, find out who has unrestricted cluster creation permission, and then create a report on it. I believe this will help you. Please share your thoughts on this.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 05:27:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-a-list-of-workspace-users-who-have-the-quot/m-p/71824#M34412</guid>
      <dc:creator>Yeshwanth</dc:creator>
      <dc:date>2024-06-06T05:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get a list of workspace users who have the "unrestricted cluster create" entitl</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-get-a-list-of-workspace-users-who-have-the-quot/m-p/71870#M34422</link>
      <description>&lt;P&gt;Many thanks for you help&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/32523"&gt;@Yeshwanth&lt;/a&gt;&amp;nbsp; it put me on the right track. The API does have a filter option and that looks like it complies with&amp;nbsp;rfc7644 but my attempts to use it were rather hit and miss - I suspect as the API is preview it is not fully implemented. Getting the info out of the API was enough to allow me to parse the json using jq to get the list of users with the "allow-cluster-create" privilege. Here is the code running in a linux bash prompt to get the list of users with the privilege.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;$ databricks api get /api/2.0/preview/scim/v2/Users| jq '.Resources | map(select(.entitlements != null and (.entitlements | any(.value == "allow-cluster-create")))) | map(.userName)'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This was so much easier when there was a page in the GUI to show entitlements ... Is it hidden now of have I just lost it ?&lt;/P&gt;&lt;P&gt;Kind regards, David&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 10:47:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-get-a-list-of-workspace-users-who-have-the-quot/m-p/71870#M34422</guid>
      <dc:creator>djburnham</dc:creator>
      <dc:date>2024-06-06T10:47:32Z</dc:date>
    </item>
  </channel>
</rss>

