Configure Qualys CVR Credentials

Perform the following steps to configure the credentials:

  1. Go to Qualys CVR Integration to begin configuring the application.
  2. Select Credentials.
  3. On the Qualys CVR Instance Configuration page, enter the following details:
    1. Qualys API Server URL: Enter the API Server URL as per your subscription. 

      The Qualys API URL you should use for API requests depends on the Qualys platform where your account is located. 
      To learn more about the Qualys API URL, refer to Identify your Qualys platform.

    2. MID Server—The MID server can work as a proxy server or middleman between ServiceNow and Qualys pod, limiting the ServiceNow instance's reachability to outside sources.

    3. The Qualys application supports two authentication methods for connecting to your Qualys account:

      You can choose either method based on your organization’s security policies and access setup.

      Configure OIDC Authentication

      Use this method if your Qualys environment is configured for OpenID Connect with Client ID and Client Secret.
      credentials_o_auth.

      Provide the details in the following required fields:

      1. Client ID

        Enter the Client ID received from your Qualys OIDC configuration.

      2. Client Secret

        Enter the corresponding Client Secret. 

      Basic Authentication

      Use this method if your Qualys setup uses a standard Username and Password.
      credentials_basic.

      Provide details in the following required fields:

      1. Username

        Enter Qualys username used for API access.

      2. Password

        Enter password for the above username.

    4. Image Filter – Image Integration 

      If you want to pull all the images, you can configure this filter. For more details, see Pull All Available Images.

      Enter any filter expression to limit image data ingestion.

      To further refine the image data, provide a query in the filter. By default, the Image filter in the Image Vulnerability Integration does not have any filters applied. The lastVmScanDate is utilized in the Bulk Image API call to fetch the data.

      Provide the filters in the form of QQL that are used on the Qualys Platform UI.

      Refer to the example given in the following image. 

      Click  the symbol to see how to provide the query for data searching.

    5. Image Filter – Container Integration

      If you want to pull only in use images, you can configure this filter. For more details, see Pull Only In-use Images.

      By default, no filter is applied in the Image Filter section of the Container Vulnerability Integration. However, the 'ImageInUse' parameter is used in the Bulk Image API call to retrieve the data. You can optionally provide a query in the filter to refine the image data further.

      Refer to the example given in the following image. 

      Click  the symbol to see how to provide the query for data searching.

    6. Image API Page Size: Enter the number of image records to retrieve per API call. By default, it is set to 50.

    7. Container API Page Size: Enter the number of container records to retrieve per API call. By default, it is set to 50.

    8. KB API Page Size: Enter the number of Knowledge Base records to retrieve per API call. By default, it is set to 100.

      The API page size value is set to '50' by default. 
      This is the optional configuration; you can alter the API Page Size as per requirement.
      For example, if the total result set has 1000 images and the API page size is 100, the result is divided into ten pages, with 100 images on each page.

  4. Click Save and Test Credentials to test the connection between ServiceNow and Qualys Container Security module.

A success message is displayed when the connection is tested successfully.

Next Step

Qualys Container Vulnerability Response Integrations