Ervin Hegedus
d6d9935cb2
Merge pull request #3481 from hnakamur/v3/fix_readme_on_running_tests
...
v3: fix readme on running tests (fixes #3328 )
2025-12-31 16:39:35 +01:00
Hiroaki Nakamura
ac44a71d2b
doc: Fix README to update git submodules
...
The old instruction causes the following error:
```
$ git submodule foreach git pull
Entering 'bindings/python'
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
fatal: run_command returned non-zero status for bindings/python
.
```
2025-12-28 06:41:35 +09:00
Hiroaki Nakamura
4393ce8496
doc: Run make check instead of unit_tests
...
Tests in the following file are known to fail
when running the `unit_tests` executable at `test` directory:
test/test-cases/secrules-language-tests/transformations/phpArgsNames.json
Run `make check` at the top directory instead to ignore these failures.
(See https://github.com/owasp-modsecurity/ModSecurity/issues/3328 )
2025-12-28 06:35:52 +09:00
Ervin Hegedus
cebcde3b9c
Merge pull request #3473 from Gacko/patch-1
...
Collection: Include `<cstdint>`.
2025-12-09 09:46:00 +01:00
Marco Ebert
7791f753f4
Collection: Include <cstdint>.
...
This fixes builds on Alpine v3.23.0 (GCC v15.2.0, musl v1.2.5).
2025-12-09 07:51:09 +01:00
Ervin Hegedus
b6da67737d
Merge pull request #3467 from chenuduss/v3/master
...
Minor edit with remove useless checks
2025-11-20 14:08:15 +01:00
chenuduss
09fec93cb7
remove useless check and spaces
2025-11-19 13:45:57 +03:00
chenuduss
63cc4fb919
remove useless check
2025-11-19 13:44:02 +03:00
Ervin Hegedus
fc905d9ea4
Merge pull request #3464 from airween/v3/encodejsaudit
...
fix: encode possible binary characters from user input in audit logs
2025-11-14 09:22:46 +01:00
Ervin Hegedus
102275fd01
Encode possible binary characters in headers; add more tests
2025-11-13 23:09:14 +01:00
Ervin Hegedus
85384febb7
Encode possible binary characters from user input in audit logs
2025-11-13 11:49:32 +01:00
Ervin Hegedus
032ccae9d3
Merge pull request #3455 from airween/v3/xmldeprfix
...
fix: libxml2 related deprecated issues in v3
2025-10-30 10:52:25 +01:00
Ervin Hegedus
b9dc9cc82f
Disable parser errors being printed to stderr
2025-10-29 16:14:22 +01:00
Ervin Hegedus
624a0deec6
Fix libxml2 related deprecated issues
2025-10-29 15:21:41 +01:00
Ervin Hegedus
3d0440ef31
Merge pull request #3447 from chenuduss/v3/master
...
correct handling result of CPTRetriveNode
2025-10-28 11:23:04 +01:00
chenuduss
89eeb9239a
correct handling result of CPTRetriveNode
2025-10-15 16:52:20 +03:00
Ervin Hegedus
e523d7223b
Merge pull request #3442 from airween/v3/caseinsruleremovetarget
...
fix: ignore case when evaluating exceptions
2025-09-17 21:25:28 +03:00
Ervin Hegedus
f49b3e520c
Update test/test-cases/regression/action-ctl_rule_remove_target_by_id.json
...
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com >
2025-09-17 09:17:23 +02:00
Ervin Hegedus
b85988d641
Update test/test-cases/regression/action-ctl_rule_remove_target_by_id.json
...
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com >
2025-09-17 09:17:15 +02:00
Ervin Hegedus
d8bb86b337
Eliminate compiler type mismatch warnings
2025-09-16 15:28:08 +02:00
Ervin Hegedus
c56da4ca9c
Force case comparison when check previously added exclusion
2025-09-16 15:10:51 +02:00
Ervin Hegedus
98b0a7c071
Add new test cases based on initial issue
2025-09-16 15:02:31 +02:00
Ervin Hegedus
52c1d48085
Merge pull request #3437 from airween/v3/removenonposixvars
...
fix: eliminate non-posix standard variables
2025-08-29 10:37:59 +03:00
Ervin Hegedus
a0f45a73b5
Typo fix
...
Co-authored-by: Felipe Zipitría <3012076+fzipi@users.noreply.github.com >
2025-08-25 16:11:58 +02:00
Ervin Hegedus
506bc97617
Eliminate non-posix standard variables
2025-08-25 15:37:04 +02:00
Ervin Hegedus
a07ed61e74
Merge pull request #3432 from szedenik-adam/auditlog-header
...
Add custom leading text to audit log lines
2025-08-13 20:45:19 +03:00
szedenik-adam
4e2788eb47
Merge branch 'v3/master' into auditlog-header
2025-08-13 09:26:21 +02:00
Ervin Hegedus
f9f4011a4b
Merge pull request #3434 from airween/v3/cppcheckfix2
...
chore: fix cppcheck warning
2025-08-13 10:04:20 +03:00
Ervin Hegedus
62cb73f31d
Add const modifier to variable
2025-08-12 21:36:52 +02:00
Ervin Hegedus
8b3269f4d1
Try to avoid any kind of type casting
2025-08-12 21:05:31 +02:00
Ervin Hegedus
e879711d87
Add extra SonarCloud supression msg; Change type to auto
2025-08-11 23:05:32 +02:00
Ervin Hegedus
9fea1ca454
Change cast type (fix SonarCloud issues)
2025-08-11 22:41:07 +02:00
Ervin Hegedus
47bc24a808
Decrease code nest level
2025-08-11 22:28:22 +02:00
Ervin Hegedus
12809656a6
Remove redundant parenthesis
2025-08-11 22:02:37 +02:00
Ervin Hegedus
ea51a663f1
Move seclang-parser.hh supression to the right place
2025-08-11 17:19:46 +02:00
Ervin Hegedus
d19d3b4785
Supress uninitMemberVar warning in seclang-parser.hh
2025-08-11 16:43:58 +02:00
Ervin Hegedus
67f32a4e63
Fix cppcheck 2.18.0 warnings
2025-08-11 15:51:49 +02:00
szedenik-adam
6c6d94fc66
Renamed SecAuditLogHeader to SecAuditLogPrefix
2025-08-11 10:30:01 +02:00
szedenik-adam
0f402f33fd
Adapted AuditLog based on code check hints
2025-08-07 11:01:44 +02:00
szedenik-adam
01c427f6be
Replaced initializer list with in-class initializer in AuditLog
2025-08-07 10:23:50 +02:00
szedenik-adam
31fb9390c2
Replaced string parameters with string_view in AuditLog
2025-08-07 10:22:42 +02:00
szedenik-adam
2ee45de2fc
Added audit log header
2025-08-04 17:09:49 +02:00
Ervin Hegedus
0ac551b070
Merge pull request #3430 from airween/v3/confvaluepathfix
...
fix: add Windows specific characters to config value syntax
2025-08-03 11:06:00 +03:00
Ervin Hegedus
013c8c2c7b
Remove escape from meta characters again
2025-08-01 13:28:19 +02:00
Ervin Hegedus
d8574c8c08
Fix date format pattern in auditlog's regression test
2025-08-01 11:38:39 +02:00
Ervin Hegedus
37948704df
Revert "Remove escape from meta characters"
...
This reverts commit 28bc3a98df .
2025-08-01 09:33:22 +02:00
Ervin Hegedus
28bc3a98df
Remove escape from meta characters
...
Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com >
2025-08-01 09:11:20 +02:00
Ervin Hegedus
72e3abdd12
Add Windows specific characters to config value syntax in config parser
2025-07-30 14:37:27 +02:00
Ervin Hegedus
f2170d8576
Merge pull request #3426 from wooffie/fix-rx-476
...
fix: rx operators better null checks
2025-07-29 15:48:47 +03:00
Burkov Egor
c60709a58c
fix: rx operators better null checks
2025-07-29 13:18:48 +03:00