ziad hany
ziad hany
While I was trying to run importers using threads I couldn't notes any improvement ! https://stackoverflow.com/questions/31062124/multiple-db-inserts-with-django-performance-is-not-increased-by-parallel-threads

> This would need to be rebased... also you may want to remove the UI part to treat it separately as the UI has changed extensively! Also could we also...

Importing data using vulnerabilities.importers.gsd.GSDImporter JSONDecodeError('Expecting value: line 1 column 2 (char 1)') JSONDecodeError('Expecting value: line 1 column 1 (char 0)') JSONDecodeError('Expecting value: line 1 column 1 (char 0)') JSONDecodeError('Expecting value:...
``` ` in SQL comments. Only the formatting feature that removes comments from SQL statements is affected by this regular expression., provided: sqlparse is a non-validating SQL parser module for...
importer logs : ``` /home/ziad/Desktop/open_source/vulnerablecode/venv/bin/python /home/ziad/Desktop/open_source/vulnerablecode/manage.py import vulnerabilities.importers.fireeye.FireyeImporter Importing data using vulnerabilities.importers.fireeye.FireyeImporter MNDT-2021-0002.MD FEYE-2021_0008.MD MNDT-2021-0011.md FEYE-2021_0007.MD FEYE-2019-0010.md FEYE-2020-0020.md MNDT-2021-0009.md FEYE-2021-0015.md FEYE-2021-0019.md MNDT-2021-0012.md FEYE-2020-0008.md FEYE-2019-0006.md FEYE-2020-0013.md FEYE-2021_0004.MD MNDT-2021-0004.MD MNDT-2021-0006.MD FEYE-2021-0017.md FEYE-2019-0003.md...
CVSS calculation is quite complicated ,so we use a package called [cvss](https://pypi.org/project/cvss/). it supports cvss-v2 , cvss-v3, and they made a release for us. https://github.com/skontar/cvss/issues/33 Have a look at https://github.com/nexB/vulnerablecode/pull/747
LGTM , I tested it with my local database
