STIGUI
V-26279CAT II — Medium severitySV-33192r1_rule

Error logging must be enabled.

Rule version WA00605 A22 · STIG v1 · 2019-01-07

Discussion

The server error logs are invaluable because they can also be used to identify potential problems and enable proactive remediation. . Log data can reveal anomalous behavior such as “not found” or “unauthorized” errors that may be an evidence of attack attempts. Failure to enable error logging can significantly reduce the ability of Web Administrators to detect or remediate problems.

Check

Enter the following command:

grep "ErrorLog" /usr/local/apache2/conf/httpd.conf

This directive lists the name and location of the error log.

If the command result lists no data, this is a finding.

Fix

Edit the httpd.conf file and enter the name and path to the ErrorLog.

Identifiers

Group ID
V-26279
Group title
WA00605
Rule ID
SV-33192r1_rule
Check ID
C-33741r1_chk
Fix ID
F-29376r1_fix