<?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 API set up with global protect and infoblox in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/api-set-up-with-global-protect-and-infoblox/m-p/565662#M114373</link>
    <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;I hope i am in the right place to ask this question. I am working on building an API set up that will pull Global protect user information such as hostname, IP, etc... That data will then be fed into infoblox as our central dns source. Our previous rep had suggested:&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;You can use two API&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;requests to view and then disconnect a Global Protect user who has been logged in for too long.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;STEP 1 View all GlobalProtect users.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Make a request to view all GlobalProtect users:&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;curl&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;-X GET&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;'https: //firewall&amp;gt;/api/?&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;global-protect-gateway&amp;gt;&amp;lt;current-user/&amp;gt;&amp;lt;/global-&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;protect-gateway&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&amp;lt;apikey&amp;gt;&lt;BR /&gt;&lt;BR /&gt;This command does not seem to be working and I attempted to go through the api interface on the firewall to build this call but after reviewing the documents I am not sure if I have the api call wrong or maybe the admin account properties.&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Has anyone built this type of api call/push before or have ideas?&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2023 18:29:07 GMT</pubDate>
    <dc:creator>ADefeo</dc:creator>
    <dc:date>2023-11-14T18:29:07Z</dc:date>
    <item>
      <title>API set up with global protect and infoblox</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-set-up-with-global-protect-and-infoblox/m-p/565662#M114373</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;I hope i am in the right place to ask this question. I am working on building an API set up that will pull Global protect user information such as hostname, IP, etc... That data will then be fed into infoblox as our central dns source. Our previous rep had suggested:&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;You can use two API&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;requests to view and then disconnect a Global Protect user who has been logged in for too long.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;STEP 1 View all GlobalProtect users.&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Make a request to view all GlobalProtect users:&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;curl&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;-X GET&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;'https: //firewall&amp;gt;/api/?&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;global-protect-gateway&amp;gt;&amp;lt;current-user/&amp;gt;&amp;lt;/global-&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;protect-gateway&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&amp;lt;apikey&amp;gt;&lt;BR /&gt;&lt;BR /&gt;This command does not seem to be working and I attempted to go through the api interface on the firewall to build this call but after reviewing the documents I am not sure if I have the api call wrong or maybe the admin account properties.&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Has anyone built this type of api call/push before or have ideas?&amp;nbsp;&lt;/P&gt;
&lt;P style="font-weight: 400;"&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 18:29:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-set-up-with-global-protect-and-infoblox/m-p/565662#M114373</guid>
      <dc:creator>ADefeo</dc:creator>
      <dc:date>2023-11-14T18:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: API set up with global protect and infoblox</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/api-set-up-with-global-protect-and-infoblox/m-p/565683#M114378</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/308871"&gt;@ADefeo&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This works for me in the API browser.&amp;nbsp; &amp;lt;show&amp;gt;&amp;lt;global-protect-gateway&amp;gt;&amp;lt;current-user&amp;gt;&amp;lt;/current-user&amp;gt;&amp;lt;/global-protect-gateway&amp;gt;&amp;lt;/show&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you need to fix a couple syntax errors in your XML.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 21:11:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/api-set-up-with-global-protect-and-infoblox/m-p/565683#M114378</guid>
      <dc:creator>TomYoung</dc:creator>
      <dc:date>2023-11-14T21:11:28Z</dc:date>
    </item>
  </channel>
</rss>

