Generate delta report from python

Hi all,
The goal I want to achieve is generate delta reports from pythone code.

The case is the following:
I have two or more tasks (with the same task id) and, from a python script, I would like to create delta report (with closed vulnerabilities) and then download the xml file.

At the moment, I already download the xml report but I need the delta report.

Is there a way to do this thing with python?
I searched in GitHub - greenbone/gvm-tools: Remote control your Greenbone Community Edition or Greenbone Enterprise Appliance but I didn’t find anything.

Could someone help me? Thank you very much!

Hi,

All you need is here:

https://docs.greenbone.net/API/GMP/gmp-22.5.html

Check for the delta state … i think you need to extend the GMP function in python first.

Hi,

take a look at the API docs of python-gvm for the get_report method GMP v22.5 - python-gvm. it supports a delta_report_id keyword argument.

thanks for the timely replies. the point is that i want to create the delta reports from the script.
Example: i have two scans (in Done state) and from them i want to create the delta report from python.
Can this be done?
thanks