From 7b33df54d83b59c53d61e40073280aac35db5ae0 Mon Sep 17 00:00:00 2001 From: testaccount90009 <122134756+testaccount90009@users.noreply.github.com> Date: Thu, 14 Nov 2024 10:28:35 -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 ffec45a1f83..478aa3b812f 100644 --- a/dojo/tools/mend/parser.py +++ b/dojo/tools/mend/parser.py @@ -198,7 +198,7 @@ def _build_common_output(node, lib_name=None): for node in tree_node: findings.append(_build_common_output(node)) - elif "component" in content: + elif "response" in content: # likely a Mend Platform or 3.0 API SCA output - "library" is replaced as "component" tree_node_platform = content["response"] for node in tree_node_platform: