diff --git a/dojo/tools/checkmarx_cxflow_sast/parser.py b/dojo/tools/checkmarx_cxflow_sast/parser.py index 29283c89332..292bbfc7c5c 100644 --- a/dojo/tools/checkmarx_cxflow_sast/parser.py +++ b/dojo/tools/checkmarx_cxflow_sast/parser.py @@ -95,7 +95,7 @@ def _get_findings_json(self, file, test): map_paths[str(path.source.line)] = path - for detail_key in issue.get("details").keys(): + for detail_key in issue.get("details"): if detail_key not in map_paths: logger.warning(f"{detail_key} not found in path, ignore") else: