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

Managed Failed scan tasks

parent d2dcd81c
No related branches found
No related tags found
1 merge request!124Managed Failed scan tasks
......@@ -100,7 +100,7 @@ for host,ports in endpoints.items():
filename = f"{report_filename}.txt")
reports[host] = task.get_report_info(issues_to_drop)
else:
reports[host] = f"ERROR Task: {task.id}"
reports[host] = {'global': {"severity": -1, "threat": f"Scan Error. task.id: {task.id}"} }
del task
del target
......
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