Description
This article explains how to setup an Automation Stitch in FortiOS that will generate a summary list of changes made by an Administrative User on the FortiGate, and send an email to the designated address that contains this list of changes (in the format of a Log entry, by default).
Note the following regarding this solution:
Scope
FortiGate; FortiOS 6.2, 6.4, 7.0, 7.2,7.4.
Solution
Configuring via the Web UI:
Configuring via the CLI:
The following is an equivalent example CLI configuration:
config system automation-trigger
edit "Administrator Changed Settings"
set event-type event-log
set logid 44546 44547
next
end
config system automation-action
edit "Send Email to Administrator"
set action-type email
set email-to "administrator@test.domain"
set email-subject "Administrator made changes to the configuration"
next
end
config system automation-stitch
edit "Email Configuration Change Summary"
set trigger "Administrator Changed Settings"
config action
edit 1
set action "Send Email to Administrator"
set required enable
next
end
next
end
The following logs should appear in the 'System Events' logs following creation, once the trigger is triggered:
The first example is for Attribute configured (44546) and second log is for Object attribute configured (44547):
Choose the log and select Details to see additional information about the record:
date=2024-10-12 time=14:39:34 eventtime=1728769174898798965 tz="-0700" logid="0100044546" type="event" subtype="system" level="information" vd="root" logdesc="Attribute configured" user="admin" ui="GUI(172.30.184.52)" action="Edit" cfgtid=128123256 cfgpath="system.settings" cfgattr="gui-load-balance[disable->enable]" msg="Edit system.settings "
Related articles:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.