1.72 ESXI-80-000246

Information

The ESXi host must not enable log filtering.

GROUP ID: V-258800
RULE ID: SV-258800r959010

The log filtering capability allows users to modify the logging policy of the syslog service that is running on an ESXi host. Users can create log filters to reduce the number of repetitive entries in the ESXi logs and to deny specific log events entirely.

Setting a limit to the amount of logging information restricts the ability to detect and respond to potential security issues or system failures properly.

Solution

From an ESXi shell, run the following command:

esxcli system syslog config logfilter set --log-filtering-enabled=false

or

From a PowerCLI command prompt while connected to the ESXi host, run the following commands:

$esxcli = Get-EsxCli -v2
$arguments = $esxcli.system.syslog.config.logfilter.set.CreateArgs()
$arguments.logfilteringenabled = $false
$esxcli.system.syslog.config.logfilter.set.invoke($arguments)

See Also

https://workbench.cisecurity.org/benchmarks/23619