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

Reviewed code

parent 24039938
No related branches found
No related tags found
1 merge request!143Debug paas ci
......@@ -129,13 +129,16 @@ for host,ports in endpoints.items():
reports[host] = {'global': {"severity": -1, "threat": f"Scan Error. task.id: {task.id}"} }
for task in tasks:
gvm.get_client().delete_task(task.id)
del task
#gvm.get_client().delete_task(task.id)
for target in targets:
gvm.get_client().delete_target(target.id)
del target
#gvm.get_client().delete_target(target.id)
for port_list in port_lists:
gvm.get_client().delete_port_list(port_list.id)
del port_list
#gvm.get_client().delete_port_list(port_list.id)
reports = process_global_reports_info(reports)
logging.info(pretty_json(reports))
......
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