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 Slobodyanyuk
Yuri Slobodyanyuk
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors