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

API Call to gather Vsys Stats

Good Day,

 

I was wondering if someone will be able to assist me with a API Call that can return stats for a vsys "vsys1".

The type of stats I would like to get using the API call is:

 

CPU (per core or %)

Mem (%)

 

Is this possible to get this type of stats

...

Resolved! Add existing local User to existing User Group

Hi all - I've been stuck trying to figure out a way to fix an issue I'm having while running this task in Ansible:

- name: Add existing local User to existing User Group paloaltonetworks.panos.panos_type_cmd: provider: "{{ provider }}" cmd: ...

Resolved! policy rules hit count from API

I am trying to figure out how to get the hit count for rules via the REST API. 

 

I used the REST API browser and found that the URI path is

https://URL-to-Palo/api/?type=op&cmd=<show><rule-hit-count></rule-hit-count></show>&key=<key>

.

 

However when I ru

...

Resolved! Modify GlobalProtect Device Block List via API

I am trying to automate blocking GlobalProtect clients via API calls. Our firewall is running PanOS 9.1.15-h1 and is controlled by a onsite Panorama instance on 10.1.8-h2. Due to the version mismatch GlobalProtect device blocks must be implemented di

...

show running security-policy API limit

Hello,

 

If I try to get all the running security policy via an API call https://FW/api/?type=op&cmd=<show><running><security-policy></security-policy></running></show>

 

it works, but I can only get around 1900 policies. All the rest is not shown. Is th

...

kremiq by L0 Member
  • 960 Views
  • 2 replies
  • 0 Likes

Resolved! Terraform object in multiple Panorama Address Groups

I have a use case for being able to apply set objects (address, service, etc. ) across multiple Panorama device groups in 3 Panorama appliances. How can I do that by defining each of object only once? 

 

The object only allows a single device group ref

...

batd2 by L4 Transporter
  • 2162 Views
  • 5 replies
  • 0 Likes

Resolved! PAN-OS SDK Device Group Hierarchy

Is there a way to create device under a parent or move a device group using the sdk. 

Similar to Operational command:

> request move-dg dg1 new-parent-dg dg1_parent create-dg yes

 

I am aware of the dg_hierarchy opstate, which helps finding the device gr

...

batd2 by L4 Transporter
  • 2228 Views
  • 3 replies
  • 0 Likes

PAN-OS SDK panorama default rules

I see the classes in PAN-OS SDK for post- and pre- rulebases: panos.policies.PostRulebase, panos.policies.PostRulebase, but how do you get the Panorama default rulebase? 

batd2 by L4 Transporter
  • 942 Views
  • 1 replies
  • 0 Likes
  • 1034 Posts
  • 71 Subscriptions
Top Liked Authors