Skip to content

Add C API to retrieve matched rules from a transaction#3551

Merged
airween merged 6 commits into
owasp-modsecurity:v3/masterfrom
meirdev:v3/matched-rules-c-api
Apr 27, 2026
Merged

Add C API to retrieve matched rules from a transaction#3551
airween merged 6 commits into
owasp-modsecurity:v3/masterfrom
meirdev:v3/matched-rules-c-api

Merge branch 'v3/master' into v3/matched-rules-c-api

4c759c6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 22, 2026 in 2m 33s

Annotations

Check warning on line 2360 in src/transaction.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this 'extern "C"' declaration out of the namespace.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ20PajO9hZDB1hNVx-o&open=AZ20PajO9hZDB1hNVx-o&pullRequest=3551

Check warning on line 2341 in src/transaction.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "transaction" is "class modsecurity::Transaction *".

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ20PajO9hZDB1hNVx-n&open=AZ20PajO9hZDB1hNVx-n&pullRequest=3551

Check warning on line 2341 in src/transaction.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this 'extern "C"' declaration out of the namespace.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ20PajO9hZDB1hNVx-m&open=AZ20PajO9hZDB1hNVx-m&pullRequest=3551