Technical Tip: Enable audit log via CLI
Description
This article describes how to enable the audit log via CLI.
This allows the logging of the CLI commands that were run in CLI by a specific admin user.
Scope
FortiGate 7.0.2+.
Solution
Below are the steps to enable the audit log on the CLI:
config system global
set cli-audit-log enable
end

To test if the audit logs are working, try a few commands:
show log fortianalyzer setting
config log fortianalyzer setting
end

Related article:
