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

Added logic accepted/know issues during oid validation

parent 7fe39ecc
No related branches found
No related tags found
1 merge request!146Debug paas ci
...@@ -467,6 +467,7 @@ class Task: ...@@ -467,6 +467,7 @@ class Task:
if s >= 4: # If severity is not negligible if s >= 4: # If severity is not negligible
if o in accepted_issues: if o in accepted_issues:
msg += " => ACCEPTED" msg += " => ACCEPTED"
logging.debug(msg)
else: else:
if o in known_issues: if o in known_issues:
msg += " => DROPPED (not accepted but known)" msg += " => DROPPED (not accepted but known)"
...@@ -474,7 +475,7 @@ class Task: ...@@ -474,7 +475,7 @@ class Task:
continue continue
else: else:
msg += " => NEW (not accepted and not known)" msg += " => NEW (not accepted and not known)"
logging.debug(msg) logging.debug(msg)
if p in report: if p in report:
if s > report[p]['severity']: if s > report[p]['severity']:
report[p] = {'severity': s, 'threat': t} report[p] = {'severity': s, 'threat': t}
......
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