diff --git a/py/plugins/snyk.py b/py/plugins/snyk.py index 517d6a6..a47f927 100644 --- a/py/plugins/snyk.py +++ b/py/plugins/snyk.py @@ -33,7 +33,7 @@ SNYK_LOG = "/builddir/snyk-scan.log" -FILTER_CMD = f"csgrep '%s' --mode=json --prepend-path-prefix={SNYK_SCAN_DIR}/ > '%s'" +FILTER_CMD = f"csgrep '%s' --mode=json --prepend-path-prefix={SNYK_SCAN_DIR}/ --remove-duplicates > '%s'" # default value for the maximum amount of time taken by invocation of Snyk (5 hours) DEFAULT_SNYK_TIMEOUT = 18000