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

Excluding not relevant issues

parent b42c3bc8
No related branches found
No related tags found
1 merge request!118Debug paas ci
......@@ -250,7 +250,7 @@ class Task:
oids = res.xpath('report/report/results/result/nvt/@oid')
sevs = res.xpath('report/report/results/result/nvt/severities/@score')
for oid, sev in zip(oids, sevs):
if float(sev) >= 4 and oid in issue_to_remove:
if float(sev) >= 0 and oid in issue_to_remove:
print(oid,sev,"REMOVED")
else:
print(oid,sev)
......
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