Skip to main content
systemgeek
Visitor III
July 19, 2024
Solved

Script/tool/method to pull webportal information.

  • July 19, 2024
  • 2 replies
  • 1185 views

I would like to have the fortigate update its webportal URLS dynamically using some kind of script or tool or pull method.  As an example the Fortigate periodically pulls in a file from some linux server internally to create the webportal URL list that is then presented to the usergroup assigned to that portal.

 

Any one know how to do something like that?

Best answer by ozkanaltas

Hello @systemgeek ,

 

If we are talking about web portal bookmark. There is no option for automizing that.

 

But, if you have knowledge about API and for example python scripting. You can create a script for that. That script can control your list and configure this bookmark to the FortiGate portal via API.

2 replies

ozkanaltas
Valued Contributor III
July 19, 2024

Hello @systemgeek ,

 

If we are talking about web portal bookmark. There is no option for automizing that.

 

But, if you have knowledge about API and for example python scripting. You can create a script for that. That script can control your list and configure this bookmark to the FortiGate portal via API.

systemgeek
Visitor III
July 19, 2024

I know how to program APIs and I know python but that is a pain.  I am guessing I can just point the portal at a "static" page internally.  That "static" page could be managed by a script.

ozkanaltas
Valued Contributor III
July 19, 2024

Hello @systemgeek ,

 

Probably that will be the easiest way. However, redirection may not work on the web portal. Before configuring that, my advice is to try that with one server.