Skip to content

Match Python advisories found in multiple subdirs

Oscar Tovar requested to merge otovar/fix-python-advisory-matching into master

What does this MR do?

It's possible that GLAD might accept a Python advisory that doesn't follow a normalized name. Previously, this caused the analyzer to error out early because it could introduce duplicate vulnerabilities in the final security report. While possible, it's not certain that this duplication will happen, so we now search all returned directories and deduplicate the entries. This ensures that we handle both corner cases.

What are the relevant issue numbers?

Relates to gitlab-org/gitlab#33341 (closed)

Does this MR meet the acceptance criteria?

Merge request reports