SV-100785r1_rule
V-90135
SRG-APP-000375-WSR-000171
VRAU-TC-000785
CAT II
10
Navigate to and open /etc/vcac/server.xml.
Navigate to the <Valve className="org.apache.catalina.valves.AccessLogValve"> node.
Set the "pattern" setting with "%h %l %u %t "%r" %s %b".
Note: The <Valve> node should be configured per the following:
<Valve className="org.apache.catalina.valves.AccessLogValve"
checkExists="true"
directory="logs"
pattern="%h %l %u %t "%r" %s %b"
prefix="access_log"
requestAttributesEnabled="true"
rotatable="false"
suffix=".txt"/>
At the command prompt, execute the following command:
tail /storage/log/vmware/vcac/access_log.YYYY-MM-dd.txt
If the timestamp does not contain a minimum granularity of one second, this is a finding.
Note: Substitute the actual date in the file name.
Note: In Common Log Format, a timestamp will look like [06/Feb/2016:23:12:57 +0000]. The "57" part is the "seconds" part of the timestamp.
V-90135
False
VRAU-TC-000785
At the command prompt, execute the following command:
tail /storage/log/vmware/vcac/access_log.YYYY-MM-dd.txt
If the timestamp does not contain a minimum granularity of one second, this is a finding.
Note: Substitute the actual date in the file name.
Note: In Common Log Format, a timestamp will look like [06/Feb/2016:23:12:57 +0000]. The "57" part is the "seconds" part of the timestamp.
M
3439