|
67 | 67 | SecDebugLog %%TESTDIR%%/auditlog-debug-local.txt
|
68 | 68 | SecDebugLogLevel 9
|
69 | 69 | SecAuditEngine RelevantOnly
|
70 |
| - SecAuditLogParts AB |
| 70 | + SecAuditLogParts ABIJDEFHZ |
71 | 71 | SecAuditLog %%TESTDIR%%/auditlog-local.txt
|
72 | 72 | SecAuditLogType Serial
|
73 | 73 | SecAuditLogStorageDir %%TESTDIR%%/
|
|
86 | 86 | SecDebugLog %%TESTDIR%%/auditlog-debug-global.txt
|
87 | 87 | SecDebugLogLevel 9
|
88 | 88 | SecAuditEngine RelevantOnly
|
89 |
| - SecAuditLogParts AB |
| 89 | + SecAuditLogParts ABIJDEFHZ |
90 | 90 | SecAuditLog %%TESTDIR%%/auditlog-global.txt
|
91 | 91 | SecAuditLogType Serial
|
92 | 92 | SecAuditLogStorageDir %%TESTDIR%%/
|
@@ -114,7 +114,7 @@ mkdir($t->testdir() . '/http');
|
114 | 114 | $t->write_file("/http/403.html", $custom_txt);
|
115 | 115 |
|
116 | 116 | $t->run();
|
117 |
| -$t->plan(8); |
| 117 | +$t->plan(10); |
118 | 118 |
|
119 | 119 | ###############################################################################
|
120 | 120 |
|
@@ -157,6 +157,14 @@ like($t4, qr/$index_txt/, 'ModSecurity at server / other');
|
157 | 157 | like($global, qr/what=root/, 'ModSecurity at server / root present in auditlog');
|
158 | 158 | unlike($global, qr/what=other/, 'ModSecurity at server / other not present in auditlog');
|
159 | 159 |
|
| 160 | +TODO: { |
| 161 | +local $TODO = 'not yet'; |
| 162 | + |
| 163 | +like($local, qr/Access denied with code 403/, 'ModSecurity at location / 403 in auditlog'); |
| 164 | +like($global, qr/Access denied with code 403/, 'ModSecurity at server / 403 in auditlog'); |
| 165 | + |
| 166 | +} |
| 167 | + |
160 | 168 | ###############################################################################
|
161 | 169 |
|
162 | 170 | sub http_get_host {
|
|
0 commit comments