WA00612 A22 - The sites error logs must log the correct format.

Information

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. The LogFormat directive defines the format and information to be included in the access log entries.

Solution

Edit the httpd.conf file and add LogFormat '%a %A %h %H %l %m %s %t %u %U '%{Referer}i' ' combined

See Also

https://iasecontent.disa.mil/stigs/zip/U_Apache_2-2_UNIX_V1R11_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CAT|II, Rule-ID|SV-33203r1_rule, STIG-ID|WA00612_A22, Vuln-ID|V-26280

Plugin: Unix

Control ID: 0fd9ffbed4eb2798090680a93ab9d2f1c3fd2df620b316398be51d597ec9aa14