Skip to content

Pass SAST_EXCLUDED_PATHS as semgrep exclude flags

Daniel Paul Searles requested to merge excludes into main

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?

Edited by Zach Rice

Merge request reports

Loading