Commit 08cd9100 authored by Fabien Catteau's avatar Fabien Catteau

Propagate excluded paths to SAST & DS jobs

Propagate DS_EXCLUDED_PATHS to dependency_scanning job,
and SAST_EXCLUDED_PATHS and SAST_BANDIT_EXCLUDED_PATHS to sast job.
This makes possible to exclude certains paths from SAST reports
and Dependency Scanning reports, respectively.
Add excluded paths to manual job def of SAST & DS
parent 7cfe6783
...@@ -201,6 +201,7 @@ dependency_scanning: ...@@ -201,6 +201,7 @@ dependency_scanning:
--env DS_ANALYZER_IMAGE_PREFIX \ --env DS_ANALYZER_IMAGE_PREFIX \
--env DS_ANALYZER_IMAGE_TAG \ --env DS_ANALYZER_IMAGE_TAG \
--env DS_DEFAULT_ANALYZERS \ --env DS_DEFAULT_ANALYZERS \
--env DS_EXCLUDED_PATHS \
--env DEP_SCAN_DISABLE_REMOTE_CHECKS \ --env DEP_SCAN_DISABLE_REMOTE_CHECKS \
--env DS_DOCKER_CLIENT_NEGOTIATION_TIMEOUT \ --env DS_DOCKER_CLIENT_NEGOTIATION_TIMEOUT \
--env DS_PULL_ANALYZER_IMAGE_TIMEOUT \ --env DS_PULL_ANALYZER_IMAGE_TIMEOUT \
......
...@@ -171,6 +171,8 @@ sast: ...@@ -171,6 +171,8 @@ sast:
--env SAST_ANALYZER_IMAGE_PREFIX \ --env SAST_ANALYZER_IMAGE_PREFIX \
--env SAST_ANALYZER_IMAGE_TAG \ --env SAST_ANALYZER_IMAGE_TAG \
--env SAST_DEFAULT_ANALYZERS \ --env SAST_DEFAULT_ANALYZERS \
--env SAST_EXCLUDED_PATHS \
--env SAST_BANDIT_EXCLUDED_PATHS \
--env SAST_BRAKEMAN_LEVEL \ --env SAST_BRAKEMAN_LEVEL \
--env SAST_GOSEC_LEVEL \ --env SAST_GOSEC_LEVEL \
--env SAST_FLAWFINDER_LEVEL \ --env SAST_FLAWFINDER_LEVEL \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment