API to create Address Group
I am trying to create a new address group using API but I always end up getting
<response status="error" code="12">
</response>
Can someone help me with the correct xpath to create a new shar
...
I am trying to create a new address group using API but I always end up getting
<response status="error" code="12">
</response>
Can someone help me with the correct xpath to create a new shar
...
Hi All,
Wondering if anyone has been able to successfully get the output of the following command via either the panxapi.py wrapper or via their own functions that make use of the xapi.py module:
PS C:\Program Files (x86)\Python37-32\Scripts> python
...
I have a script that is run after successful connection to my VPN network. This script sets up my routing accordingly. Unfortunately if I lock my screen and unlock VPN connection gets refreshed but without executing my script.
The same thing happens
...
Hi,
I have developed a script that provisions firewalls to activate and update when it connects to Panorama.
I am now trying to get the script to move a firewall from a "Provisioning" to a "Provisioned" device group within Panorama.
In the GUI I have
...
Hey,
Well just like the subject says I am having issues making a device state backup. Every time I try to backup my device via the api, I get a 403 error response saying "User not authorized to perform this operation". What is strange and has me puzzl
...
I would like to get the following information with the XML API and the Rest API:
1. read all application filters with their matching apps
2. get the the dependency apps from the matching apps (matching the application filters)
At first how can I get t
...
Hiya!
Does anybody have a script that automates PAN OS Upgrade on firewall pairs? If so, can you share one with me? I need to be able to run a script that can upgrade 4 firewall pairs. We are using Panorama as well.
Hello guys, does anybody know how to use ansible or other Palo alto automation tool to create a security profile? eg. a new URL filtering where I will decide what is deny and what is just alert to log?
I saw that we can pass a profile as a paramete
...
Hi Guys,
First post on this forum - relitivly new to PAN however I am looking to automate the addition of new URLs to a custom URL catagory we have called "allowed_urls" - I figured I can do this via the RESI API - using the put method, I am using t
...
I would like to have a dynamic address list (FQDNs) of computers currently in an Active Directory OU and its sub-OUs. How would I do this?
Thank you.
There is a good example how to add user by API
http://api-lab.paloaltonetworks.com/groups.html#example-add-user-to-group-mappings-groups
If I put the XML from the example to https://192.168.1.100/php/rest/browse.php/user-id
<uid-message>
<version>2.0</v
Hi,
sharing a tool I wrote for object/rule/route configuration.
A bit like odumper/ofiller if you know those tools.
https://github.com/sinontaylor/panmanager
Cheers,
Simon
I have a script that I use that reads a copy of my palo's configuration that I manually export. I am looking to create a PowerShell script that can call the rest service instead of having to manually export the XML configuration file. I also want to
...
Hi all, am having trouble to find the right element value to add in a new patch number under hip objects, the goal is to add '5678' as a new patch number under the following:
below is what i tried without any success with an error msg of "malformed re
...