TMA-FORTIGATE-7.3.3
Encrypt Log Transmission to Syslog
说明
Enable encryption for logs that are sent to FortiAnalyzer or FortiManager. PASS requires syslog mode reliable and enc-algorithm high in config log syslogd setting (the CIS text says 'syslog setting'/'reliable'; on FortiOS 7.4 these are syslogd 'mode reliable'). Audited against FortiOS 'show full-configuration' output (run it from the global context on VDOM-enabled units and save the full output); patterns are scoped to the named 'config ... end' block, whose member lines are indented.
检查方式
审计方法: 配置正则匹配
- 匹配模式
(?m)^config log syslogd setting\n(?:(?:[ \t]+[^\n]*\n)*?[ \t]+set mode reliable[ \t]*\n(?:[ \t]+[^\n]*\n)*?[ \t]+set enc-algorithm high[ \t]*$|(?:[ \t]+[^\n]*\n)*?[ \t]+set enc-algorithm high[ \t]*\n(?:[ \t]+[^\n]*\n)*?[ \t]+set mode reliable[ \t]*$)
修复方式
修复方法: 操作指南或基础设施补丁
config log syslogd setting set mode reliable set enc-algorithm high end # CIS guidance: Secure log transfer settings can only be configured on CLI: config log syslog setting set reliable enable set enc-algorithm high end
属性
- 操作系统
- 任意
- 标签
- fortigatelogging
- 参考
- CIS FortiGate 7.4.x Benchmark v1.0.1 - 7.3.3 Encrypt Log Transmission to Syslog
检查本机
请在您有权审计的机器上运行此命令。扫描为只读操作。
tmaegis scan --target fortigate