How to write Groovy OR XML asset tag script to TAG asset that have been scanned within "X" day in "Y" asset group and have QID "Z" in vulnerability?
I would like to make a dynamic tag rule for the below conditions
- search asset with QID "Z" (or multiple value)
- asset should be in "Y" asset group
- asset should be scanned within "X" days
- and TAG the assets