<?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 Getting all Network Objects &amp;amp; Addresses via API in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/174423#M54812</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In working with the PAN-OS API on v7, I have been trying to figure out the appropriate way to get all of the network objects and their associated addressesF15 recognized by my firewall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried the following query but only seems to return an error code of 7, so I'm not sure if that means my query is&amp;nbsp;malformed or if what I'm asking it for is the wrong request type:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried via Windows PowerShell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoke-RestMethod -Method GET -Uri&lt;/P&gt;&lt;P&gt;&lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;"https://MYFIREWALL/api/?type=config&amp;amp;action=get&amp;amp;key=MYAPIKEY&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/address-group" &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;If anyone could point me in the right direction, I would be greatly appreciative.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Sep 2017 19:07:21 GMT</pubDate>
    <dc:creator>f1r3withf1r3</dc:creator>
    <dc:date>2017-09-01T19:07:21Z</dc:date>
    <item>
      <title>Getting all Network Objects &amp; Addresses via API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/174423#M54812</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In working with the PAN-OS API on v7, I have been trying to figure out the appropriate way to get all of the network objects and their associated addressesF15 recognized by my firewall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried the following query but only seems to return an error code of 7, so I'm not sure if that means my query is&amp;nbsp;malformed or if what I'm asking it for is the wrong request type:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried via Windows PowerShell:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invoke-RestMethod -Method GET -Uri&lt;/P&gt;&lt;P&gt;&lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;"https://MYFIREWALL/api/?type=config&amp;amp;action=get&amp;amp;key=MYAPIKEY&amp;amp;xpath=/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/address-group" &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#8b0000" face="Lucida Console" size="1"&gt;If anyone could point me in the right direction, I would be greatly appreciative.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 19:07:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/174423#M54812</guid>
      <dc:creator>f1r3withf1r3</dc:creator>
      <dc:date>2017-09-01T19:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all Network Objects &amp; Addresses via API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/174566#M54840</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/72819"&gt;@f1r3withf1r3&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might be of help to you :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How to Export Address and Address-group Objects Using PAN-OS API:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/Tutorials/How-to-Export-Address-and-Address-group-Objects-Using-PAN-OS-API/ta-p/58622" target="_blank"&gt;https://live.paloaltonetworks.com/t5/Tutorials/How-to-Export-Address-and-Address-group-Objects-Using-PAN-OS-API/ta-p/58622&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers !&lt;/P&gt;
&lt;P&gt;-Kiwi&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 08:58:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/174566#M54840</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2017-09-04T08:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all Network Objects &amp; Addresses via API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/175203#M54936</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/11943"&gt;@kiwi&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on the documentation for that perl package, looks like its instructions are for linux admins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While this is possible in my particular case, for the sake of future Googlers, is there any guide on making that work in Windows via CygWin/PAN-Perl/Excel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gluing that together is not readily understandable from the page initially provided. Any pointers would be helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 14:53:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/175203#M54936</guid>
      <dc:creator>f1r3withf1r3</dc:creator>
      <dc:date>2017-09-06T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting all Network Objects &amp; Addresses via API</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/175253#M54945</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/72819"&gt;@f1r3withf1r3&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;To the best of my knowledge PAN-perl is depreciated and really isn't recommended anymore, pan-python would be more of the direction most are taking, or Device Framework.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That being said if you are in a Windows envrioment I would really recommend simply learning the API before you start incorporating any of the other tools that Palo Alto and users have published for use in other languages. Knowing what the command you are issueing is actually doing on your system is something that I deam pretty essential.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 19:51:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/getting-all-network-objects-amp-addresses-via-api/m-p/175253#M54945</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2017-09-06T19:51:08Z</dc:date>
    </item>
  </channel>
</rss>

