Configuring the Qualys Scanner Connector
As an administrator, you can configure different types of scanners to scan security risks and vulnerabilities across your IT infrastructure.
Qualys is a comprehensive vulnerability management solution that provides complete visibility of the security risks across your IT infrastructure. With this integration, you can retrieve the vulnerability scan results from multiple Qualys instances and process the vulnerabilities to map the remediation content. You can then create operations to remediate vulnerabilities.
After you configure and run this connector, the scan files that contains the Qualys assets and vulnerabilities are automatically imported into Automation Console.
Before you begin
Make sure that the following prerequisites are met:
- One or more configured Qualys instances are running in your environment.
- Install and run the connector on Windows or Linux operating systems based on the following criteria:
Port requirements:
Port
Protocol
From
To
Inbound / Outbound
443 OR <Customer configured port>
HTTPS
Connector
Qualys Server
Outbound
443
HTTPS
Qualys Server
Connector
Inbound
To configure the Qualys scanner connector
After you install TrueSight Automation Console, the Qualys connector is available for configuration in the Scanner Connectors widget.
- From the TrueSight Automation Console, login as an administrative user.
- From Briefcase
click Connectors.
- On the Manage Connectors page, select the
option against the Scanner Connector widget and select Edit > Add Configuration.
- On the Add configuration page, provide the following details:
- In the Vendor field, select Qualys from the list.
- In the Connector details section, provide the following information:
- In the Configuration Name field, specify a unique name which is assigned to the scan files imported into Automation Console.
- (Optional) In the Configuration Description field, provide a description of the connector.
In the Admin Security Group field, specify one or more admin security groups (comma separated list) that can access the scan results.
If you do not specify a security group, all the admin security groups can access the scan files that are imported from Qualys.
- In the Connector Configuration section, perform the following steps:
- In the Endpoint URL field, specify the URL to connect to Qualys.
In the Fetch Data From field, specify the number of days for which you want to fetch the scan results.
- In the Authentication Details section, perform the following steps:
- Enter the User Name set for your account with Qualys.
- Enter the Password set for your account with Qualys.
- In the Filters section, provide values to fetch the specific scanned data:
- Select the required Severity levels.
- To fetch more precise data, enter the Network IP and IP range as comma separated values.
In the Additional Filters field, specify the filters supported by Qualys to fetch further detailed scanned data.
For the list of Qualys custom filters, refer the Host List Detection section in the Qualys API User Guide.
- In the Auto-close vulnerabilities section, select the Enable Auto-close check box to enable the system to automatically close vulnerabilities that were fixed in the previous scan and are no longer present in the subsequent scan.
- Click Save.
The newly added configuration is listed in the Configurations table. - Repeat steps 3 to 5 to have multiple configurations of the Qualys instance, with different filters specified for each configuration.
- On the Manage Connectors page, in the Configuration Schedule section, specify a frequency at which you want to run the connector, and save the schedule.
- Click Continue and download the connector zip file on a local host.
On the server where the connector file is downloaded and extracted, go to the connector location, and run the following command to install and start the connector:
- Windows: run.bat
- Linux: run.sh
The connector starts running successfully. You can view the connector status on the Connectors page.
Vulnerability scan files are created with the specified configuration names. Automation Console processes each configuration sequentially.
To update the connector
- On the Manage Connectors page, click the
option against the Scanner Connector widget, and click Disable.
- Click Edit.
The available configurations are displayed. To quickly locate the required configuration, search or sort the configurations by the various columns, such as Status and Vendor. - Click Save.
To enable debug mode
- Press CTRL+C twice to stop the connector, if its already running.
Navigate to <ConnectorLocation>/config, open the application.properties file, add the following parameter, and set it to debug:
#
#Logging related Properties
logging.level.com.bmc.truesight.scannerconnector=debug- Save the file.
- Restart the connector.