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

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
  • 2555 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
  • 2343 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
  • 2665 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
  • 4575 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
  • 3409 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
  • 2062 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
  • 2366 Views
  • 1 replies
  • 0 Likes

script not working for mapping a network drive.

Hi Team,

 

I have a case: 00573844

 

The customer wants that a particular script should run before connecting to the GP.

This script will help to map the network drives on his network by chaning few  window registry setting.

 

The script is attached to the

...

Resolved! API usage vs. load on FW

So, in general, are API calls considered a threat to the FW performance?  

Specifically, with this API call:

?type\=op\&cmd\=\<show\>\<session\>\<info\>\</info\>\</session\>\</show\>

Should I worry if I run it every second, or 5 seconds, or minute....?

I

...

dberber1 by L2 Linker
  • 2092 Views
  • 2 replies
  • 0 Likes

Update MOTD banner message

Does anybody know how to actually set this with the API? Whenever I try to run the set command it's just throwing an invlaid set object handler message.

BPry by Cyber Elite
  • 1361 Views
  • 0 replies
  • 0 Likes
  • 1031 Posts
  • 70 Subscriptions