mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Regression tests: audit log compare support and test cases
This commit is contained in:
committed by
Felipe Zimmerle
parent
7a48245aed
commit
a1547eaa32
@@ -180,7 +180,7 @@ RegressionTest *RegressionTest::from_yajl_node(const yajl_val &node) {
|
||||
yajl_val val2 = val->u.object.values[j];
|
||||
|
||||
if (strcmp(key2, "audit_log") == 0) {
|
||||
u->audit_log = yajl_array_to_str(val2);
|
||||
u->audit_log = YAJL_GET_STRING(val2);
|
||||
}
|
||||
if (strcmp(key2, "debug_log") == 0) {
|
||||
u->debug_log = YAJL_GET_STRING(val2);
|
||||
|
Reference in New Issue
Block a user