<?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: Exporting translations for an IPAM system in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-translations-for-an-ipam-system/m-p/22297#M16253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You might consider using the REST API: &lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" href="https://live.paloaltonetworks.com/docs/DOC-1031"&gt;https://live.paloaltonetworks.com/docs/DOC-1031&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this API you can pull the configuration file in XML output, similar to the "show running nat-policy" command.&amp;nbsp; Then you can parse it and pull out only the parts you would like.&amp;nbsp; This might be easier than creating a script to login and run the command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Nov 2010 23:56:11 GMT</pubDate>
    <dc:creator>kbrazil</dc:creator>
    <dc:date>2010-11-03T23:56:11Z</dc:date>
    <item>
      <title>Exporting translations for an IPAM system</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-translations-for-an-ipam-system/m-p/22296#M16252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been working on automated scripts to export my firewall configurations, gather the NAT translations and reformat the exported data into the XML format used by my IPAM system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've managed to automate this on our Check Points by parsing the objects.C file directly from our firewall managers - however, chopping through the PA config isn't quite as trivial - until I took the advance admin class and learned about the nice little command "show running nat-policy"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My ultimate method for making this work would be use SSH with the remote command to hopefully run this command and output the XML ready for transformation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone recommend a strategy for remotely executing the command "show running nat-policy" so that I can process it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 19:42:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-translations-for-an-ipam-system/m-p/22296#M16252</guid>
      <dc:creator>jsilvia</dc:creator>
      <dc:date>2010-11-03T19:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting translations for an IPAM system</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-translations-for-an-ipam-system/m-p/22297#M16253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You might consider using the REST API: &lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" href="https://live.paloaltonetworks.com/docs/DOC-1031"&gt;https://live.paloaltonetworks.com/docs/DOC-1031&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this API you can pull the configuration file in XML output, similar to the "show running nat-policy" command.&amp;nbsp; Then you can parse it and pull out only the parts you would like.&amp;nbsp; This might be easier than creating a script to login and run the command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kelly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Nov 2010 23:56:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-translations-for-an-ipam-system/m-p/22297#M16253</guid>
      <dc:creator>kbrazil</dc:creator>
      <dc:date>2010-11-03T23:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting translations for an IPAM system</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/exporting-translations-for-an-ipam-system/m-p/22298#M16254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is definitely a big help - now how do I get more information on building my xpath variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xpath=devices/entry/vsys/entry/rulebase/security&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I'm wanting the running NAt policy from vsys FEDMZ, I figure this gets me close:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xpath=devices/entry/FEDMZ/entry/running/nat-policy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or something like this... help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Nov 2010 20:03:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/exporting-translations-for-an-ipam-system/m-p/22298#M16254</guid>
      <dc:creator>jsilvia</dc:creator>
      <dc:date>2010-11-04T20:03:34Z</dc:date>
    </item>
  </channel>
</rss>

