<?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 return IP subnet instead of IP/32 host in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-return-ip-subnet-instead-of-ip-32-host/m-p/454377#M2858</link>
    <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;One of my customer is trying to search within the traffic log, using XML API, specific host (IP address).&amp;nbsp;&lt;BR /&gt;He use this kind of request:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://IP-Panorama/api//api/?key=" target="_blank"&gt;https://IP-Panorama/api//api/?key=&lt;/A&gt;&amp;lt;Clef Valide&amp;gt;&amp;amp;type=log&amp;amp;log-type=traffic&amp;amp;query=(receive_time geq '2012/06/22 08:00:00')&lt;BR /&gt;In this case there is no specific IP, but it gives us the same when we're looking for a specific address.&lt;BR /&gt;The CSV returned subnets IP for src and dst. Never a specific /32 host.&lt;BR /&gt;Exemple:&lt;BR /&gt;[...]&lt;BR /&gt;&amp;lt;src&amp;gt;10.254.76.0/24&amp;lt;/src&amp;gt;&lt;BR /&gt;&amp;lt;dst&amp;gt;8.8.8.0/24&amp;lt;/dst&amp;gt;&lt;BR /&gt;&amp;lt;rule&amp;gt;Deny ALL&amp;lt;/rule&amp;gt;&lt;BR /&gt;&amp;lt;srcloc code="10.0.0.0-10.255.255.255" cc="10.0.0.0-10.255.255.255"&amp;gt;10.0.0.0-10.255.255.255&amp;lt;/srcloc&amp;gt;&lt;BR /&gt;&amp;lt;dstloc code="United States" cc="US"&amp;gt;United States&amp;lt;/dstloc&amp;gt;&lt;BR /&gt;[...]&lt;/P&gt;&lt;P&gt;Do you have any idea? Are you guys already experience such issue?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 13:35:46 GMT</pubDate>
    <dc:creator>epavis</dc:creator>
    <dc:date>2021-12-20T13:35:46Z</dc:date>
    <item>
      <title>API return IP subnet instead of IP/32 host</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-return-ip-subnet-instead-of-ip-32-host/m-p/454377#M2858</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;One of my customer is trying to search within the traffic log, using XML API, specific host (IP address).&amp;nbsp;&lt;BR /&gt;He use this kind of request:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://IP-Panorama/api//api/?key=" target="_blank"&gt;https://IP-Panorama/api//api/?key=&lt;/A&gt;&amp;lt;Clef Valide&amp;gt;&amp;amp;type=log&amp;amp;log-type=traffic&amp;amp;query=(receive_time geq '2012/06/22 08:00:00')&lt;BR /&gt;In this case there is no specific IP, but it gives us the same when we're looking for a specific address.&lt;BR /&gt;The CSV returned subnets IP for src and dst. Never a specific /32 host.&lt;BR /&gt;Exemple:&lt;BR /&gt;[...]&lt;BR /&gt;&amp;lt;src&amp;gt;10.254.76.0/24&amp;lt;/src&amp;gt;&lt;BR /&gt;&amp;lt;dst&amp;gt;8.8.8.0/24&amp;lt;/dst&amp;gt;&lt;BR /&gt;&amp;lt;rule&amp;gt;Deny ALL&amp;lt;/rule&amp;gt;&lt;BR /&gt;&amp;lt;srcloc code="10.0.0.0-10.255.255.255" cc="10.0.0.0-10.255.255.255"&amp;gt;10.0.0.0-10.255.255.255&amp;lt;/srcloc&amp;gt;&lt;BR /&gt;&amp;lt;dstloc code="United States" cc="US"&amp;gt;United States&amp;lt;/dstloc&amp;gt;&lt;BR /&gt;[...]&lt;/P&gt;&lt;P&gt;Do you have any idea? Are you guys already experience such issue?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 13:35:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-return-ip-subnet-instead-of-ip-32-host/m-p/454377#M2858</guid>
      <dc:creator>epavis</dc:creator>
      <dc:date>2021-12-20T13:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: API return IP subnet instead of IP/32 host</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-return-ip-subnet-instead-of-ip-32-host/m-p/454413#M2859</link>
      <description>&lt;P&gt;I've just tested this with Postman against my Panorama, I got real IP addresses not subnets when looking at the XML response:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2021-12-20 at 15.15.20.png" style="width: 717px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/38234i13D3FDE043B80775/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2021-12-20 at 15.15.20.png" alt="Screenshot 2021-12-20 at 15.15.20.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm running 10.1.3-h1... It might be worth your customer raising a support ticket to see if there is a known problem with the version they are running, especially if it is an old version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 15:18:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-return-ip-subnet-instead-of-ip-32-host/m-p/454413#M2859</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2021-12-20T15:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: API return IP subnet instead of IP/32 host</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-return-ip-subnet-instead-of-ip-32-host/m-p/454414#M2860</link>
      <description>&lt;P&gt;Hi Jimmy,&lt;/P&gt;&lt;P&gt;Thanks for your quick answer. I've just talked with my customer. He told me the issue is random. With the same request, he got good answer and sometimes not. By the way, he runs a Panorama in 9.1.8. I'm confused, before opening a case, I want an issue easy to replicate. I'll keep you in touch. Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 15:31:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-return-ip-subnet-instead-of-ip-32-host/m-p/454414#M2860</guid>
      <dc:creator>epavis</dc:creator>
      <dc:date>2021-12-20T15:31:36Z</dc:date>
    </item>
  </channel>
</rss>

