Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

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.
Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

About Automation/API Discussions

Threads in this discussion area are now read-only. If you have a question about Automation/API products please visit our product discussions.

Discussions

issues with concurrent api call

Hello,

 

We have had a problem with concurrent API call for a long time and it gets worse as we have more equipment.
Sometimes if we have too much API call in the same time, we have errors: timeout, error 5xx or others strange erros.
The too much API cal

...

antoinek by L0 Member
  • 1144 Views
  • 1 replies
  • 0 Likes

Remove address object from policy

I have a ansible playbook that search after a specific ip and removes it from all addressgroups. However i would also like to remove it from all security rules aswell. The problem is that I would need to build some logic to disable/remove rules if th

...

zol123 by L1 Bithead
  • 643 Views
  • 0 replies
  • 0 Likes

Resolved! Devicegroup hierarchy dump

 

Hello,

 

 

im trying to come with a way to being provided with a devicegroup name, be able to get the objects from the current devidegroup, but

also form each parent devicegroup. With the idea ti try to clean duplicated objects, the issue here is that n

...

Panorama REST API python script examples

Hi all,

 

I have been using Panorama's REST API interface lately and I would like to share with you some of the useful python scripts that I have been using in an operational enviroment:

 

Requirements:

1. Install Python software (Windows, Linux or MAC)  

...

Resolved! Ansible PFX Cert Upload not adding key

I'm using the Ansible module to upload a certificate to a Template:

 

- name: Import PFX certificate to Template
  paloaltonetworks.panos.panos_import:
   provider: '{{ provider }}'
   template: 'my template'  
   category: 'certificate'
   certificate_name...

SimonT_0-1689057360119.png
SimonT_1-1689057397493.png
SimonT by L2 Linker
  • 1095 Views
  • 1 replies
  • 0 Likes

Im confused how to get the member list of a dynamic address group from a specific device-group using my rest api from panorama.

I have the following working code.. which gives me the specific dynamic address groups which match my use case, and tells me the snippet of tag info i want to display to the consumers of my script. now i want to include the member list for each of th

...

Ansible Palo Alto LDAP Server Profile

Hello,

 

I have an Ansible playbook developed to automatically change the password of the account used by Palo Alto to connect to an Active Directory.  On the Palo Alto side, Integrated User-ID and an LDAP Server Profile is configured to use this passw

...

brisonjf by L0 Member
  • 646 Views
  • 0 replies
  • 0 Likes

Performing a push to Shared using panos panorama gives error PanDeviceXapiError: commit-all is missing 'commit-all'

Hi All, I'm trying to create a shared address object using panos.panorama. However I'm not able to proceed with pushing the configuration to the firewalls. I could create objects within device groups and push them successfully to the firewalls under

...

Eliminate a interface from a template

Hello!

 

I am trying to eliminate an interface from a zone in Panorama´s template using the following query:

 

https://'ipFirewall'/api/?key='keyValue'&type=config&action=delete&xpath=/config/devices/entry/template/entry[name='nameTemplate']/config/devic

...

Monitor Authentication Cookie Certs

Hello All,

 

Recently we had an outage where users not able to log in because authentication cookie cert on panarama expired.  I am attempting to monitor these certificates by API, but was not able to find these authentication cookie cert in the sslmgr

...

  • 1034 Posts
  • 71 Subscriptions
Top Solution Authors
Top Liked Authors