Information
The aggregation of log data kept on a syslog server can be used to detect attacks and trigger an alert to the appropriate security personnel. The stored log data can be used to detect weaknesses in security that enable the network IA team to find and address these weaknesses before breaches can occur. Reviewing these logs, whether before or after a security breach, is important in showing whether someone is an internal employee or an outside threat.
NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
Log in via the GUI with super-admin privileges.
1. Click Log and Report.
2. Click Log Settings.
3. Locate the Remote Logging and Archiving section.
4. Configure FortiGate to log to a FortiAnalyzer or syslog server.
- Enable logging to FortiAnalyzer and provide the IP address. Additional FortiAnalyzer logging destinations can be configured in the CLI.
- Enable the 'Send logs to syslog' toggle and provide the IP address. Additional syslog logging destinations can be configured in the CLI.
5. Apply changes.
or
1. Open a CLI console via SSH or from the 'CLI Console' button in the GUI.
2. Configure a FortiAnalyzer or syslog server with the following commands:
FortiAnalyzer Logging:
config log fortianalyzer setting
set status enable
set server {IP Address}
set upload-option realtime
end
syslog Logging:
config log syslogd setting
set status enable
set server {IP Address}
set mode reliable
end