Firewall Configuration via API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Firewall Configuration via API

L1 Bithead

I have enquiries regarding the API on PA firewall.

 

I would like to know whether I can enable User-ID in zone, adding server in Server Monitoring and adding Syslog Parse Profile via API or not?

 

Are those actions supporting configuration via API?

1 REPLY 1

Cyber Elite
Cyber Elite

@SyafiqBharudin,

This is all possible through the XML API. The structure follows the same sequence as it would if you're working directly with the CLI and you can use the API browser (https://<myfirewall>/api ) to figure out exactly what command you need to send and validate that you're doing things properly. I'm unsure if these specific actions are supported by the newer REST API; personally due to the REST interface not having feature parity with the XML API or complete access to PAN-OS for even relatively basic functions (like a commit) I generally just ignore the REST API is a thing that exists.

  • 338 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!