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! Using the API to get unused and used rules

Hi all,I am trying to use the API to get a list of unused and another of used rules. Via the API I only get the following error<response status="error"><msg><line>An error occured. See dagger.log for information.</line></msg></response>I have also tried with the followinghttps://hostname/api/?type=op&acti...

StefanV by L1 Bithead
  • 15381 Views
  • 7 replies
  • 0 Likes

Resolved! Adding managed device in Panorama via terraform panos provider

Using the panos terraform provider, I'm able to grab the serial, and then add it to the resource which adds it to a device group, however, it errors out because it is unable to find the serial. If I add the serial as a managed device in panorama, and run the same tf again, then it works. But there is nowhere I can find on how to do this in tf......

lstahl by L0 Member
  • 4145 Views
  • 1 replies
  • 0 Likes

Resolved! Cortex XDR File Retrieval

Hello everyone, The file retrieval API is failing with the following error, anyone has been through this before?"err_code": 500,"err_msg": "An error occurred while processing XDR public API - endpoints","err_extra": "can't create group action id for FILES_RETRIEVAL"

YAlhazmi_0-1620252006318.png
YAlhazmi by L1 Bithead
  • 4124 Views
  • 1 replies
  • 1 Likes

cortex XDR run_script and execute_commands

I've being testing some of the built in scripts that come with cortex. i.e the #list_directories and #file_exists are working nicely.Im having difficulty using similar parameters running the execute_commands script.example of list_directories which works:data='{"request_data":{"filters":[{"field":"endpoint_id_list","operator":"in","value":["RED...

Screenshot 2021-04-22 at 09.24.29.png

API - Device Deployment - License

Hi all,I would like going to extract from Panorama my firewall license information to XML file but I not find any information about the right syntax I could usage. The right table in Web interface is: menu Panorama -> Device Deployment - Licenses.

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

Resolved! Custom-url-category using XML API

I am almost there as to trying to add a custom url category its just that I can't add it correctly. The below works perfectly and can go ahead and return a custom url category so I know at least my API Key is good and I can authenticate fine with Panorama and I get a Success code of '19'. Get_URL = "https://<panorama-url>/api/?type=config&...

Request license fetch thru API call on all pan devices

we have 200+ pan devices and we recently renewed licenses and now we have to login to each device and click on "retrieve license keys from license server" so i want to automate these using API call,I looked into debug clii on, i see below request. pan> request license fetch(container-tag: license container-tag: fetch pop-tag: pop-tag:)((eol-...

REST API parameter error for non vsys device

I'm having an issue with v9.1 that I was not having with v9.0. On a vm-series firewall with no vsys I am getting the following error. <Response [400]> b'{"code":3,"message":"Invalid Query Parameter: location=shared","details":[{"@type":"CauseInfo","causes":[{"code":8,"module":"panui_restapi","description":"Invalid Query Parameter: locatio...

Find where is the address in Active/Active config

I would like to automate a failover on a couple of Linux servers that use keepalived and I need to find where is my floating IP using API or scriptable things.I have read something on my PA700 API page, but I cannot find something describing where is a specific floating IPHas anyone found a way to found it?

Knowledge sharing: Version 10 no 7 byte limit for sinatures examples for Layer 7 (L7) DDOS/Brute force protection and referer match

You can check my previous discussions for this for making a vuntability signature that will block Application level DDOS or Brute force on a login page: https://live.paloaltonetworks.com/t5/general-topics/the-7-byte-custom-signature-minimum/m-p/387323#M90357 Also I made a post for making custom App id that matches the referer origin HTTP head...

  • 1031 Posts
  • 68 Subscriptions