Hi,
I use python-gvm for starting tasks / getting reports over the API.
To get a report, I use the get_reports call with the respective report_id.
To get the report_id of the latest report of a task, I use the get_tasks command and filter out the entry of the FIRST_REPORT tag in the XML response.
Now I read that the FIRST_REPORT and SECOND_LAST_REPORT tags are deprecated soon and the get_reports function with a suitable filter shall be used instead.
My question is: how should this filter look like, to become the latest report from a task? I didn’t see any possiblity in the GMP API documentation.
Regards,
Fab