gmp.delete_report() not work. Is there any dependent logic needed to be taken into consideration. ?
same situation got with “task” and “target”
>>> resp=gmp.get_reports()
>>> for report in resp.xpath('report'):
... print(report.xpath("@id")[0])
...
2a4d4f60-fa93-4fb8-8d6d-1eb580802795
ac53e5ee-d672-4769-a018-af0c358461e5
db127e2d-1853-42b5-8b61-651d88b19fe8
fb7f9838-836d-4a3d-a5b9-8a8853a4c29c
8b9dca4a-1070-433f-806f-8cff5c420b29
f1cd3364-cb3e-43d7-8adb-c181244cf99c
53eeef1e-9ad8-41be-8e67-7c71ce4f5919
efa6b1f4-de0e-4ad2-af0e-631627c9cce6
95ed582d-0807-41e0-a997-eb4fb8f7395d
39ae5549-fe4b-4d55-b2a6-5b354a880786
>>> for report in resp.xpath('report'):
... pretty_print(gmp.delete_report(report_id = report.xpath("@id")[0]))
...
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
<delete_report_response status="200" status_text="OK"/>
>>> resp=gmp.get_reports()
>>> for report in resp.xpath('report'):
... print(report.xpath("@id")[0])
...
d1c11e85-a939-447c-b79f-09594da629f6
236cfc5d-242a-46a2-b72a-2659a78b3af4
6bcea779-9071-46dd-921f-9df9072495fc
04ba2634-3642-4a6e-874e-71cec3ba0d0a
c4c83282-5e37-42ba-bc64-c0b3bc76c9a2
fc17a9b2-c4bd-4276-b616-13f2fc2f3173
82125520-7a09-4598-83da-8ddc39d0b0d1
f693634d-9b59-4999-9674-bbd38c781a4c
774fb65b-cc17-48b9-81a9-7d43b2f92436
c908a985-d756-4af2-8e34-0a78a0b1063a