<?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 for download Dynamic / Software updates in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/201993#M1597</link>
    <description>&lt;P&gt;You answered how to download updates from firewall.&lt;/P&gt;&lt;P&gt;Thanks but not really helped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paloalto Firewall will be in closed network without access to internet. I have to write a script to automate updates. Script will download updates directly from producer and then manually moved (by cd or pendrive) to closed closed network and firewall should import those updates (also by script).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to download updates directly from "paloaltonetworks" and then import them to my firewall.&lt;/P&gt;&lt;P&gt;So is there any API that I could download software updates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrzej Grymkowski&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2018 14:06:03 GMT</pubDate>
    <dc:creator>marcin.sek</dc:creator>
    <dc:date>2018-02-23T14:06:03Z</dc:date>
    <item>
      <title>API for download Dynamic / Software updates</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/197586#M1552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to automate&amp;nbsp;downloading dynamic and software updates for my licensed products.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any API provided by PaloAlto to download updates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 14:06:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/197586#M1552</guid>
      <dc:creator>marcin.sek</dc:creator>
      <dc:date>2018-01-30T14:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: API for download Dynamic / Software updates</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/197669#M1553</link>
      <description>&lt;PRE&gt;/api/?type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;system&amp;gt;&amp;lt;software&amp;gt;&amp;lt;install&amp;gt;&amp;lt;version&amp;gt;version_number&amp;lt;/version&amp;gt;&amp;lt;/install&amp;gt;&amp;lt;/software&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/request&amp;gt;&lt;/PRE&gt;&lt;P&gt;will start an install assuming the version you have the version downloaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/api/?type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;system&amp;gt;&amp;lt;software&amp;gt;&amp;lt;download&amp;gt;&amp;lt;version&amp;gt;version_number&amp;lt;/version&amp;gt;&amp;lt;/download&amp;gt;&amp;lt;/software&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/request&amp;gt;&lt;/PRE&gt;&lt;P&gt;will start a download.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both of those calls return a job ID, which can be queried with:&lt;/P&gt;&lt;PRE&gt;/api/?type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;jobs&amp;gt;&amp;lt;id&amp;gt;JOB_ID&amp;lt;/id&amp;gt;&amp;lt;/jobs&amp;gt;&amp;lt;/show&amp;gt;&lt;/PRE&gt;&lt;P&gt;That should cover most of the useful calls. Definitely check out the XML API guide below as well as the API browser (https://IP/api on a firewall from a browser).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api" target="_blank"&gt;https://www.paloaltonetworks.com/documentation/80/pan-os/xml-api&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 18:34:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/197669#M1553</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2018-01-30T18:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: API for download Dynamic / Software updates</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/197670#M1554</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/77162"&gt;@marcin.sek&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used my browser to go to my firewall at &lt;A href="https://192.168.1.46/api" target="_blank"&gt;https://192.168.1.46/api&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that you may be interested in this xpath to start with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/config/devices/entry[@name='localhost.localdomain']/deviceconfig/system/update-schedule&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got here by selecting, in this order:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Configuration Commands&lt;/LI&gt;&lt;LI&gt;Devices&lt;/LI&gt;&lt;LI&gt;localhost.localdomain&lt;/LI&gt;&lt;LI&gt;deviceconfig&lt;/LI&gt;&lt;LI&gt;system&lt;/LI&gt;&lt;LI&gt;update-schedule&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Once you are on that page, you will see that you can futher explore the current settings associated with that which we would find in the UI under Device &amp;gt; Dynamic Updates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was not able to find in the API where one can view the software download information. I would caution against trying to schedule a software update, although I do understand that you might want to be able to remotely download, install, and reboot a firewall throught the API after you have identified a software version to which you want to upgrade.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 18:35:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/197670#M1554</guid>
      <dc:creator>jjosephs</dc:creator>
      <dc:date>2018-01-30T18:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: API for download Dynamic / Software updates</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/201993#M1597</link>
      <description>&lt;P&gt;You answered how to download updates from firewall.&lt;/P&gt;&lt;P&gt;Thanks but not really helped.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paloalto Firewall will be in closed network without access to internet. I have to write a script to automate updates. Script will download updates directly from producer and then manually moved (by cd or pendrive) to closed closed network and firewall should import those updates (also by script).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to download updates directly from "paloaltonetworks" and then import them to my firewall.&lt;/P&gt;&lt;P&gt;So is there any API that I could download software updates?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Andrzej Grymkowski&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 14:06:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/201993#M1597</guid>
      <dc:creator>marcin.sek</dc:creator>
      <dc:date>2018-02-23T14:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: API for download Dynamic / Software updates</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/202092#M1598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Not sure if this would help, but will the PAN's be managed by a Panorama? Maybe have the Panorama have access to the internet and the PAN's get access only to the Panorama?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just a thought.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 22:28:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/202092#M1598</guid>
      <dc:creator>OtakarKlier</dc:creator>
      <dc:date>2018-02-23T22:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: API for download Dynamic / Software updates</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/202228#M1599</link>
      <description>&lt;P&gt;No, there wont by any Panorama.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 09:17:17 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/api-for-download-dynamic-software-updates/m-p/202228#M1599</guid>
      <dc:creator>marcin.sek</dc:creator>
      <dc:date>2018-02-26T09:17:17Z</dc:date>
    </item>
  </channel>
</rss>

