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 6451542 commit 132ec4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo/tools/mend/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ def _build_common_output(node, lib_name=None):

elif "component" in content:
# likely a Mend Platform or 3.0 API SCA output - "library" is replaced as "component"
tree_node = content["response"]
for node in tree_node:
tree_node_platform = content["response"]
for node in tree_node_platform:
findings.append(_build_common_output(node))

def create_finding_key(f: Finding) -> str:
Expand Down

0 comments on commit 132ec4d

Please sign in to comment.