Configuring the Tenable.sc connector
As an administrator, you can configure the Tenable.sc connector to integrate Automation Console with Tenable.sc. Tenable.sc is a comprehensive vulnerability management solution that provides complete visibility of the security risks across your IT infrastructure. With this integration, Automation Console can retrieve the vulnerability scan results from multiple Tenable.sc 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 containing the Tenable.sc assets and vulnerabilities are automatically imported into Automation Console.
Before you begin
Make sure that the following prerequisites are met:
- One or more configured Tenable.sc instances are running in your environment.
The API keys are generated for your user account in Tenable.sc. The connector uses these keys to authenticate Tenable.sc APIs. For more information, see Generate API keys.
- Before running the connector, ensure that the connector is installed and run on Windows or Linux operating systems that match the following criteria:
- AdoptOpenJDK Runtime Environment 18.9 (build 11.0.7+10) is installed on the connector host.
Port requirements as below -
Port
Protocol
From
To
Inbound / Outbound
443
HTTPS
Connector
Tenable.sc Server and Internet
Outbound
443
HTTPS
Tenable.sc Server
Connector
Inbound
Configuring the connector
After you install TrueSight Automation Console, the Tenable.sc connector is available for configuration on the Connectors page.
To configure the connector, do the following:
- Log on to TrueSight Automation Console as an administrative user.
- Select the
briefcase menu at the top right and click Connectors.
- On the Manage Connectors page, click the
option against the Tenable.sc Connector and click Edit > Add Configuration.
- On the Add configuration page, provide the following details:
- In the Connector details section, specify a unique name and an optional description for configuration.
- In the Tenable Configuration section, do the following:
- In the Endpoint URL field, specify the URL to connect to Tenable.sc.
(optional) In the Admin Security Group field, specify one or more admin security groups (comma separated list) that can access the scan results.
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, specify the access and secret keys to authenticate with the Tenable.sc API.
In the Tenable Query ID field, provide the ID that you generated in the Tenable scanner to filter data. You can also specify the Tenable queries along with the ID (comma separated values). For example, the query Type = Vulnerability and Tool = Vulnerability List. We recommend creating a separate configuration for each query ID.
For more information, see Queries.(optional) If the Tenable.sc server is configured to use the SSL certificate authentication, provide the certificate name (.pfx only) and the certificate export password in the Client Certificate Authentication Details section.
Ensure that the certificate is present at the following location that is created after installing or upgrading to Automation Console 22.2:<TSAC_installation_directory>/application/common/certs/tenableThe connector checks this location for the certificate while communicating with the Tenable.sc server.
- Save the changes.
The newly added configuration is listed in the Configurations table. - If you have multiple Tenable scanners in your environment, repeat steps 3 to 7. On the Manage Connectors page, the connector status is displayed as running after you enable it.
In the Configuration Schedule section, specify a frequency at which you want to run the connector, and save the schedule.
Vulnerability scan files are created with the specified configuration names. Automation Console processes each configuration sequentially.
Updating the connector
To make changes to the connector, do the following:
- On the Manage Connectors page, click the
option against the Tenable.sc connector and click Disable.
- Click Edit. The available Tenable.sc configurations are displayed. To quickly locate the required configuration, use search or sort the configurations by the various columns, such as Status and Queryid.
- Make the changes based on your requirement and click Save.
Enabling debug mode
BMC recommends that you do not modify any other configuration files available in the /config directory. However, you can enable the debug mode on the connector to obtain detailed logging information.
Do this:
- Press CTRL+C twice to stop the connector, if its already running
Go to <ConnectorLocation>/config, open the application.properties file, add the following parameter and set it to debug, save the file
#
#Logging related Properties
logging.level.com.bmc.truesight.tenableconnector=debug- Restart the connector.
Troubleshooting
If you encounter any issues while fetching data from Tenable.sc, the Connector tile on the Manage Connectors page shows the name of the configuration with error and the related exceptions are logged in the log file. For the troubleshooting the issues, see Working-with-logs and Troubleshooting-connectors.