From 577e1f311b1ac5f8f7fd715d7140b0c6177d7f58 Mon Sep 17 00:00:00 2001 From: Manuel Sommer Date: Sun, 11 Feb 2024 20:41:40 +0100 Subject: [PATCH] add warning --- dojo/tools/mobsf/parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dojo/tools/mobsf/parser.py b/dojo/tools/mobsf/parser.py index 1027c03febb..c5241172e39 100644 --- a/dojo/tools/mobsf/parser.py +++ b/dojo/tools/mobsf/parser.py @@ -374,6 +374,8 @@ def getCriticalityRating(self, rating): criticality = "Info" if rating == "Good": criticality = "Info" + if rating == "Warning": + criticality = "Low" else: criticality = rating.capitalize() return criticality