vulnerablecode
vulnerablecode copied to clipboard
Add Gitlab Live V2 Importer
Solves #1903
- Extract Gitlab API handling code from vulntotal gitlab datasource into a utils file.
- Update vulntotal gitlab datasource to use the utils file.
- Update vulntotal gitlab datasource tests to reflect the changes.
- Add Gitlab Live V2 Importer.
- Add Gitlab Live V2 Importer tests to test package-first mode.
Make changes for this as well thanks! https://github.com/aboutcode-org/vulnerablecode/blob/main/vulnerabilities/pipelines/v2_importers/gitlab_importer.py
@TG1999 I modified the V2 importer as well