opencve icon indicating copy to clipboard operation
opencve copied to clipboard

Give opencve the capability to run a 'ondemand' import

Open SPoint42 opened this issue 4 years ago • 3 comments

OpenCVE update is great but sometime you could want to launch an import of the database manually. Give OpenCVE the capability to do a opencve update-cve for example

SPoint42 avatar Sep 03 '21 06:09 SPoint42

I don't understand what you mean by "launching an import of the database manually".

This is exactly the goal of the Celery tasks to automatically update the database, without having to worry about doing it manually.

Why do you want to do it manually? What is your usecase?

ncrocfer avatar Sep 03 '21 08:09 ncrocfer

Yes, but I stop the docker sometime and don't want to wait too much time for the celery to run. So If I could launch manually the import, this could be great

SPoint42 avatar Sep 20 '21 07:09 SPoint42

I'll add to this a bit of my experience.

One instance I am the administrator of has stopped importing CVEs for a while before I noticed (~2 weeks). After I noticed, I restarted it and everything seemed to be working and new CVEs were imported correctly. However, some CVEs from the 2 week gap were not imported and apart from full wipe and complete re-import, I have no way of importing the to the instance.

This would be of great help in such cases!

M0dEx avatar Nov 27 '21 17:11 M0dEx