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

Merge branch 'debug_paas_ci' into 'main'

Tuned threshold for report severity

See merge request !54
parents 6ecf22f8 2626e57b
No related branches found
No related tags found
1 merge request!54Tuned threshold for report severity
......@@ -386,7 +386,7 @@ def process_global_reports_info(reports):
glob_threat = reports[host]['global']['threat']
reports['deployment'] = {'severity': glob_severity,
'threat': glob_threat}
if reports['deployment']['severity'] < 2:
if reports['deployment']['severity'] < 4:
reports['global'] = "OK"
else:
reports['global'] = "NOK"
......@@ -507,4 +507,4 @@ for host,ports in endpoints.items():
reports = process_global_reports_info(reports)
with open(summary_filename, "w") as f:
f.write(json.dumps(reports))
\ No newline at end of file
f.write(json.dumps(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