Powershell:API:Part 2

Document created by Busby on Mar 29, 2015Last modified by Keith Shaw on Apr 17, 2020
Version 3Show Document
  • View in full screen mode

In the previous post we got the Login/Logout to the Qualys cloud platform working. This is good work and introduces to some things in Powershell that should help later.


Next we will cover below actually launching a SCAN in the Qualys cloud platform from the command line along with some new options in Powershell such as parameters etc…


We will be passing in three parameters to Powershell:

  • Targetip – our TARGET to Scan
  • Requestor – an email address or other thing; I use this to send a PDF of the scans report to the original requestor
  • ScanProfile – Here we give a default and you will need to look up the profile ID for the scan profile you wish to use.  I suggest you have a list of valid ones so you can write a check for this.


As always use at your own risk but let me know if you have questions. I will work on the next version of this primarily on storing the information about the scan so that you can make a call to generate a report on the IP Address that was scanned.


All Questions are welcome as my documentation can be sparse.

1 person found this helpful