Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

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

API key after configuration migration

Hello,

We have old PA-4060 with 4.1.12 version of software which is operated using XML API. Sometime in the past we have generated API key and since then we are using API requests to make periodical changes on the firewall. And all this is working fin

...

Export address objects via API fails

I am using this procedure to attempt to export address objects, but it is failing:

https://live.paloaltonetworks.com/docs/DOC-5065

I generated a key and then used this query against the firewall.  Microsoft Excel with a 'Data From Web' query (or even

...

ball7068 by L0 Member
  • 2030 Views
  • 1 replies
  • 0 Likes

Resolved! Alert when user goes online

Ladies and gentlemen,

 

 I have a use-case where some sales people etc, don't show up online for a long time and it's hard for me do remote maintenance or troubleshooting on thier PCs.. eg.. broken Windows Updates.

 

Is there a way I can automatigically

...

NileG by L1 Bithead
  • 3241 Views
  • 3 replies
  • 0 Likes

Resolved! Configuration to Export Address and Address Objects

I would like to review the addresses and address groups on our PA. I was trying to use the article “How to Export Address and Address-group Objects Using PAN-OS API” from the link below to display the address objects and address groups.

https://live.p

...

Referencing spaces in names using XML API

The only thing he hasn't been able to resolve now is if the URL to block contains certain characters, like &, he gets a malformed request error. Any idea how to get around this. I tried \ before it as well as using an encoding value like %26 in place

...

cagnew by L3 Networker
  • 2457 Views
  • 1 replies
  • 0 Likes

Resolved! API: add a managed device into panorama

Hi,

I'm looking for the correct syntax to add a new managed device (serial number) into panorama, using API.

I tried lots of stuffs, but without success.

Does anybody can help me? or is it simply not supported?

Thx in advance,

Olivier

RegEx Pattern for Email Addresses

Hi,

I am trying to use DLP to catch if somebody is trying to send multiple email addresses of our customer database over the internet. I am trying to create a Regex to catch email addresses but no matter what I try I always fall into the 7-byte limita

...

shoutris by L0 Member
  • 2231 Views
  • 1 replies
  • 0 Likes

User ID Count

Im using this operational command to pull out the number of mapped users by the user id:

<show><user><ip-user-mapping><all><option>count</option></all></ip-user-mapping></user></show>

 

This was working fine till I upgraded to PAN OS 8.

the operational c

...

Sjoerd by L2 Linker
  • 2451 Views
  • 2 replies
  • 0 Likes

Resolved! Ansible for interfaces on PA

The ansible module "panos_interface" doesn't seem to have all the parameters that shoud should be availble for an interface.

 

I need to create *many* sub-interfaces, assing tags, vlans, and zones to each.  Was hoping to do this with ansible since that

...

jacksonp by L0 Member
  • 4398 Views
  • 4 replies
  • 0 Likes

Resolved! Commit and push in Panorama 8.0.3

Is there an API command to do a commit and push in Panorama in 8.0.3? I can only find a commit to panorama or a commit to template. The issue is that in Panorama 8.0 by default the running configuration is pushed out as opposed to the candidate confi

...

Resolved! pushed-shared-policy

Hi, 

We have a development what extract the configuration via rest api and analize this. 

In a firewall with vsys and panoroma, i have this problem. 

in PAN-OS 7.0.x extract the policy configuration for all vsys with this call 

/api/?type=op&cmd=<show><c

...

MPoffal by L2 Linker
  • 3217 Views
  • 2 replies
  • 0 Likes

Is there a log file for API activity?

I'm trying to integrate ClearPass User-id and their syntax I believe is way wrong. Is there any debug log file for API commands being thrown at the firewall? I'm looking for the posted data/URI info.

 

Thanks!

bspilde by L4 Transporter
  • 1977 Views
  • 0 replies
  • 1 Likes

RegEx - Pattern Match

Hello everyone.

 

I would like to build a pattern that matches with the following expresion

XXXXXXXXX-X

 

All Xs are numbers. In other words, nine number followed by dash, followed by other number.

 

Thanks

DNT_FLAR by L0 Member
  • 2270 Views
  • 1 replies
  • 0 Likes
  • 1034 Posts
  • 71 Subscriptions
Top Liked Posts
Top Liked Authors