Support TS and modules in sandbox_code_injection rule
requested to merge KevSlashNull/gitlab-sast-rules:support-ts-and-modules-in-sandbox_code_injection-rule into main
What does this MR do?
This MR adds support for TypeScript and JS modules to the rules_lgpl_javascript_eval_rule-sandbox-code-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#440565 (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
Edited by Kev