Skip to content

Commit bc02f8b

Browse files
committed
fix(tests): update expected severity for coraza v3.7.0
Coraza v3.7.0 changed the default severity for rules without an explicit severity action from 8 ("emergency") to 0 ("unknown"). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4fcf09e commit bc02f8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/simple_get.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Creating transaction...
77
Processing connection...
88
Processing request line
99
Processing phase 1
10-
[simple_get][severity 8] [client "127.0.0.1"] Coraza: Access denied (phase 1). test 123 [file "_inline_"] [line "1"] [id "1"] [rev ""] [msg "test 123"] [data ""] [severity "emergency"] [ver ""] [maturity "0"] [accuracy "0"] [hostname ""] [uri "/someurl"] [unique_id "simple_get"]
10+
[simple_get][severity 0] [client "127.0.0.1"] Coraza: Access denied (phase 1). test 123 [file "_inline_"] [line "1"] [id "1"] [rev ""] [msg "test 123"] [data ""] [severity "unknown"] [ver ""] [maturity "0"] [accuracy "0"] [hostname ""] [uri "/someurl"] [unique_id "simple_get"]
1111
Processing phase 2
1212
[simple_get][level 5] Calling ProcessRequestBody but there is a preexisting interruption tx_id="simple_get"
1313
Processing phase 3

0 commit comments

Comments
 (0)