9 SecAuditEngine RelevantOnly
10 SecAuditLog "$ENV{AUDIT_LOG}"
11 SecAction "phase:1,pass,log"
14 error => [ qr/ModSecurity: Warning. Unconditional match in SecAction\./, 1 ],
19 request => new HTTP::Request(
20 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
28 SecAuditEngine RelevantOnly
29 SecAuditLog "$ENV{AUDIT_LOG}"
30 SecAction "phase:1,pass,nolog"
33 -error => [ qr/ModSecurity: /, 1 ],
34 -audit => [ qr/./, 1 ],
39 request => new HTTP::Request(
40 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
47 comment => "auditlog",
50 SecAuditEngine RelevantOnly
51 SecAuditLog "$ENV{AUDIT_LOG}"
52 SecAction "phase:1,pass,auditlog"
55 error => [ qr/ModSecurity: Warning. Unconditional match in SecAction\./, 1 ],
56 audit => [ qr/Message: Warning. Unconditional match in SecAction\./, 1 ],
61 request => new HTTP::Request(
62 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
67 comment => "noauditlog",
70 SecAuditEngine RelevantOnly
71 SecAuditLog "$ENV{AUDIT_LOG}"
72 SecAction "phase:1,pass,noauditlog"
75 error => [ qr/ModSecurity: Warning. Unconditional match in SecAction\./, 1 ],
76 -audit => [ qr/./, 1 ],
81 request => new HTTP::Request(
82 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
86 # All log/nolog auditlog/noauditlog combos
89 comment => "log,auditlog",
92 SecAuditEngine RelevantOnly
93 SecAuditLog "$ENV{AUDIT_LOG}"
94 SecAction "phase:1,pass,log,auditlog"
97 error => [ qr/ModSecurity: Warning. Unconditional match in SecAction\./, 1 ],
98 audit => [ qr/Message: Warning. Unconditional match in SecAction\./, 1 ],
103 request => new HTTP::Request(
104 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
109 comment => "log,noauditlog",
112 SecAuditEngine RelevantOnly
113 SecAuditLog "$ENV{AUDIT_LOG}"
114 SecAction "phase:1,pass,log,noauditlog"
117 error => [ qr/ModSecurity: Warning. Unconditional match in SecAction\./, 1 ],
118 -audit => [ qr/./, 1 ],
123 request => new HTTP::Request(
124 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
129 comment => "nolog,auditlog",
132 SecAuditEngine RelevantOnly
133 SecAuditLog "$ENV{AUDIT_LOG}"
134 SecAction "phase:1,pass,nolog,auditlog"
137 audit => [ qr/-H--\s+Message: .*Stopwatch: /s, 1 ],
142 request => new HTTP::Request(
143 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
148 comment => "nolog,noauditlog",
151 SecAuditEngine RelevantOnly
152 SecAuditLog "$ENV{AUDIT_LOG}"
153 SecAction "phase:1,pass,nolog,noauditlog"
156 -error => [ qr/ModSecurity: /, 1 ],
157 -audit => [ qr/./, 1 ],
162 request => new HTTP::Request(
163 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
168 comment => "auditlog,log",
171 SecAuditEngine RelevantOnly
172 SecAuditLog "$ENV{AUDIT_LOG}"
173 SecAction "phase:1,pass,auditlog,log"
176 error => [ qr/ModSecurity: Warning. Unconditional match in SecAction\./, 1 ],
177 audit => [ qr/Message: Warning. Unconditional match in SecAction\./, 1 ],
182 request => new HTTP::Request(
183 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
188 comment => "auditlog,nolog",
191 SecAuditEngine RelevantOnly
192 SecAuditLog "$ENV{AUDIT_LOG}"
193 SecAction "phase:1,pass,auditlog,nolog"
196 -error => [ qr/ModSecurity: /, 1 ],
197 -audit => [ qr/./, 1 ],
202 request => new HTTP::Request(
203 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
208 comment => "noauditlog,log",
211 SecAuditEngine RelevantOnly
212 SecAuditLog "$ENV{AUDIT_LOG}"
213 SecAction "phase:1,pass,noauditlog,log"
216 error => [ qr/ModSecurity: Warning. Unconditional match in SecAction\./, 1 ],
217 -audit => [ qr/./, 1 ],
222 request => new HTTP::Request(
223 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",
228 comment => "noauditlog,nolog",
231 SecAuditEngine RelevantOnly
232 SecAuditLog "$ENV{AUDIT_LOG}"
233 SecAction "phase:1,pass,noauditlog,nolog"
236 -error => [ qr/ModSecurity: /, 1 ],
237 -audit => [ qr/./, 1 ],
242 request => new HTTP::Request(
243 GET => "http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt",