question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please provide a "owasp/dependency-check-daily" docker image with full database

See original GitHub issue

Is your feature request related to a problem? Please describe.

Currently, all my Java projects run Dependency-Check as Gradle plugin and maintain their own local CVE database in the build cache folder. If that folder gets deleted, e.g. because the build fails for some reason it has to rebuild which takes long. It also takes a lot of disk space which sometimes leads to failing builds as well.

Describe the solution you’d like

It would be more convenient if I could just run a “owasp/dependency-check-daily:latest” Docker image that scans the project source with an already included CVE database that is max one day old without having to download and parse every CVE myself. And also without having to add yet another plugin to my build scripts.

A daily build of that Docker image with the latest CVE data is probably ok for most people.

Describe alternatives you’ve considered A clear and concise description of any alternative solutions or features you’ve considered.

Additional context

There is a Docker image https://hub.docker.com/r/daniiiol/dependency-check-prepared which claims to be based on your image and has just added RUN /usr/share/dependency-check/bin/dependency-check.sh --project WarmUp --out /report/ --scan ..

That already sounds like the perfect solution but I’m probably not the only one who’s not comfortable with scanning my source code by some random guys docker image so I’d prefer if the image would be provided by OWASP or at least the author of the scanner.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jeremylongcommented, Apr 22, 2022

The following would copy the current data from the docker image.

id=$(docker create owasp/dependency-check-action:latest)       
docker cp $id:/usr/share/dependency-check/data ./data    
docker rm -v $id
0reactions
rjacobs91commented, Apr 21, 2022

That was my intention yes. Or copy to another build image for pipelines

Would be good to know what command to use to do this though

Read more comments on GitHub >

github_iconTop Results From Across the Web

Explore Docker's Container Image Repository - Docker Hub
A minimal Docker image based on Alpine Linux with a complete package ... The PostgreSQL object-relational database system provides reliability and data ...
Read more >
mysql - Official Image - Docker Hub
MySQL is a widely used, open-source relational database management system (RDBMS). ... command line will give you a bash shell inside your mysql...
Read more >
couchdb - Official Image - Docker Hub
CouchDB is a database that uses JSON for documents, an HTTP API, & JavaScript/declarative indexing.
Read more >
docker images - Docker Documentation
The docker images command takes an optional [REPOSITORY[:TAG]] argument that restricts the list to images that match the argument. If you specify REPOSITORY...
Read more >
Multi container apps - Docker Documentation
You don't want to ship your database engine with your app then. Running multiple processes will ... So, how do we allow one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found