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

Traffic log query using curl and retrieval

Hi Team,

 

I presume pan devices allow API requests for traffic query using curl. Attempted following query using curl with no success. Got a prompt w/o any complaint. I was expecting job id so that I can query later

 

curl -s -k 'https://firewall/api/?t

...

Module for puppet/ chef for updating HIP opjects?

Hi, has anyone came across modules as such? I basically wanted to remove certain patch version number (eg MS KB number) from the current HIP object and add in new ones. I know we can use XML API to achieve that, I'm not too familiar with Puppet/Chef,

...

chtoh82 by L2 Linker
  • 1700 Views
  • 0 replies
  • 0 Likes

Firewall rules to graph

Hello,

I'm using Panorama, is it possible from firewall rules to build a graph showing all interraction between segments, host etc. ?

Thanks in advance

Pira777 by L0 Member
  • 1792 Views
  • 0 replies
  • 0 Likes

Resolved! Pandevice: create firewall policy

Hello community,

I've been playing around with pandevice (and pan-python) and get the basics running. 

 

But I can't find any example of a script that creates a security policy on a sinlge PA or on Panorama with python. 

 

I kindly ask the community to sh

...

mseiler by L1 Bithead
  • 3153 Views
  • 1 replies
  • 0 Likes

Resolved! Adding Zones/Tags with XML API

So I have been REPLACING tags and zones with the xml API with great success. What I have yet to do is figure out how to ADD tags or zones without disturbing the existing objects...or even replace them with multiple tags/zones

 

Working replacement of a

...

Tag Selfsign Certificate Website using DAG

GOAL:
1. automatically tag ip address of websites that using self sign certificate

then use that tag ip as input of Dynamic Address Group

 

?
1. is that possible

2. any doc that show me the steps

something like this https://panos.pan.dev/docs/apis/panos_dag

...

nbctcp by L1 Bithead
  • 1697 Views
  • 0 replies
  • 0 Likes

api error illegal paramater

Hi all,

          I have just started to working on API and following documentation from this site.

http://api-lab.paloaltonetworks.com/keygen.html

 

Sent my first request to the firewall but response came as op: "URLError: code: 400 reason: Illegal para

...

2020-04-25 19_43_53-API Key Generation — panos-xml-api-rtd 1.3 documentation.png

Azure Terraform Bootstrap - cant get this working

I am trying to create a vm-series FW in Azure using Terraform. I am following this example:

https://github.com/PaloAltoNetworks/terraform-azurerm-panos-bootstrap

But I get a similar error to this one in the bootstrap status and log.

https://knowledgebas

...

DTG123 by L1 Bithead
  • 3735 Views
  • 3 replies
  • 0 Likes

Resolved! Firewall policy update based on conditions

Dear All,

I have a situation to automate PaloAlto  Firewall policy requests based on user input. Once i obtain the user input in a certain format, i will have to check certain conditions before creating the rule on the firewalls.

1. Whether the Objects

...

mgans80 by L1 Bithead
  • 3911 Views
  • 3 replies
  • 0 Likes
  • 1034 Posts
  • 71 Subscriptions