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: 
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

Panorama Template Overridden objects

 

Do you know where in CLI or configuration files we can find Panorama Template objects which were locally overridden on a firewall? I am trying to script for locally overridden configuration settings checks of  multiple Panorama-managed firewalls, bu

...

batd2 by L4 Transporter
  • 5206 Views
  • 6 replies
  • 0 Likes

Collecting debug logs through Automation.

My organization was tasked with collecting a series of debug logs on one of our firewalls every 20-25 minutes for several days due to an issue which PAN was having trouble diagnosing and/or determining the cause of. These commands took approximately

...

Resolved! Empty pano.predefined.refreshall_services()

Hello everyone, 

I'm struggling to get a list of the predefined services and applications via the panos python SDK.

I'm able to get a proper answer if i'm asking a specific service, but the "refreshall_services" or "refreshall_applications" classes alw

...

Klayhan by L0 Member
  • 2600 Views
  • 2 replies
  • 0 Likes

Resolved! IOC upload 401 response

Hello, 

 

I am trying to upload IOC's with this API reference: 

Insert Simple Indicators, CSV (paloaltonetworks.com)

 

I'm posting the data with the requests module in python and always get a 401 response for "Unauthorized access. An issue occurred during

...

Resolved! Configuring syslog in templates using ansbible

Hi,

 

We are currently trying to configure syslog using ansible, this for the firewalls that are maintained by #Panorama

We noticed that we can't (or don't know / found a way how) configure syslog in our templates.


My question is (simple?); is it possibl

...

Panos_admpwd Hangs

Hi there, I have a super basic Ansible script that is meant to just change the admin password using SSH.

 

--- - name: change admin password for newly deployed Palo Alto firewall hosts: firewall collections: - paloaltonetworks.panos gather_fa...

Dapper by L0 Member
  • 2055 Views
  • 1 replies
  • 0 Likes

Find Single Rule - Pan Os Python

We are in the process of renaming all our FW rules.  I'd like to run a python script with Pan OS Python.  The script would look at a CSV file where in column1 is the current name, column2 is the new name, and column3 is an Audit Comment.  I'm able to

...

RyanBess by L2 Linker
  • 2597 Views
  • 1 replies
  • 0 Likes

Panorama API not retrieving some older logs

I'm working on a script to pull logs from our firewall, and noticed that I'm unable to grab logs more than couple days ago from the current date. For example, I can see logs in the UI for a specific domain on 8/20, but querying with the API won't yie

...

change value type

I wrote a script for a dynamic widget. The script finds the necessary indicators and displays the list in the table. There were 2 problems. 1. How to change the type to URL for the URL column so that the link is not in the form of text but can be cli

...

  • 1034 Posts
  • 71 Subscriptions
This widget could not be displayed.
Top Liked Authors