lunasec-io / lunasec

LunaSec - Dependency Security Scanner that automatically notifies you about vulnerabilities like Log4Shell or node-ipc in your Pull Requests and Builds. Protect yourself in 30 seconds with the LunaTrace GitHub App: https://github.com/marketplace/lunatrace-by-lunasec/
https://www.lunasec.io/
Other
1.44k stars 164 forks source link

Add EPSS Ingestor command to ingest-worker #1070

Closed freeqaz closed 1 year ago

freeqaz commented 1 year ago

Detailed Summary:

(Thank ChatGPT for the git commit message lol)

The SQL I wrote is the fastest that I could figure out. The first implementation took >10 minutes and this one takes about 30 seconds now.

It turns out that query for the IDs ahead of time and then running an "UPDATE" for that is the fastest way. (worth noting)

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

:white_check_mark: breadchris
:white_check_mark: freeqaz
:x: github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.