ci / audit (push) Successful in 24s
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
8 lines
359 B
Plaintext
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 '?'))
|