Automating Palo Alto update sequence


Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

L0 Member

Automating Palo Alto update sequence

Hey guys, so I've got the various Palo Alto PA220 XML Apis that lets you automatically update the Firewall instead of having to do it through the GUI interface.


I want to know what is the best way to create a script to do this automatically so I don't have to do this manually step by step.



Tags (1)
Cyber Elite


You effectively need to create a script to have the firewall start the software download and gather the job-id issued with that request. You'll then need to run a check against that job-id so you can see when it actually finishes.

Once the requested version is downloaded you would then schedule the install with the API and record the job-id once again. You'll need to run periodic checks against that job-id to see when the software install has actually completed.

Lastly you'll need to actually restart the device, which is easily triggered by the API. 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!