Skip to main content
eberte2001
New Member
December 18, 2019
Question

How to export rulebase to html or xls?

  • December 18, 2019
  • 2 replies
  • 2830 views

 

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

    abarushka
    Staff
    Staff
    August 28, 2022

    Hello,

     

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

    Yurisk
    SuperUser
    SuperUser
    August 28, 2022

    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.