You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that most people want to reduce the runtime of their pipelines.
Because of that, I recently needed to search for a way to cache dependency-check CVE data (because it was most of the time of the dependency-check analysis, even for large repositories with many dependencies.)
I think that we need to add an "official" method on how to cache dependency-check data. For example, in my case, my dependency-check analysis passed from 2m19s of execution to 13s ... Which can be greatly appreciated for most users !
My solution
Here is the solution I found (I don't necessarily say that is the best way, just my way, can take advices here :)) :
We run a nightly job that runs this command and zips up the files in the data directory.
./dependency-check/bin/dependency-check.sh --updateonly
ls -la ./dependency-check/data
That zip file is pushed to a CDN that provides a fast download for the zip file.
Then, we use the following build task to pull the zip file and unpack it into the data directory before running the scan. The --noupdate arg tells the scan to skip downloading the latest data sets
Hello
I think that most people want to reduce the runtime of their pipelines.
Because of that, I recently needed to search for a way to cache dependency-check CVE data (because it was most of the time of the dependency-check analysis, even for large repositories with many dependencies.)
I think that we need to add an "official" method on how to cache dependency-check data. For example, in my case, my dependency-check analysis passed from 2m19s of execution to 13s ... Which can be greatly appreciated for most users !
My solution
Here is the solution I found (I don't necessarily say that is the best way, just my way, can take advices here :)) :
The text was updated successfully, but these errors were encountered: