Skip to content

Commit

Permalink
Update parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
testaccount90009 committed May 13, 2024
1 parent 0c4f15e commit 67c50ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dojo/tools/asff/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ def get_findings(self, file, test):
else:
active = False
if item.get("Resources"):
description = f"This is an AWS Security Finding\n"item.get("Description")
description += f"\nAssociated ResourceId: "item.get("Resources").get("Id")
description = f"This is an AWS Security Finding\n"item.get("Description")"\nAssociated ResourceId: "item.get("Resources").get("Id")
else:
description = item.get("Description")

Expand Down

0 comments on commit 67c50ad

Please sign in to comment.