diff --git a/dojo/tools/asff/parser.py b/dojo/tools/asff/parser.py index a8df24d1348..74630290638 100644 --- a/dojo/tools/asff/parser.py +++ b/dojo/tools/asff/parser.py @@ -67,7 +67,7 @@ def get_findings(self, file, test): control_description = item.get("Description") if resource_arns: - resource_arn_strings = " + ".join(resource_arns) + resource_arn_strings = ", ".join(resource_arns) full_description = f"**AWS resource ARN:** {resource_arn_strings}\n\n{control_description}" else: full_description = control_description diff --git a/unittests/tools/test_asff_parser.py b/unittests/tools/test_asff_parser.py index 29c164b4e78..602bcda0138 100644 --- a/unittests/tools/test_asff_parser.py +++ b/unittests/tools/test_asff_parser.py @@ -19,7 +19,7 @@ def load_sample_json(self, file_name): def common_check_finding(self, finding, data, index, guarddutydate=False): parser = AsffParser() resource_arns = parser.get_item_resource_arns(data[index]) - resource_arn_strings = " + ".join(resource_arns) + resource_arn_strings = ", ".join(resource_arns) control_description = data[index].get("Description", "") full_description = f"**AWS resource ARN:** {resource_arn_strings}\n\n{control_description}" self.assertEqual(finding.title, data[index]["Title"])