<?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>question Re: Ranger Policies using API in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165569#M49627</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2403/chennurigourishankar.html"&gt;chennuri gouri shankar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following link has the details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Policy+Management" target="_blank"&gt;https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Policy+Management&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -u $RangerAdmin:$Password -X GET &lt;A href="http://$RANGERHOST:6080/service/public/api/policy/" target="_blank"&gt;http://$RANGERHOST:6080/service/public/api/policy/&lt;/A&gt; &lt;/PRE&gt;&lt;P&gt;
Above will list the policies then you can navigate to the desired policy make changes/post/delete&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2016 14:58:13 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2016-12-21T14:58:13Z</dc:date>
    <item>
      <title>Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165567#M49625</link>
      <description>&lt;P&gt;Can anyone guide me link on how to create policies in Ranger using API?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 14:54:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165567#M49625</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-12-21T14:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165568#M49626</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2403/chennurigourishankar.html" nodeid="2403"&gt;@chennuri gouri shankar&lt;/A&gt;&lt;P&gt;Can you check the link which guides you on how to create policies using api - &lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Policy+Management#RESTAPIsforPolicyManagement-CreatePolicy:" target="_blank"&gt;https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Policy+Management#RESTAPIsforPolicyManagement-CreatePolicy:&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Let me know if that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 14:57:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165568#M49626</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-12-21T14:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165569#M49627</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/2403/chennurigourishankar.html"&gt;chennuri gouri shankar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following link has the details:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Policy+Management" target="_blank"&gt;https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Policy+Management&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -u $RangerAdmin:$Password -X GET &lt;A href="http://$RANGERHOST:6080/service/public/api/policy/" target="_blank"&gt;http://$RANGERHOST:6080/service/public/api/policy/&lt;/A&gt; &lt;/PRE&gt;&lt;P&gt;
Above will list the policies then you can navigate to the desired policy make changes/post/delete&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 14:58:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165569#M49627</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2016-12-21T14:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165570#M49628</link>
      <description>&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management" target="_blank"&gt;https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 15:02:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165570#M49628</guid>
      <dc:creator>mvaradkar</dc:creator>
      <dc:date>2016-12-21T15:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165571#M49629</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay SenSharma&lt;/A&gt; It's worth pointing out that unless you're using Ranger 0.4 or below, that API is obsolete. You should be using the v2 API linked to by &lt;A rel="user" href="https://community.cloudera.com/users/13558/mvaradkar.html" nodeid="13558"&gt;@mvaradkar&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management"&gt;https://cwiki.apache.org/confluence/display/RANGER/REST+APIs+for+Service+Definition%2C+Service+and+Policy+Management&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 19:48:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165571#M49629</guid>
      <dc:creator>tstebbens</dc:creator>
      <dc:date>2016-12-21T19:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165572#M49630</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/50/tstebbens.html"&gt;Terry Stebbens
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing the latest v2 API link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/50/tstebbens.html"&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 19:58:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165572#M49630</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2016-12-21T19:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165573#M49631</link>
      <description>&lt;P&gt;Thanks for the link.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 02:56:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165573#M49631</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-12-22T02:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165574#M49632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what's the maximum number of policies retrieved via curl -iv -u admin:admin -H "Content-type:application/json" -X GET &lt;A href="http://xxxx:6080/service/public/api/policy" target="_blank"&gt;http://xxxx:6080/service/public/api/policy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i get max 200 rules for hive i know for sure thee are more rules..how to get that using ranger api&lt;/P&gt;</description>
      <pubDate>Fri, 18 Aug 2017 01:13:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/165574#M49632</guid>
      <dc:creator>sudarshan_shrid</dc:creator>
      <dc:date>2017-08-18T01:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/319861#M49633</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a requirement like, i need to create hive policy with two groups .one group with "ALL" permissions to some "x" user and 2nd group with "select" permission to "y" user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have created policy through REST APi with one group but with "all" permissions but how to mention 2nd group with "select" permission in same create policy command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Srini Podili&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 12:02:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/319861#M49633</guid>
      <dc:creator>srinivasp</dc:creator>
      <dc:date>2021-07-05T12:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/319888#M49634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/22041"&gt;@srinivasp&lt;/a&gt;, I see that you posted similar concerns in multiple posts. I recommend you create a&amp;nbsp;&lt;A href="http://“https://community.cloudera.com/t5/forums/postpage/board-id/Questions”" target="_self"&gt;start a new thread&amp;nbsp;&lt;/A&gt;and&amp;nbsp;provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 16:52:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/319888#M49634</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-07-05T16:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger Policies using API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/357254#M49635</link>
      <description>&lt;P&gt;Default Page Size seems to be 200 on most APIs.&lt;BR /&gt;Use query parameters &lt;SPAN class="pl-c1"&gt;pageSize and startIndex to page through the results&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 08:06:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-Policies-using-API/m-p/357254#M49635</guid>
      <dc:creator>jschillinger</dc:creator>
      <dc:date>2022-11-09T08:06:25Z</dc:date>
    </item>
  </channel>
</rss>

