Skip to content

feat: make the pytest testing framework functional, migrate all v2 tests - #3594

Open
fzipi wants to merge 12 commits into
owasp-modsecurity:v2/masterfrom
fzipi:feat/new-testing-framework
Open

feat: make the pytest testing framework functional, migrate all v2 tests#3594
fzipi wants to merge 12 commits into
owasp-modsecurity:v2/masterfrom
fzipi:feat/new-testing-framework

chore: regenerate regression fixtures after rebase onto upstream

86e96de
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / SonarCloud succeeded Jul 3, 2026 in 6s

150 new alerts including 150 low severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 150 low

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 2018 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0002:0003:0004:0005:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2018 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "1:2:3:4:5::" is safe here. See more on SonarQube Cloud

Check notice on line 2019 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0002:0003:0004:0005:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2035 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0002:0003:0000:0000:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2036 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "1:2:3::" is safe here. See more on SonarQube Cloud

Check notice on line 2044 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "1:2::" is safe here. See more on SonarQube Cloud

Check notice on line 2045 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0000:0000:0000:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2046 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0000:0000:0000:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2047 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0000:0000:0000:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2047 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0000:0000:0000:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2049 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:07ff:ffff:ffff:ffff:ffff:ffff" is safe here. See more on SonarQube Cloud

Check notice on line 2050 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0000:0000:0000:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2051 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0800:0000:0000:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2052 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0000:ffff:ffff:ffff:ffff:ffff:ffff:ffff" is safe here. See more on SonarQube Cloud

Check notice on line 2053 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0000:0000:0000:003f:ffff:ffff" is safe here. See more on SonarQube Cloud

Check notice on line 2054 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0000:0000:0000:0000:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2055 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0000:0000:0000:0000:0040:0000:0000" is safe here. See more on SonarQube Cloud

Check notice on line 2056 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0000:ffff:ffff:ffff:ffff:ffff:ffff:ffff" is safe here. See more on SonarQube Cloud

Check notice on line 2057 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "1:2:3:4:5::7:8" is safe here. See more on SonarQube Cloud

Check notice on line 2057 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0002:0003:0004:0005:0000:0007:0008" is safe here. See more on SonarQube Cloud

Check notice on line 2058 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0002:0003:0004:0005:0000:0007:0008" is safe here. See more on SonarQube Cloud

Check notice on line 2058 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "1:2:3:4:5::7:8" is safe here. See more on SonarQube Cloud

Check notice on line 2059 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0002:0003:0004:0005:0000:0007:0008" is safe here. See more on SonarQube Cloud

Check notice on line 2059 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "0001:0002:0003:0004:0005:0000:0007:0008" is safe here. See more on SonarQube Cloud

Check notice on line 2060 in tests/test_operators/test_ipMatch.py

See this annotation in the file changed.

Code scanning / SonarCloud

IP addresses should not be hardcoded Low test

Make sure using this hardcoded IP address "1:2:3:4:5::7:8" is safe here. See more on SonarQube Cloud