From 964956b2bd7386bca88ae981a43271b162dc0bd0 Mon Sep 17 00:00:00 2001 From: Gioacchino Vino <gioacchino.vino@infn.it> Date: Wed, 8 May 2024 18:34:57 +0200 Subject: [PATCH] New oids classification --- files/gvm_library.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/gvm_library.py b/files/gvm_library.py index 6d072ef..aafb7b3 100644 --- a/files/gvm_library.py +++ b/files/gvm_library.py @@ -61,6 +61,11 @@ class ResultReport(): threat: str port: str + def __str__(self): + msg = f"{self.oid},{self.severity}," + msg += f"{self.threat},{self.port}" + return msg + class PortList: """ This class helps the managing of the GVM port_list object -- GitLab