Skip to main content
Ludo
New Member
January 13, 2021
Question

Firewall rule changed alert

  • January 13, 2021
  • 5 replies
  • 7713 views

Hi,

 

We have multiple FortiGate instances with different VDOMs. We have several admins working on them and would like to be notified when a rule changes on one of the VDOMs. I didn't find anything right away, is there an easy way to do this?

 

Kind Regards,

Ludovic

    5 replies

    lobstercreed
    New Member
    January 14, 2021

    I review system event logs after the fact to keep abreast of what other admins are doing and did figure out how to set an alert in FortiAnalyzer based on this, but as far as an alert from the FortiGate itself - I'm not sure.  Do you have FortiAnalyzer?

    Ludo
    LudoAuthor
    New Member
    January 14, 2021

    Yes, we have a FortiAnalyzer in our environment. It would be great if you could help me. For now, I have created a script that gets the full config every day and checks if there are any differences with the previous config.

    lobstercreed
    New Member
    January 20, 2021

    See attached.  The redacted part is my username so that it doesn't annoy me when *I'm* working on the system, and the blank line eliminates the noise like NAT creation/destruction.

     

    This only fires every 30 minutes I believe but it lets me know on days when I'm out of the office if someone else is messing around on the firewall.  I can then review the system logs in FortiAnalyzer to look for the specifics.

     

    I hope this helps.  If you need more specific guidance maybe we could do a brief call or Zoom.  Feel free to DM me.

    sruthi_reddy
    New Member
    January 21, 2021

    Hello Ludovic,

     

    You can configure automation stitch and an alert email using Fortigate. Please check:

     

    https://kb.fortinet.com/kb/documentLink.do?externalID=FD46073 

    https://docs.fortinet.com/document/fortigate/6.0.0/handbook/712138/automation-stitches

     

    Alternatively, you can also configure alerts on FortiAnalyzer based on event logs:

    https://kb.fortinet.com/kb/documentLink.do?externalID=FD41608

    https://kb.fortinet.com/kb/documentLink.do?externalID=FD41685

     

    Another similar thread: https://forum.fortinet.com/tm.aspx?m=187812

     

    Thanks,

    Sruthi

    NSE7

    tafb
    New Member
    January 31, 2021

    Try the alertemail settings.  only available in the cli now but can email all config changes.

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!