From f2502014b4f6e2cb8b5369537cbea2759b4dd441 Mon Sep 17 00:00:00 2001 From: Cody Maffucci <46459665+Maffooch@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:05:54 -0600 Subject: [PATCH] Fix ruff --- dojo/tools/checkmarx_cxflow_sast/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dojo/tools/checkmarx_cxflow_sast/parser.py b/dojo/tools/checkmarx_cxflow_sast/parser.py index 29283c8933..292bbfc7c5 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: