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

Unable to delete users sessions on the firewalls (using Panorama API or FW cli) that managed by Panorama when the client=Panorama

Hi Everyone,We have a problem when we try to close/delete user session on the firewalls managed by PanoramaWe have multiple FWs under PanoramaIssue:Unable to close Admin (or any user) session (i.e. delete) as Panorama client on the managed Firewalls.The same status using Panorama API, for example:https://<Panorama_IP>/api/?type=op&cmd=...

NirI by L1 Bithead
  • 12241 Views
  • 9 replies
  • 0 Likes

Officially supported method for Panorama backup through API

Dear Team, It's look like there are 2 methods for Panorama backup through API.curl -o {{server_backup_file}} -k https://{{Panorama_IP_@}}/api/?type=export&category=configuration&key={{Panorama_API_key>}}orcurl -k https://{{Panorama_IP_@}}/api/?type=op&cmd=<save><config><to>{{Panorama_backup_file}}</to></...

sprabhu by L3 Networker
  • 9511 Views
  • 8 replies
  • 0 Likes

API for submitting URL re-categorization requests

Looking for an API to automate the submission of URL re-categorization requests. Our company blocks uncategorized sites and I'm looking for a way to automate the submission process. I would provide a link on the blocked page that the user can request the site to be categorized, and in the back-end the request would be submitted via the API. Ther...

Re-Register IP to Tag Push from Panorama to Managed Firewall

I know that panorama will push registrations of IP to tag to managed firewalls and allow that registration to be passed on to managed firewalls using that tagged object group. Is there a way to force re-push all registered ip's on panorama to the managed firewalls? This would be in case the local firewalls lose their mappings or are out of syn...

Sec101 by L4 Transporter
  • 2449 Views
  • 1 replies
  • 0 Likes

Automate the VPN show and test commands to check the tunnel status and make it UP

We have some tunnel goes down frequently so we are planning to bring up the tunnel with automation ( For the Monitoring team to check the status and make it UP using test command). Is it possible to run below commands with some batch file/exe using powershell. My idea is to create batch file for each tunnel and run it when the same is down/ale...

Sambhu21 by L1 Bithead
  • 3589 Views
  • 1 replies
  • 0 Likes

API return IP subnet instead of IP/32 host

Hi There,One of my customer is trying to search within the traffic log, using XML API, specific host (IP address). He use this kind of request: https://IP-Panorama/api//api/?key=<Clef Valide>&type=log&log-type=traffic&query=(receive_time geq '2012/06/22 08:00:00')In this case there is no specific IP, but it gives us the same wh...

epavis by L1 Bithead
  • 2851 Views
  • 2 replies
  • 0 Likes

Resolved! Creating Custom URL categories with Terraform or Ansible

I may be missing something, but I'm not seeing a way to create a custom URL category via Terraform or Ansible. We are trying to automate our Palo setups as much as possible, and from what I can tell, this is the only thing we are unable to do with it. We can create the URL filtering profiles, just not the URL categories. Anyone ran into this or ...

Brandon99 by L1 Bithead
  • 11608 Views
  • 13 replies
  • 0 Likes

Creating an administrator account on Panorama using Pan-OS Python SDK kit

Hey guys, Hope all of you are doing well. I recently started using the panos python module to interact and automate some of the things I'm doing on Panorama GUI. I wanted to know how to add a administrator account using the device.administrator class. This is the code I have written as of now: from panos.panorama import Panoramafrom panos import...

dbelts7 by L0 Member
  • 2780 Views
  • 1 replies
  • 0 Likes

Unable to fetch IP address from minemild using prototype : stdlib.feedGreenWithValue

Hi Team, We are having issue while using the prototype : " stdlib.feedGreenWithValue " and PA is only able to fetch 1 IP address out of 744 IP`s.No issues seen with PA and connectivity to minemild is also fine. Also able to see all the IP`s in the feeds.Attached the screen shots of minemild and logs. Please help in getting the details from minem...

Resolved! Batch add address objects to address group in Panorama?

Hi everyone, I was just able to batch add address objects via the cli on Panorama and now I want to add those addresses to an address group that I created. I tried using the command that Palo gives us for firewalls (shown below), but it does not work. I tried modifying the command by adding the location/device group, but that does not work eithe...

kamorris by L1 Bithead
  • 23039 Views
  • 9 replies
  • 0 Likes

Api check certificate validity

Hi all,I need create an API check to verify certificate expired date from managed firewall.With Giu intercade I found that data inside the template device, like in the attached Photo. Can you help me to find a solution ?

efurlan by L1 Bithead
  • 3004 Views
  • 1 replies
  • 0 Likes

API Key Lifetime functionality - Giving different keys within the Lifetime period itself.

Hi Team, We have API Key Lifetime configured to 20 mins. But if we are trying to get the API key within 5 mins gap (for example) it is giving different keys. Kindly help me to understand this function. I am trying to view the keys using the below URL, its giving the different keys but always first few and last few string are same. https://<ho...

  • 1031 Posts
  • 68 Subscriptions