<?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 Re: PAN-OS XML API filtering question in Next-Generation Firewall Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/pan-os-xml-api-filtering-question/m-p/532268#M947</link>
    <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/80707"&gt;@mgreer&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the API browser, only 3 filters are available:&amp;nbsp; domain, gateway, and user.&amp;nbsp; However, the result includes the login time and lifetime.&amp;nbsp; &lt;A href="https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/pan-os-xml-api-use-cases/show-and-manage-globalprotect-users-api" target="_blank"&gt;https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/pan-os-xml-api-use-cases/show-and-manage-globalprotect-users-api&lt;/A&gt;&amp;nbsp; You could filter on the client side.&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>Fri, 24 Feb 2023 23:36:11 GMT</pubDate>
    <dc:creator>TomYoung</dc:creator>
    <dc:date>2023-02-24T23:36:11Z</dc:date>
    <item>
      <title>PAN-OS XML API filtering question</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/pan-os-xml-api-filtering-question/m-p/532011#M936</link>
      <description>&lt;P&gt;Does the PAN-OS XML API for Global Protect previous users have a time filter option?&amp;nbsp; I didn't see one documented.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This query returns all previous users in the firewalls logs, but really I just want the last hour:&lt;/P&gt;
&lt;P data-unlink="true"&gt;https://&amp;lt;firewall&amp;nbsp;_address&amp;gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;global-protect-gateway&amp;gt;&amp;lt;previous-user/&amp;gt;&amp;lt;/global-protect-gateway&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 23:19:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/pan-os-xml-api-filtering-question/m-p/532011#M936</guid>
      <dc:creator>mgreer</dc:creator>
      <dc:date>2023-02-22T23:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: PAN-OS XML API filtering question</title>
      <link>https://live.paloaltonetworks.com/t5/next-generation-firewall/pan-os-xml-api-filtering-question/m-p/532268#M947</link>
      <description>&lt;P&gt;Hi &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/80707"&gt;@mgreer&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking at the API browser, only 3 filters are available:&amp;nbsp; domain, gateway, and user.&amp;nbsp; However, the result includes the login time and lifetime.&amp;nbsp; &lt;A href="https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/pan-os-xml-api-use-cases/show-and-manage-globalprotect-users-api" target="_blank"&gt;https://docs.paloaltonetworks.com/pan-os/10-1/pan-os-panorama-api/pan-os-xml-api-use-cases/show-and-manage-globalprotect-users-api&lt;/A&gt;&amp;nbsp; You could filter on the client side.&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>Fri, 24 Feb 2023 23:36:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/next-generation-firewall/pan-os-xml-api-filtering-question/m-p/532268#M947</guid>
      <dc:creator>TomYoung</dc:creator>
      <dc:date>2023-02-24T23:36:11Z</dc:date>
    </item>
  </channel>
</rss>

