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

Detailed Configuration Changes Report

I have been attempting to create a custom report that shows all firewall configuration changes made for tracking purposes. I do not see a built in way to use a custom search and output to it a daily report with all detailed results. Can anyone point me in the right direction?

 

I have been using the query below in Log View >> Event >> System

logdesc="Object attribute configured" 

 

I am interested in these columns: Date/Time, Message, User, Config Attributes, Config Object, Config Path and Log Description

 

Product: FortiAnalyzer-200D Version: 5.4.1 GA   Thank you.
1 Solution
mec313
New Contributor II

You need to create a custom dataset. Set the Log Type to Event. I have a query below that I use for detailed config changes.

 

select to_timestamp(itime) as time, `user` as user, ui, action, cfgpath, cfgobj, cfgattr from $log where $filter and subtype = 'system' and logid in ('0100044544','0100044545','0100044546','0100044547')

 

The message looked like it was made from the cfgpath, cfgobj and cfgattr, so I ended up pulling it out of my report to preserve space, plus I would rather them be split up to their own column. you can use the field logdesc for the log description. The logid numbers are those for the edits you are after. If you get curious or are comfortable enough with SQL to play with it, the document below can be of great help with field names and values (Which is where those numbers came from)

 

docs.fortinet.com/d/fortios-5.4.0-log-reference/download

 

Hope it helps. I just got mine set up yesterday and was looking through the forums when I saw your post.

View solution in original post

3 REPLIES 3
thenetworksfine
New Contributor

I was hoping to try once more with my request.

mec313
New Contributor II

You need to create a custom dataset. Set the Log Type to Event. I have a query below that I use for detailed config changes.

 

select to_timestamp(itime) as time, `user` as user, ui, action, cfgpath, cfgobj, cfgattr from $log where $filter and subtype = 'system' and logid in ('0100044544','0100044545','0100044546','0100044547')

 

The message looked like it was made from the cfgpath, cfgobj and cfgattr, so I ended up pulling it out of my report to preserve space, plus I would rather them be split up to their own column. you can use the field logdesc for the log description. The logid numbers are those for the edits you are after. If you get curious or are comfortable enough with SQL to play with it, the document below can be of great help with field names and values (Which is where those numbers came from)

 

docs.fortinet.com/d/fortios-5.4.0-log-reference/download

 

Hope it helps. I just got mine set up yesterday and was looking through the forums when I saw your post.

Usib
New Contributor

Thank you for this solution, it was great help to me.
Last days I have been attempting to add function "change summary" or "audit summary" (new FTG function where you need to write comment at every change you make in FW) to this report, however unsuccessfully. Do you perhaps have solution for this aswell ?

Thank you.

Labels
Top Kudoed Authors