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.
nnair
Staff
Staff
Article Id 266822

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

 

image.png

 
To test if the audit logs are working, try a few commands:


show log fortianalyzer setting

    config log fortianalyzer setting

end

image.png

 

Related article:

Technical Tip: FortiGate TACACS+ Accounting messages