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 132ec4d commit 7b33df5
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 @@ -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:
Expand Down

0 comments on commit 7b33df5

Please sign in to comment.