Skip to content
Snippets Groups Projects
Commit adc46e06 authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

New oids classification

parent 4e5f1a88
No related branches found
No related tags found
1 merge request!151Debug paas ci
......@@ -661,6 +661,7 @@ class ReportManager():
def update_summary(self,host, r: ResultReport) -> None:
# Evaluate max port severity per host
print(self.report[host].keys())
if r.port not in self.report[host] or \
r.severity > self.report[r.port][self.REPORT_SEVERITY]:
self.report[host][r.port] = {self.REPORT_SEVERITY: r.severity,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment