Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
eberte2001
New Contributor

How to export rulebase to html or xls?

 

Hello all,

 

Please, anyone know how to export rulebase from Fortigate (not FortiManager) to html or xls?

I need also export IP address, URLs and services added in the firewall.

 

Thank you!!!!

2 REPLIES 2
abarushka
Staff
Staff

Hello,

 

You may consider to download FortiGate configuration file and parse it with notepad/python scripts.

FortiGate
Yurisk
SuperUser
SuperUser

Hi,

there is no built-in tool/way to export rulebase/objects directly into XLS/CSV/etc formats. You can:

  • Export configuration - it is a structured text file, so it can be parsed with scripts quite easily
  • Get needed info by using Fortigate API and scripting of some kind.
  • (Probably) Use some web scraping software to download Fortigate web gui page of interest.
Yuri https://yurisk.info/  blog: All things Fortinet, no ads.
Yuri https://yurisk.info/ blog: All things Fortinet, no ads.
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors