Automation/API Discussions
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Automation/API Discussions

Discussions

Panorama XML API

Is the XML API on Panorama limited to the same API as the devices?  I discovered if I switch the  context in the Panorama web console using the "Context" dropdown and then issue an XML API call like:

   https://PANORAMA/esp/restapi.esp?type=config&key

...

tgarrett by Not applicable
  • 6375 Views
  • 6 replies
  • 0 Likes

Resolved! API error in 7.1.11

 

 

api/?type=op&cmd=<show><config><audit><info/></audit></config></show>

 the <admin> tag used to return the admin's name as 'bob', but in 7.1.11 returns it as 'bob.' -- with a period at the end.  Not sure how/where to report it, and obviously it is pr

...

dberber1 by L2 Linker
  • 2522 Views
  • 7 replies
  • 0 Likes

Resolved! How to add V-Wire Subinterface via the API

I've tried several different variations and I can't seem to figure out the API call to add a v-wire subinterface. What would the correct syntax be? 

Here's one example that I have tried: 

https://firewall/api/?type=config&key=KEY&action=set&xpath=/conf

...

CIS Palo Alto Recommendation Auditing

Just curious if anyone has any knowledge of an existing tool to check for compliance with the CIS recommendations for Palo Alto firewalls?

 

https://www.cisecurity.org/benchmark/palo_alto_networks/

 

I'm considering authoring in PHP and using the API to

...

bradk14 by L4 Transporter
  • 1590 Views
  • 1 replies
  • 0 Likes

Get a list of files downloaded by User-ID

I'm working on some IR automation and am trying to find a way to get a list of files downloaded by a user from my PA. I was thinking of triggering a custom report but I'm not sure if I can get that information from the reports.

 

Is there any way to ge

...

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
  • 1509 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
  • 2378 Views
  • 3 replies
  • 0 Likes

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
  • 1821 Views
  • 1 replies
  • 0 Likes

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
  • 1640 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
  • 1607 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
  • 3435 Views
  • 4 replies
  • 0 Likes
Top Solution Authors
Top Liked Authors