From 7eda867dbe347d012e47c2e5950fe1fa64988d91 Mon Sep 17 00:00:00 2001 From: testaccount90009 <122134756+testaccount90009@users.noreply.github.com> Date: Fri, 20 Dec 2024 22:16:30 -0800 Subject: [PATCH] Update parser.py --- dojo/tools/mend/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dojo/tools/mend/parser.py b/dojo/tools/mend/parser.py index fa39f6f0cf..d10ace729d 100644 --- a/dojo/tools/mend/parser.py +++ b/dojo/tools/mend/parser.py @@ -40,7 +40,7 @@ def _build_common_output(node, lib_name=None): cvss3_score = None mitigation = "N/A" locations = [] - if "component" in node and if finding_info.get("status") == "ACTIVE": + if "component" in node and finding_info.get("status") == "ACTIVE": description = ( "**Vulnerability Description**: " + node["vulnerability"].get("description", "No Description Available")