FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
mimran
Staff
Staff
Article Id 394216
Description This article describes how to use the automation stitch to save configuration revision checkpoints on admin login.
Scope FortiGate.
Solution
  1. Create an automation action, set it up under Security Fabric -> Automation -> Action -> Create New -> CLI Script. Name it as desired and use the following CLI syntax in the script field:

 

execute backup config flash "Automatic backup on %%log.user%% login from %%log.ui%%"
 

2025-05-29 12_00_20-Window.png

 

  1. Ensure there is a built-in Trigger available for 'Admin Login' under Security Fabric -> Automation -> Trigger. If there is not, create one.

 

2.png

 

  1. To create the stitch, go to Security Fabric -> Automation -> Stitch-> Edit or Create New.

 

3.png

 

  1. Once the Stitch is created, verify its functionality by logging into the FortiGate using the GUI or SSH. To view the saved revision checkpoints, select the username at the top right corner, then navigate to Configuration -> Revisions.

 

4.png

 

Related articles:

Technical Tip: Configuring automation stitches on the Security Fabric

Technical Tip: How to save and restore configuration changes using revisions