<?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: API - Listing Device Group Addresses by Location in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182541#M1470</link>
    <description>&lt;P&gt;The shared address objects are found under that path. The other objects would be found under the path for the vsys they correspond to (in a single-vsys environment, it would be vsys1). For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/address&lt;/PRE&gt;&lt;P&gt;would be the xpath for address objects in vsys1.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Oct 2017 14:28:57 GMT</pubDate>
    <dc:creator>nigelswift</dc:creator>
    <dc:date>2017-10-18T14:28:57Z</dc:date>
    <item>
      <title>API - Listing Device Group Addresses by Location</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182540#M1469</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In exploring the XML API, I have come across a stumbling block.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm attempting to sort out is under the Objects tab &amp;gt; Addresses in the side panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some addresses as Shared, and others that are not shared objects and specific to a location. What I'm ultimately wanting to do is query just the objects that are not shared versus ones that are, and do some data comparisons.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There didn't seem to be a clear way to do this via the API for non-shared objects, but I can get shared objects through an HTTP GET like:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;https://my.panorama.domain/api/?type=config&amp;amp;action=get&amp;amp;xpath=/config/shared/address&amp;amp;key=MYAPIKEY&lt;/PRE&gt;&lt;P&gt;Is there a similar means of getting that information for non-shared objects specific to a device group location?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 14:24:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182540#M1469</guid>
      <dc:creator>f1r3withf1r3</dc:creator>
      <dc:date>2017-10-18T14:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: API - Listing Device Group Addresses by Location</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182541#M1470</link>
      <description>&lt;P&gt;The shared address objects are found under that path. The other objects would be found under the path for the vsys they correspond to (in a single-vsys environment, it would be vsys1). For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/config/devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/address&lt;/PRE&gt;&lt;P&gt;would be the xpath for address objects in vsys1.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 14:28:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182541#M1470</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2017-10-18T14:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: API - Listing Device Group Addresses by Location</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182556#M1471</link>
      <description>&lt;P&gt;So if you're not using vsys there's no other method of getting that information programmatically?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 15:25:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182556#M1471</guid>
      <dc:creator>f1r3withf1r3</dc:creator>
      <dc:date>2017-10-18T15:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: API - Listing Device Group Addresses by Location</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182560#M1472</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/55390"&gt;@nigelswift&lt;/a&gt;, I realized the&amp;nbsp;@[name='vsys1'] could just be any device group name. Was a bit confused at first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nonetheless, really appreciate your help!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 15:50:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-listing-device-group-addresses-by-location/m-p/182560#M1472</guid>
      <dc:creator>f1r3withf1r3</dc:creator>
      <dc:date>2017-10-18T15:50:09Z</dc:date>
    </item>
  </channel>
</rss>

