Skip to content

chore: CHANGES, test matrix, header style for PR #3526

8e7cf44
Select commit
Loading
Failed to load commit list.
Open

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

chore: CHANGES, test matrix, header style for PR #3526
8e7cf44
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 29, 2026 in 2m 39s

Annotations

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 warning on line 27 in src/rule_remove_target_entry.cc

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=AZ06Yru4EKksgLqH42eO&open=AZ06Yru4EKksgLqH42eO&pullRequest=3526

Check warning on line 66 in src/rule_remove_target_entry.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this "if" statement with the enclosing one.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ06Yru4EKksgLqH42eS&open=AZ06Yru4EKksgLqH42eS&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 warning on line 49 in src/rule_remove_target_entry.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the init-statement to declare "kwcColon" inside the if statement.

See more on https://sonarcloud.io/project/issues?id=owasp-modsecurity_ModSecurity&issues=AZ06Yru4EKksgLqH42eQ&open=AZ06Yru4EKksgLqH42eQ&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 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 50 in src/rule_remove_target_entry.cc

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this "if" statement with the enclosing one.

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

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 29 in src/rule_remove_target_entry.cc

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=AZ06Yru4EKksgLqH42eP&open=AZ06Yru4EKksgLqH42eP&pullRequest=3526