Pass SAST_EXCLUDED_PATHS as semgrep exclude flags
What does this MR do?
Parse the SAST_EXCLUDED_PATHS env var and pass --exclude
arguments to semgrep to stop semgrep from looking at those paths. This will likely have a large performance improvement.
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 Zach Rice