Brandon Reeves

API - Report Purge script (Fully Commented)

Discussion created by Brandon Reeves on Jun 14, 2011
Latest reply on Aug 27, 2013 by Parag Baxi

We have been creating API scripts to fully automate the Qualys experience. I will be posting them as time permits.


This script was meant to address an issue we come across occasionally as we meet our 500 MB size limit. It is shell script only and fully commented. You can modify the script to your liking or timeframe to purge reports based on a single time variable that needs to be changed.


We keep only 2 days worth of reports in qualys so the variable for us is 2 (therefore ttl=2) see script for more information.


You may also feel free to contact me if you need help.