AnsweredAssumed Answered

Debugging Groovy Script

Question asked by raptor_bunny on Sep 17, 2018
Latest reply on Sep 17, 2018 by Busby


Is there a way that I can use the API to return either for a particular asset or all assets the contents of variables mentioned within a Groovy Script. E.g



if(asset.getAssetType()!=Asset.AssetType.HOST) return false;
host_scan_time=host_scan_time.substring(15,host_scan_time.indexOf(' Seconds'));




I would like to see the raw data for the variable host_scan_time.


The end goal will be to use the output as part of a Groovy Script within the Qualys Interface.