Skip to content

Commit

Permalink
change how vulnerability description is retrieved
Browse files Browse the repository at this point in the history
  • Loading branch information
testaccount90009 committed Nov 14, 2024
1 parent 79d56b8 commit ee24c36
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 @@ -40,7 +40,7 @@ def _build_common_output(node, lib_name=None):
node["project"].get("name", "")
description = (
"**Vulnerability Description** : "
+ node["vulnerability"].get("description", "")
+ node.get("vulnerability", {}).get("description", "")
+ "\n\n"
+ "**Component Name** : "
+ node["component"].get("name", "")
Expand Down

0 comments on commit ee24c36

Please sign in to comment.