Skip to content

Filter report with new EXCLUDED_PATHS option

Fabien Catteau requested to merge ee-10030-excluded-paths into master

What does this MR do?

  • introduce a new EXCLUDED_PATHS environment variable
  • make this env var available in SAST & Dependency Scanning orchestrators as SAST_EXCLUDED_PATHS and DS_EXCLUDED_PATHS, respectively
  • also make this env var available in SAST & DS analyzers
  • filter reports and remove vulnerabilities that match the excluded paths

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/10030

Does this MR meet the acceptance criteria?

Edited by 🤖 GitLab Bot 🤖

Merge request reports