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

Delete Specific Zone in Security Policy via XML API

So i am trying to delete a specific zone in a policy via XML API.  However, it deletes all of the zones within the policy. Is there a better way to accomplish this?  Or is it even possible to remove a specific zone without removing all of them? 

dhebal by L0 Member
  • 2431 Views
  • 1 replies
  • 0 Likes

Resolved! Ansible panos_facts Config Sub Set

Good afternoon team,

 

I need to obtain values such as the Panorama server IP from a firewall to accomplish a project using Ansible and the paloaltonetworks.panos 2.2.0 collection. The panos_facts module with the config subset specified outputs what ap

...

Software download API

Hello all, 

are you aware of Palo Alto dynamic updates portal API? 

We are trying to automate content update version check across multiple firewalls. We just need to get the latest dynamic content, release date, etc. to automate  identifying potential

...

batd2 by L4 Transporter
  • 1524 Views
  • 0 replies
  • 0 Likes

Resolved! Pan-os-python with Panorama

Hello,

 

I'm using the following code to check and create rules on my test-palo device:

 

This is more or less just the example from the github page and it's working fine.

I check the current Rules on the firewall before I start adding rules.

 

fw = panos.f...

mseiler by L1 Bithead
  • 5347 Views
  • 2 replies
  • 0 Likes

Terraform certificate deployment

Hi,

 

Looking for a Terraform resource to deploy certificates on the Palo Alto firewalls. Looks that it is done through acme.sh script but using Terraform would be better. Is this kind of feature request to add this resource in the provider?

 

Regards

XML API call creates persistent Web session

In the CLI, "show admins" will report my current CLI session.

If I also log into the Web interface, "show admins" will now show a Web session in addition to the CLI session.

After I click "logout" on the Web interface, "show admins" reveals that my Web

...

doug.fsu by L0 Member
  • 1593 Views
  • 0 replies
  • 0 Likes

Resolved! Beginners questions, some errors.

Hi,

Some time ago, I've started PaloAlto automation using ansible. At first I've used roles, and everything worked fine, but it's no longer supported, so I decided to use collections.

I'm using Ansible 2.9.6, installed on Ubuntu 20.04LTS

I've installed

...

Refresh Session API Request Fails on 2nd Attempt

At https://api.docs.prismacloud.io/reference#extend-session it says - Extend a user's session. The JWT token returned is valid until the next session timeout occurs. This method requires a valid session token to be passed (token from a prior successf

...

Blocking files based on content

Hello,

 

I'm completely new to PAN, but we need to create a solution that blocks files based on content where the code that examines the content needs to be our custom code. For example the file could be sent to a microservice for examination and that

...

tdracz by L0 Member
  • 2386 Views
  • 3 replies
  • 0 Likes

Get zones info for two ip (multiple firewalls)

So, say i have a multiple firewalls of many zones. 

 

If i want to create a rule between two servers in different firewall i need to create one rule in each firewall. For example trust to utrust and in the other firewall untrust to trust. (in some case

...

hbalzac by L3 Networker
  • 2253 Views
  • 1 replies
  • 0 Likes

refreshall() method usage

Trying to understand the correct usage of the refreshall method

per documentation:

refreshall()
Refresh all Predefined Objects
This method refreshes all predefined objects. This includes applications, application containers, services,
and tags.
CAUTION: Th

...

risc527 by L0 Member
  • 2687 Views
  • 1 replies
  • 0 Likes

Rest API fetching a security policy from Panorama

Greetings,

 

I’ve run into a challenge with using the REST API to get the security policy from device groups in Panorama. I’m hoping you may know someone who can answer this.

 

If I use the XML API and get the policy from a particular device group, I get

...

mrzepa2 by L2 Linker
  • 1906 Views
  • 0 replies
  • 0 Likes
  • 1034 Posts
  • 71 Subscriptions
Top Liked Authors