Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Create a custom outbound REST message for Qualys

Log in to subscribe to topics and get notified when content changes.

Create a custom outbound REST message for Qualys

If needed, you can create your own outbound REST message to send to Qualys.

Before you begin

Role required: web_service_admin


  1. Navigate to Vulnerability > Vulnerability Scanning > Scanners.
  2. Locate and open the Qualys scanner.
  3. In the Scanner factory script, modify the parameter that is passed to QualysVulnerabilityScanner to the name of the REST message that you want to use.
    For example, if you created a REST message named MyQualys-REST, the field value is new sn_vul.QualysVulnerabilityScanner("MyQualys-REST").
    Note: The REST message passed to the Qualys vulnerability scanner must be available to the Vulnerability scope.
  4. Click Update.

What to do next

If you have more complex scanning requirements, but still want to use the existing scanner implementation, you can Configure the ServiceNow-initiated Qualys IP scan. For example, to change how the REST message is built and sent to Qualys, create a script include that extends QualysVulnerabilityScanner and provides a new implementation for the _buildScanRequest function.