This article describes how to configure Email Alert when there is a configuration change on FortiGate.
Scope
FortiGate.
Solution
Configure an Automation Stitch to send Email.
Step 1: Configure the Trigger (Use the following log id 44546 44547 44545).
CLI:
config system automation-trigger edit "Config Change" set event-type event-log set logid 44546 44547 44545 next end
Step 2: Configure the Action:
CLI:
config system automation-action edit "Config Change Alert" set action-type email set email-to "[email protected]" set email-subject "Config Changes Made!" next end
Step 3: Configure the Automation-Stitch:
CLI:
config system automation-stitch edit "Config Change Email" set trigger "Config Change" config actions edit 1 set action "Config Change Alert" set required enable next end
Result:
Changes made on interface port3 IP 30.30.30.3 > 30.30.30.4, an email alert is immediately received upon successful config change.