From 5a9f27956b8a1a29fec249665fbd6b2763e00f09 Mon Sep 17 00:00:00 2001 From: testaccount90009 <122134756+testaccount90009@users.noreply.github.com> Date: Thu, 14 Nov 2024 09:17:00 -0800 Subject: [PATCH] Update parser.py --- dojo/tools/mend/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dojo/tools/mend/parser.py b/dojo/tools/mend/parser.py index 41ff40c6377..9fdca7e8b90 100644 --- a/dojo/tools/mend/parser.py +++ b/dojo/tools/mend/parser.py @@ -65,7 +65,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", "") + description = node.get("description") if "library" in node: node.get("project")