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! How to start with pandievice and API

Hi all, I feel a bit stupid asking the question, but surely, others had the same problem as me. I am trying to create multiple address objects, service objects and rules from a CSV file input. People are recommending using “pandevice”, however reading the documentation, it kind of assumes that the user is fluent with python. I did a lot of readi...

BatD by L4 Transporter
  • 5496 Views
  • 5 replies
  • 0 Likes

Check that device config is following guidelines

We have quite alot of devices and they are growing in numbers. If we would like to check different settings accross all the devices how would you accomplish that? (from what i have understood, there is no way in panorama to see for example if settings are overided local on the device?), and there is sometime settings that you have local on the d...

hbalzac by L3 Networker
  • 2948 Views
  • 1 replies
  • 0 Likes

Resolved! APIs to createmove a security policy at the top of device group pre-rule section and move it up/down

Dear All, on Panorama GUI (version 8.1.3), I am able to move security policies to Top, Bottom, Up and Down in the device group pre-rule section. However I could not find APIs to perform these tasks. The closest one is in here https://docs.paloaltonetworks.com/pan-os/8-0/pan-os-panorama-api/pan-os-xml-api-request-types/configuration-api/move-con...

hstsvn by L1 Bithead
  • 8760 Views
  • 6 replies
  • 0 Likes

API calls to add managed device to panorama template and override variables.

Hi, I've been trying to tailor two API calls for adding managed device to a template in panorama and override template variable for for the specific device.Looking at the API browser I get the following which throws error message with curl. # Add device to template stackcurl -k -X GET "https://<panorama>/api/?type=op&key=<my_key&gt...

Dinko by L1 Bithead
  • 4729 Views
  • 3 replies
  • 0 Likes

Privileges for PCAP export via API

Hi,We've been trying to use the API for automated PCAP exporting, but seem to be unable to pinpoint what exact privileges are needed. The API export privilege does not seem to be enough, even though the PCAP's are under the export category.Does anyone have any idea?Kind Regards,Johan S

API Command doesn't work anymore

Case - 870337 As per the Customer Before the upgrade the PAN-OS to version 8.0.X, the following command was working on API: <show><qos><interface>ethernet1/1</interface><throughput>0</throughput></qos></show> It doesn't work anymore, The reply content is: <response status="error" code="17"> ...

sprasad by L2 Linker
  • 4159 Views
  • 2 replies
  • 0 Likes

Export firewall device state file through panorama using API

Hi Team, Customer want to export firewall device state.They already know how to do this using API directly on the firewall : curl -k -o {{Filename}} "https:// {{Firewall_IP}}/api/?type=export&category=device-state&key={{Firewall_API_Key}}"They want to do it through panorama using API. It's looks like we can do that using the following co...

sprabhu by L3 Networker
  • 4315 Views
  • 1 replies
  • 0 Likes

Resolved! PA - can we have an honest discussion about Ansible and PA?

First of all - thanks for the API - it's mostly great. But, let's talk about Ansible and PA. Some of our folks went to Ansible Fest and talked to the PA folks there and they said that they were working on making it better - but requiring external modules if kind of untenable when trying to roll out enterprise automation, as well as the lack for...

dberber1 by L2 Linker
  • 17400 Views
  • 10 replies
  • 3 Likes

Policy allow workplace but deny facebook with app

I would like to block Facebook and allow only Facebook workplaceI have configured custom URL filtering to achieve the same, however, I are able to achieve the same when try from browser, but when i try to access using Facebook Application from mobile, it is not getting block as expected.Could DevCenter release new application for workplace

ThongLam by L1 Bithead
  • 3226 Views
  • 1 replies
  • 2 Likes

Automate Creation of Vsys

HiWe are new to Ansible, and would like to automate the create of new vsys on a chassis. Currently we do this manually with a spreadsheet derived from information provided by our network team.Are there any playbooks available that can be put together to automate the tasks in order to create a new vsys?Create new virtual system - assign to interf...

dwmaas by L2 Linker
  • 2986 Views
  • 1 replies
  • 1 Likes

Help with create api call

Despite me reading alot of documentation i have not really understood this. Im trying to add a device in panorama, so i run this command from the cli. set mgt-config devices 1234555 hostname 1234 This gives me the following output. (container-tag: mgt-config container-tag: devices container-tag: entry key-tag: ...

hbalzac by L3 Networker
  • 3412 Views
  • 2 replies
  • 0 Likes

Resolved! Using pandevice framework to create python structures from xml

I am trying to achieve two things in Pandevice and am struggling. 1) I cannot automatically create a local firewall object with all of it's children.I can create a fw object. I can then use it as a parent to manually refreshall the object types that are used as children. I cannot get this to work in a single function though, it looks like refres...

  • 1031 Posts
  • 68 Subscriptions