: Set up IoT Security and XSOAR for Rapid7 Integration
Focus
Focus

Set up IoT Security and XSOAR for Rapid7 Integration

Table of Contents

Set up IoT Security and XSOAR for Rapid7 Integration

Set up IoT Security and Cortex XSOAR to integrate with Rapid7 for vulnerability scanning.
To set up IoT Security to integrate through Cortex XSOAR with an on-premises Rapid7 management system, you must add a Cortex XSOAR engine to your network.
You must also configure the Rapid7 integration instance in XSOAR. To do this, you need the URL of your Rapid7 management system, the port number on which it listens for connection requests, and the username and password of the Rapid7 user account that the XSOAR will use when forming a secure connection with it.

Cortex XSOAR Engine Installation

When the Rapid7 management system is on premises, you must install a Cortex XSOAR engine to initiate connections to the Rapid7 management system and to the Cortex cloud. The XSOAR engine provides the means through which these two systems communicate with each other. Although it's possible to install an XSOAR engine on machines running Windows, macOS, and Linux operating systems, only an engine on a Linux machine supports IoT Security integrations. For more information about operating system and hardware requirements, see the Cortex Administrator’s Guide.
We recommend downloading the XSOAR engine using the shell installer script and installing it on a Linux machine. This simplifies the deployment by automatically installing all required dependencies and also enables remote engine upgrades.
When placing the XSOAR engine on your network, make sure it can form connections to your Rapid7 management system on the TCP port on which it’s listening for connection requests. The default port number is 3780.
The firewall must also allow the engine to form HTTPS connections on TCP port 443 to the Cortex cloud at https://<your-domain>.iot.demisto.live/. You can see the URL of your XSOAR instance when you log in to the IoT Security portal and click IntegrationsLaunch Cortex XSOAR. It’s visible in the address bar of the web page displaying the XSOAR interface.
To create an XSOAR engine, access the Cortex XSOAR interface (from the IoT Security portal, click IntegrationsLaunch Cortex XSOAR). Click SettingsEngines+ Create New Engine. Choose Shell as the type.
For installation instructions, see Install .
For help troubleshooting Cortex XSOAR engines, including installations, upgrades, connectivity, and permissions, see Troubleshoot and Troubleshoot Integrations Running on Engines.

Configure IoT Security and Cortex XSOAR

  1. Log in to IoT Security and from there access Rapid7 settings in Cortex XSOAR.
    1. Log in to IoT Security and then click Integrations.
      IoT Security uses Cortex XSOAR to integrate with Rapid7, and the settings you must configure to integrate with it are in the XSOAR interface.
    2. To access Rapid7 integration settings, click Launch Cortex XSOAR.
      The Cortex XSOAR interface opens in a new browser window.
    3. Click Settings in the left navigation menu, search for rapid7 to locate it among other instances.
  2. Edit the settings for PANW IoT 3rd Party Rapid7 Nexpose Integration Instance.
    1. Click the active integration instance settings icon (
      ) to open the settings panel.
    2. Enter the following settings and leave the others at their default values:
      Name: Use the default name of the integration instance.
      Do not change the default integration instance name. The XSOAR jobs that support vulnerability scans from the Device Details page in the IoT Security portal rely on XSOAR playbooks that refer to this integration instance name specifically.
      Server URL: Enter the URL of the Rapid7 management system you noted earlier and include the port on which it’s listening for connection requests. The default port number is 3780. For example: https://10.1.1.140:3780
      Username: Type the name of the Rapid7 user that you previously created.
      Password: Type the password associated with the Rapid7 user account.
      Run on Single engine: When the Rapid7 management system is on premises, choose the XSOAR engine that will communicate with it from the list. If the Rapid7 management system is in the cloud, choose No engine.
    3. When finished, click Run test or Test.
      If the test is successful, a Success message appears. If not, check that the settings were entered correctly and then test the configuration again.
    4. After the test succeeds, click Save & exit to save your changes and close the settings panel.
  3. To enable PANW IoT 3rd Party Rapid7 Integration Instance, click Enable.
  4. Return to the IoT Security portal and check the status of the Rapid7 integration instance.
    XSOAR automatically runs a preconfigured job for Rapid7 integration and reports the integration instance to IoT Security, which displays it on the Integrations page. The integration instance can be in one of the following four states as shown in the Status column on the Integrations page:
    • Disabled means that either the integration was configured but intentionally disabled or it was never configured and a job that references it is enabled and running.
    • Error means that the integration was configured and enabled but is not functioning properly, possibly due to a configuration error or network condition.
    • Inactive means that the integration was configured and enabled but no job has run for at least the past 60 minutes.
    • Active means that the integration was configured and enabled and is functioning properly.
    When you see that the status of the Rapid7 instance has changed from Disabled to Active, the integration instance setup is complete.
    If the name of the integration instance is anything other than the default, you must configure jobs to generate Rapid7 vulnerability scan reports and import them into IoT Security using the name you gave it. For information about configuring Rapid7 jobs, see Get Vulnerability Scan Reports from Rapid7.