Skip to content
Snippets Groups Projects

Pass SAST_EXCLUDED_PATHS as semgrep exclude flags

Merged 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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 1f796a83 - Pass SAST_EXCLUDED_PATHS as semgrep exclude flags

    Compare with previous version

  • Zach Rice
  • added 1 commit

    • 48ce4dfa - Pass SAST_EXCLUDED_PATHS as semgrep exclude flags

    Compare with previous version

  • Zach Rice marked the checklist item Conforms to the code review guidelines as completed

    marked the checklist item Conforms to the code review guidelines as completed

  • Zach Rice marked the checklist item Conforms to the Go guidelines as completed

    marked the checklist item Conforms to the Go guidelines as completed

  • Zach Rice marked the checklist item Security reports checked/validated by reviewer as completed

    marked the checklist item Security reports checked/validated by reviewer as completed

  • Zach Rice approved this merge request

    approved this merge request

  • Zach Rice resolved all threads

    resolved all threads

  • Zach Rice mentioned in commit fbf9c96d

    mentioned in commit fbf9c96d

  • merged

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading