We are creating CLI scripts (not provisioning templates) using the Fortimanager API, and have run into some issues.
For testing purposes we create a script that just creates a basic interface. We push this script using API to the Fortimanager, and it does show up in the list. NAME - CLI - Device Database (we want to run it in Device Db, but we have same issues with Remote FGT Direct to)
If I try to edit the script in the web gui - it wont open. And the same goes for all other scripts to after this, even the ones I have created manually.
If I refresh my web browser, I can edit all my manually crearted scripts, and run them..etc. But as soon as I try to edit or run the script created from API, nothin works.
I run: exec fmscript and all scripts look fine, the API generated looks like the manually created.
I turn on a lot of debug, and record the process of creating a manual script - and I use the exact same procedure when creating the using API.... no go..
I am betting this is some weird bug in Fortimanager ? Have anyone else experienced this ? Any tips for further tshoot ?
And please - I do not need the link to the admin guide and the API refference, I have read them allready
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello Vince,
Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.
Thanks,
Hello Vince,
Sorry for the delay, we are still looking for someone to help you.
We will come back to you ASAP.
Regards,
I have started to getting used to it now, after the first 5-6 weeks I just started to see it as a feature. :)
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1732 | |
1106 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.