Files
KNELCompliance/openvas/scan-pipeline/check_scan.gmp
T
mrcharles f1a423c2b8
ci / audit (push) Successful in 24s
[#389] first discovery scan COMPLETE: 21 findings on sectestbed 5104 — GMP scan pipeline committed
GLPI target → Discovery config → OpenVAS scanner → report
c3294575-3db4-4ad1-8e50-3ca6d23fb137 (18 info, 1 low ICMP-timestamp,
2 unscored). VM shut back down. Pipeline scripts in openvas/scan-pipeline/.
https://projects.knownelement.com/issues/389
2026-09-05 16:04:50 -05:00

8 lines
359 B
Plaintext

from lxml import etree
t = etree.fromstring(gmp.send_command('<get_tasks filter="rows=-1"/>').encode())
for task in t.findall('.//task'):
if 'first-discovery' in (task.findtext('name') or ''):
print('id=' + task.get('id'))
print('status=' + (task.findtext('status') or '?'))
print('progress=' + (task.findtext('progress') or '?'))