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

Create a new Zone Protection Profile using XPath?

I am trying to add a Zone Protection Profile from an XML document to a firewall using the XPath API.  I don't want to have to iterate through each element and add it to the profile.  Is there a way to add it from an XML file or block?

 

 

def add_dos_pr

...

JBishop by L0 Member
  • 1032 Views
  • 1 replies
  • 0 Likes

Help on structure on script to find host


How would you achive this?


So we have alot of vlans on alot of firewalls, vsys and vr. Our ipam is decent documented but it would be nice to make a api call to the firewalls to get the info insted. I would like to find the

Firewall and Zone where a spe

...

zol123 by L1 Bithead
  • 1044 Views
  • 1 replies
  • 0 Likes

Resolved! Terraform - Unable to create Security Policy

I'm using Terraform to deploy configurations on a VM-50 series virtual Palo Alto Firewall appliance.  I have a problem when it comes to deploying a security policy using panos_security_policy.  Essentially, the policies never create and the Terraform

...

Ajene by L0 Member
  • 3581 Views
  • 5 replies
  • 0 Likes

Resolved! Number of commands at once

Here is my issue, why does Palo seem to have a hard time handling anything more than 30 lines of CLI at a time?  Is there a preferred terminal emulator that works best with Palo Alto such as SecureCRT?  It's awful, the lines wrap back around onto the

...

PA CPU usage via the API

Hello All, 

 

In PA Firewall Dashboard we have the system Reousrces widget, were we can see the Management CPU and Data Plane CPU usage, I was trying to do the same using the API, but I'm not sure how PA are calculating the values, 

 

The GUI is sending

...

How to generate password hash

I am working on automation for managing multiple password changes in Panorama and  in the API calls only work with password hashes, rather than the plain text password. 

 

Have you any idea what is the process for creating(and reading) the password has

...

batd2 by L4 Transporter
  • 1092 Views
  • 0 replies
  • 1 Likes

Panorama with pan-os-python API

Hi,

 

I have three firewalls added to a device group in Panorama. I am accessing Panorama via pan-os-python API and from there I want to fetch some device group "MyDG" and then delete one of the firewalls from panorama based on the hostname of the fire

...

mtkh by L0 Member
  • 2013 Views
  • 1 replies
  • 0 Likes

Cortex - Get all Incidents

Hi Cortex API community experts,

 

I am trying to generate a monthly report for various areas of the business for a list of Incidents raised during the month for their respective servers. I was hoping that the "get_incidents" api could help with this.

...

Resolved! Terraform for Panorama Configuration management

Hi all

Do you use Terraform for managing Panorama configuration and particularly routine security policies creation and changes? Is there any issues and do you have any feedback? 

I know this can be done well with Ansible, but for number of reasons Ans

...

batd2 by L4 Transporter
  • 3076 Views
  • 4 replies
  • 0 Likes

converting existing policies into ansible code

so - i'm just getting starting with ansible automation for my palo firewalls.  have some basic playbooks working...but now it's time to step it up.  One of my main east/west segmentation firewalls has roughly 100 policies.  Is there a way to ingest t

...

  • 1034 Posts
  • 71 Subscriptions