From 84238ea1e93e1a47cd993acae7639edb6e7ac9e0 Mon Sep 17 00:00:00 2001
From: Gioacchino Vino <gioacchino.vino@infn.it>
Date: Mon, 29 Apr 2024 13:43:54 +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 40a1669..9a09240 100644
--- a/files/gvm_library.py
+++ b/files/gvm_library.py
@@ -465,7 +465,7 @@ class Task:
         for o, s, t, p in zip(o_ids, severities, treats, ports):
             logging.debug(f"Detected oid: {o}, severity: {s}, threat: {t} and port: {p}")
             
-            if s >= 4:
+            if s >= 4: # If severity is not negligible
                 if o in accepted_issues:
                     logging.debug(f"Oid {o} ACCEPTED")
                 else:
-- 
GitLab