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

Resolved! Create new IpSec Crypto Profile in rest api

Hi,

I'm trying to automate proccess of VPN creation through REST API. I already have working IKE Crypto Profile creation with POST " /restapi/v10.0/Network/IKECryptoNetworkProfiles", but I can't find in documentation any reference to IPSec Crypto Prof

...

usabina by L0 Member
  • 2123 Views
  • 1 replies
  • 0 Likes

Template Stack variable assignments via API

Greetings,

 

I use Template Stacks with variables a lot for firewalls with the same hardware and network settings.

To assign the value of a variable, I go to the template stack and export the variable CSV file. I modify the file with the values for my f

...

mrzepa2 by L2 Linker
  • 3171 Views
  • 2 replies
  • 0 Likes

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 t

...

StefanV by L1 Bithead
  • 10278 Views
  • 7 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

...

YAlhazmi_0-1620252006318.png
YAlhazmi by L1 Bithead
  • 2769 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

...

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
  • 1827 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 Pan

...

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","...