Rapid7 Plugin for Log Shipper

Rapid7 Plugin for Log Shipper

This document explains how to configure your Rapid7 Insight IDR integration with the Log Shipper module of the Netskope Cloud Exchange platform. This integration allows fetching behavior scores of users from your Insight IDR instance.

Prerequisites

To complete this configuration, you need:

  • A Netskope tenant (or multiple, for example, production and development/test instances) that is already configured in Cloud Exchange.
  • A Netskope Cloud Exchange tenant with the Log Shipper module already configured.
  • A Rapid7 Insight IDR instance.
  • A copy of your Rapid7 certificate.

Note

Verify your Rapid7 Insight IDR instance permissions are secure and not set up for open public access. Only allow access to your cloud storage instance from your Cloud Exchange Host and any other addresses that need access.

Rapid7 Plugin Support
Event SupportYes
Alert SupportYes
WebTx SupportYes
Logs SupportYes

All Netskope events, alert logs, and web transaction logs will be shared.

Note

  • Incident event type is supported from Core version 4.1.0.
  • CTEP alert type will be supported from Core version 4.2.0
Compatibility

CE version: v4.1.0 and v4.2.0.

API Details

The plugin uses a logging third-party library to push the data to the Syslog collector.

Refer to the official documentation for more information on the logging library:https://docs.python.org/3/library/logging.html

Performance Matrix
Logs IngestedTime Taken
99400002 hours
Stack SizeLarge
RAM: 32GB
Core: 16
Alerts/Events~ 6 MBps
WebTx~ 6 MBps

Workflow

  1. Get your Rapid7 server and port information.
  2. Configure the Rapid7 plugin.
  3. Configure Log Shipper Business Rules for Rapid7.
  4. Configure Log Shipper SIEM Mappings for Rapid7.
  5. Configure the WebTx Mappings (optional).
  6. Validate the Rapid7 plugin.

Click play to watch a video.

 

Get your Rapid7 Server and Port Information

  1. Go to your Rapid7 instance at https://insight.rapid7.com.
    image1.png
  2. Log in to Rapid7.
    image2.png
  3. Click Data Collection, Collectors and then click Download Collector. Download the Collector for your OS.
    image3.png
  4. Install the Collector to your machine. (Installation Steps: Collector Installation and Deployment | InsightIDR Documentation)
  5. Click Data Collection, Event Sources, and then click Add Event Source. Scroll down and select Netskope.
  6. Name the Event Source and select the Collector you have activated. Enter a Port Number and select a Protocol.
  7. Click Save.
  8. Click Data Collection, and then Event Sources to see the configured Event source.
  9. Copy the server IP and port number. You will need these to configure the Rapid7 plugin.

Configure the Rapid7 Plugin

  1. In Cloud Exchange, go to Settings > Plugins.
  2. Search for and select the Rapid7 box to open the plugin creation pages.
  3. Enter a Configuration Name.
  4. Select a valid Mapping or use the Default Mapping (available for all plugins). If you need custom mapping, click Create New Mapping.
  5. Click Next.
  6. Select and enter these parameters:
    • Rapid7 Server: IP address/FQDN of Rapid7 server in which data will be ingested.
    • Rapid7 Format: Data format required to ingest data.
    • Rapid7 Protocol: Protocol to be used while ingesting data.
    • Rapid7 Port: Configured Event Source port on Rapid7.
    • Rapid7 Certificate: The certificate is required only for TLS protocol.
    • Log Source Identifier: The prefix to be added for the logs.
  7. Click Save.

Configure Log Shipper Business Rules for Rapid7

  1. Go to Log Shipper > Business Rules.
  2. Click Create New Rule.
    image11.png
  3. Enter a Rule Name and select the filters to use. Enter a Folder Name if any.image13.png
  4. Click Save.
    image13.png

Configure Log Shipper SIEM Mappings for Rapid7

  1. Go to Log Shipper > SIEM Mappings and click Add SIEM Mapping.
  2. Select a Source Configuration, Business Rule, and Destination Configuration.
  3. Click Save.

Configure the WebTx Mapping

Use this configuration only when it is necessary to send specific WebTx fields in JSON format to the destination platform.

  1. Go to Settings > Log Shipper > Mapping.
  2. Clone the Rapid7 Default Mappings file.
  3. Enter a name for the mapping file.
  4. Select the Editor view radio button.
  5. Scroll down to the “webtx” and enter the specific webtx fields inside the square brackets in double quotes (For example-”sc-status”). In case of multiple fields, use the comma-separated format.

    Note

    Refer the Format 3 fields from here to add fields in the webtx.

  6. Go back to the configured plugin and edit the Mapping file.
  7. Disable the toggle button to send data in JSON format.
  8. Configure the SIEM mapping.
  9. Click Save.

Validate the Rapid7 Plugin

Validate in Cloud Exchange

To validate from Netskope Cloud Exchange, go to Logging.

Validate in Rapid7

  1. Go to Log search and select your Log Source.
  2. You’ll see logs here. You can add a filter to see data for specific time range. The default is displaying logs for the last 20 minutes.

Note: It will take few minutes to reflect the ingested data.

Share this Doc

Rapid7 Plugin for Log Shipper

Or copy link

In this topic ...