Skip to content

Commit 5c35342

Browse files
committed
Update OSV parse_advisory_data_v2
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 0e1cc31 commit 5c35342

File tree

1 file changed

+1
-1
lines changed
  • vulnerabilities/importers

1 file changed

+1
-1
lines changed

vulnerabilities/importers/osv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def parse_advisory_data_v2(
168168
logger.error(f"Unsupported package type: {purl!r} in OSV: {advisory_id!r}")
169169
continue
170170

171-
if fixed_version_range or affected_version_range:
171+
if fixed_version_range or affected_version_range or fixed_by_commits or affected_by_commits:
172172
affected_packages.append(
173173
AffectedPackageV2(
174174
package=purl,

0 commit comments

Comments
 (0)