This community has been epic in helping me! Thank you. I hope I can get another assist.
I have read through the documentation, played with my GMP scripting but am still unable to get the option set in a task for it to automatically delete old reports via GMP Scripting. I would like to set it up so there are only 2 reports on the device at any time.
Is there an undocumented way to do this or am I missing it?
I recently wrote some code in order to automate stuff on our GSM-CENO-Appliance. Defining the amount of old reports to be kept was one thing I struggled to achieve, too.
While using python-gvm, I was able to solve it like this:
It would be nice, if the documentation would be clearer regarding such details, e.g. I wasn’t able to find a list of valid key value pairs for the preferences parameter, so I had to look them up via exported task XML files.