Support TS and modules in server-side-template-injection rule
requested to merge KevSlashNull/gitlab-sast-rules:support-ts-and-modules-in-server_side_template_injection into main
What does this MR do?
This MR adds support for TypeScript and JS modules to the rules_lgpl_javascript_eval_rule-server-side-template-injection
rule particularly because the import
syntax is already natively supported by some browsers and Node.js.
What are the relevant issue numbers?
Relates to gitlab-org/gitlab#440567 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer