<?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: XML API:  show merged config in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/xml-api-show-merged-config/m-p/148016#M1345</link>
    <description>&lt;P&gt;There is an example in the documentation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/71/pan-os/xml-api.pdf" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/71/pan-os/xml-api.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pre‐rules pushed from Panorama:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://firewall//api/?type=config&amp;amp;action=get&amp;amp;xpath=/confi&lt;BR /&gt;g/panorama/vsys/entry[@name='vsys']/pre-rulebase/security&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this can be adapted to retrieve what you need.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 13:30:26 GMT</pubDate>
    <dc:creator>Anon1</dc:creator>
    <dc:date>2017-03-16T13:30:26Z</dc:date>
    <item>
      <title>XML API:  show merged config</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/xml-api-show-merged-config/m-p/138880#M1339</link>
      <description>&lt;P&gt;I am using the XML API on firewalls managed by a Panorama system.&amp;nbsp; I would like to retrieve the merged configuration containing the firewalls configuration, plus any configuration gained from Panorama templates.&amp;nbsp; I believe this is what the show config merged operation should do. However, after running the command, I don't seem to have any information from the templates, just the base configuration of the firewall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is my reasoning correct?&amp;nbsp; If this isn't going to work is there another way to achieve this result?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the following api call:&lt;/P&gt;&lt;P&gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;config&amp;gt;&amp;lt;merged&amp;gt;&amp;lt;/merged&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/show&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:51:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/xml-api-show-merged-config/m-p/138880#M1339</guid>
      <dc:creator>ebentley</dc:creator>
      <dc:date>2017-01-23T15:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: XML API:  show merged config</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/xml-api-show-merged-config/m-p/148016#M1345</link>
      <description>&lt;P&gt;There is an example in the documentation:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/71/pan-os/xml-api.pdf" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/71/pan-os/xml-api.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pre‐rules pushed from Panorama:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://firewall//api/?type=config&amp;amp;action=get&amp;amp;xpath=/confi&lt;BR /&gt;g/panorama/vsys/entry[@name='vsys']/pre-rulebase/security&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe this can be adapted to retrieve what you need.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:30:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/xml-api-show-merged-config/m-p/148016#M1345</guid>
      <dc:creator>Anon1</dc:creator>
      <dc:date>2017-03-16T13:30:26Z</dc:date>
    </item>
  </channel>
</rss>

