Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
testaccount90009 committed Nov 14, 2024
1 parent f137019 commit c9477f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/tools/mend/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _build_common_output(node, lib_name=None):
component_version = node["component"].get("version")
impact = node["component"].get("dependencyType")
else:
description = node["vulnerability"].get("description", "Unknown")
description = node.get("vulnerability", {}).get("description", "Unknown")

if "library" in node:
node.get("project")
Expand Down

0 comments on commit c9477f9

Please sign in to comment.