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

Discussions

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
  • 1612 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
  • 3449 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
  • 2389 Views
  • 2 replies
  • 0 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
  • 1734 Views
  • 1 replies
  • 0 Likes

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
  • 1358 Views
  • 2 replies
  • 0 Likes

Need script to kill a session

I need to kill a session automatically for one appplication when this application appears on one egress interface.

We have PBF rule for forcing some application to one ISP and virtual router for other ISP.

once the PBF ISP is down, it goes to second IS

...

PAN sessioninfo version 2 - Snap Telemetry

 

I released version 2 of my PAN sessioninfo plugin. This is plugin in Go for Intel SDI telemetry Snap framework (see my post here). It allows to quickly create graphs i.e. in Grafana, see below. There are 33 metrics avail.

Examples of PAN sessioninfo

...

grafana-sessioninfo2.JPG
niuk by L3 Networker
  • 1943 Views
  • 0 replies
  • 4 Likes

Resolved! Wildcards in rest api configuration query?

Hi,

 

I'm trying to write a reporting tool that will go throguh various device groups and identify rules that have certain keywords (change numbers in my case) in the description.

 

I'm querying panorama configuration and using rest api directly from pyt

...

KostiM by L2 Linker
  • 6595 Views
  • 13 replies
  • 0 Likes
Top Solution Authors