Skip to content

Modify Gitlab Importer to support package-first mode #1910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

michaelehab
Copy link
Collaborator

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.
  • Modify Gitlab Importer to support package-first mode when a PURL is provided in the constructor.
  • Update Gitlab Importer tests to test package-first mode.

* Separate Gitlab API handling logic from vulntotal Gitlab datasource to utils file

Signed-off-by: Michael Ehab Mikhail <[email protected]>
* Use the GitLab API utils from vulntotal to support package-first mode.

Signed-off-by: Michael Ehab Mikhail <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Modify the GitLab importer to support package-first mode
1 participant