Hello all,
There is a script addassetip.pl to add IPs to the Qualys subscription based on the .csv and it's working great.
QUESTION:
If I would like to add IPs to a specific assetgroup, does anyone have a PERL script to do that?
I noticed a script for that purpose but it's written in Python and the other script I found is giving me some issues with lxml / windows DLLs.
So there should be a simple Perl script to read the IP addresses from the CSV and then add it the assetgroup. A perl script using asset_group.pl should do the trick.
Any help or reference would be great. Working with Strawberry Perl on Windows is always a challenge.
Thanks
I have some extensions to the CPAN qualysguard modules that can be used to add IPs to an asset group. check out the developer section or search for documents (zip) by my profile. I use this in our new asset process which adds the IP to the group for a PC policy subscription. If Strawberry perl doesnt have the QG module, try active state perl. Ive had no problems with it on Windows 7 and use it for dev prior to moving to our linux server for the test/prod system.
Mike