Skip to content

Support TS and modules in node_sqli_injection rule

What does this MR do?

This MR adds support for TypeScript and JS modules to the rules_lgpl_javascript_database_rule-node-sqli-injection rule particularly because the import syntax is already natively supported by some browsers and Node.js.

This also improves the description of said rule to make it easier to understand how to remediate the problem.

What are the relevant issue numbers?

Relates to gitlab-org/gitlab#440278

Does this MR meet the acceptance criteria?

Edited by Kev

Merge request reports