Skip to content

Commit

Permalink
Refactor mobsf parser for v4 reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Maryushkin committed Oct 13, 2024
1 parent 45c33c3 commit 6a8201d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/tools/mobsf/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_findings(self, filename, test):
if finding_severity in data.get("appsec",{}):

Check failure on line 71 in dojo/tools/mobsf/parser.py

View workflow job for this annotation

GitHub Actions / ruff-linting

Ruff (E231)

dojo/tools/mobsf/parser.py:71:53: E231 Missing whitespace after ','
for mobsf_finding in data["appsec"][finding_severity]:

unique_key = f"{finding_severity} - {mobsf_finding["section"]} - {mobsf_finding["title"]} - {mobsf_finding["description"]}"
unique_key = finding_severity + mobsf_finding["section"] + mobsf_finding["title"] + mobsf_finding["description"]

finding = Finding(
title=mobsf_finding["title"],
Expand Down

0 comments on commit 6a8201d

Please sign in to comment.