Skip to content

feat: regex key support for ctl:ruleRemoveTargetById and ctl:ruleRemo…

637ad9c
Select commit
Loading
Failed to load commit list.
Open

feat: regex key support for ctl:ruleRemoveTargetById and ctl:ruleRemoveTargetByTag #3526

feat: regex key support for ctl:ruleRemoveTargetById and ctl:ruleRemo…
637ad9c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 28, 2026 in 1m 46s

Annotations

Check warning on line 920 in src/parser/seclang-scanner.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::string" instead of a C-style char array.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ02d7ycPAYx8a-QfLih&open=AZ02d7ycPAYx8a-QfLih&pullRequest=3526

Check warning on line 48 in headers/modsecurity/rule_remove_target_entry.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "empty()" to check whether the container is empty or not.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ02d7sEPAYx8a-QfLie&open=AZ02d7sEPAYx8a-QfLie&pullRequest=3526

Check warning on line 3391 in src/parser/seclang-scanner.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::array" or "std::vector" instead of a C-style array.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ02d7ycPAYx8a-QfLij&open=AZ02d7ycPAYx8a-QfLij&pullRequest=3526

Check failure on line 57 in src/actions/ctl/rule_remove_target_by_tag.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ02d7v-PAYx8a-QfLif&open=AZ02d7v-PAYx8a-QfLif&pullRequest=3526

Check failure on line 65 in src/actions/ctl/rule_remove_target_by_id.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ02d7wOPAYx8a-QfLig&open=AZ02d7wOPAYx8a-QfLig&pullRequest=3526

Check warning on line 38 in headers/modsecurity/rule_remove_target_entry.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "empty()" to check whether the container is empty or not.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ02d7sEPAYx8a-QfLid&open=AZ02d7sEPAYx8a-QfLid&pullRequest=3526

Check warning on line 1867 in src/parser/seclang-scanner.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::array" or "std::vector" instead of a C-style array.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ02d7ycPAYx8a-QfLii&open=AZ02d7ycPAYx8a-QfLii&pullRequest=3526

Check warning on line 36 in headers/modsecurity/rule_remove_target_entry.h

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this const reference to "std::string" by a "std::string_view".

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ02d7sEPAYx8a-QfLic&open=AZ02d7sEPAYx8a-QfLic&pullRequest=3526