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

Added logic accepted/know issues during oid validation

parent cf3594f4
No related branches found
No related tags found
1 merge request!144Debug paas ci
......@@ -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 (o not in accepted_issues) and (o in known_issues):
logging.debug(f"Dropped issue {o}")
logging.debug(f"Oid {o}, not accepted but known")
continue
if p in report:
if s > report[p]['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