DependencyCheck
DependencyCheck copied to clipboard
Highlighting findings that are not related(or related) to Dev dependencies
We want to prioritize the findings from the report. I have question:
-
Are findings in the report highlighted from DevDependencies when scanning package-lock.json? We wanted to prioritize the findings based on whether the package was in development or not. When run with --nodeAuditSkipDevDependencies and --nodePackageSkipDevDependencies, packages from development are ignored, but this is not highlighted in the report.
-
And one more question: usually developers transfer only package.json and package-lock.json to repositories. When we scan only them, the results have not a lot findings. If you do npm install then node_modules will be created, and the report will have a lot of findings. Please tell me, is it necessary to always run npm install before running ODC?