Skip to content

Commit

Permalink
ruff, W293
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sommer committed Apr 12, 2024
1 parent e0b92ce commit db9e632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/tools/awssecurityhub/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_label_for_scan_types(self, scan_type):

def get_description_for_scan_types(self, scan_type):
return "AWS Security Hub exports in JSON format."

def get_tests(self, scan_type, scan):
data = json.load(scan)
findings = data.get("Findings", data.get("findings", None))
Expand Down

0 comments on commit db9e632

Please sign in to comment.