From 5f27acfa4f16b7dca5427593b28d1d7d748b8602 Mon Sep 17 00:00:00 2001
From: Gioacchino Vino <gioacchino.vino@infn.it>
Date: Mon, 29 Apr 2024 13:52:23 +0200
Subject: [PATCH] Added logic accepted/know issues during oid validation

---
 files/gvm_library.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files/gvm_library.py b/files/gvm_library.py
index 816c345..a85ef8c 100644
--- a/files/gvm_library.py
+++ b/files/gvm_library.py
@@ -463,7 +463,7 @@ class Task:
         glob_severity = -1 # severities are not negative
         glob_threat = 'None'
         for o, s, t, p in zip(o_ids, severities, treats, ports):
-            msg = f"Detected oid: {o}, severity: {s}, threat: {t} and port: {p} => "
+            msg = f"Detected oid: {o}, severity: {s}, threat: {t} and port: {p}\t=> "
             if s >= 4: # If severity is not negligible
                 if o in accepted_issues:
                     msg += "ACCEPTED"
-- 
GitLab