Automating Palo Alto update sequence

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Automating Palo Alto update sequence

L0 Member

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.

 

 

1 REPLY 1

Cyber Elite
Cyber Elite

@Zohaib89,

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. 

  • 1704 Views
  • 1 replies
  • 0 Likes
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!