Rapid7 Source
The Rapid7 source collects asset and vulnerabilities from Rapid7 InsightVM API and sends it to Sumo Logic. InsightVM provides a fully available, scalable, and efficient way to collect vulnerability data and minimize risk. InsightVM automatically evaluates changes in user's networks, allowing security professionals to better understand and quickly manage the risk posed to their organization.
Data collected​
Polling Interval | Data |
---|---|
5 min | Assets |
5 min | Vulnerabilities |
Setup​
Vendor configuration​
The Rapid7 InsightVM source requires you to provide a region and organizational API key to access the data. Follow the instructions from Rapid7 documentation, to determine the Region and Organizational API key.
Source configuration​
When you create an Rapid7 Source, you add it to a Hosted Collector. Before creating the Source, identify the Hosted Collector you want to use or create a new Hosted Collector. For instructions, see Configure a Hosted Collector.
To configure an Rapid7 Source:
- Classic UI. In the main Sumo Logic menu, select Manage Data > Collection > Collection.
New UI. In the Sumo Logic top menu select Configuration, and then under Data Collection select Collection. You can also click the Go To... menu at the top of the screen and select Collection. - On the Collection page, click Add Source next to a Hosted Collector.
- Search for and select Rapid7.
- Enter a Name for the Source. The description is optional.
- (Optional) For Source Category, enter any string to tag the output collected from the Source. Category metadata is stored in a searchable field called
_sourceCategory
. - (Optional) Fields. Click the +Add button to define the fields you want to associate. Each field needs a name (key) and value.
-  A green circle with a check mark is shown when the field exists in the Fields table schema.
-  An orange triangle with an exclamation point is shown when the field doesn't exist in the Fields table schema. In this case, an option to automatically add the nonexistent fields to the Fields table schema is provided. If a field is sent to Sumo Logic that does not exist in the Fields schema it is ignored, known as dropped.
- Enter the Region of Rapid7 InsightVM platform.
- Enter the API Key for authorization.
JSON schema​
Sources can be configured using UTF-8 encoded JSON files with the Collector Management API. See how to use JSON to configure Sources for details.Â
Parameter | Type | Value | Required | Description |
---|---|---|---|---|
schemaRef | JSON Object | {"type":"Rapid7"} | Yes | Define the specific schema type. |
sourceType | String | "Universal" | Yes | Type of source. |
config | JSON Object | Configuration object | Yes | Source type specific values. |
Configuration Object​
Parameter | Type | Required | Default | Description | Example |
---|---|---|---|---|---|
name | String | Yes | null | Type a desired name of the source. The name must be unique per Collector. This value is assigned to the metadata field _source . | "mySource" |
description | String | No | null | Type a description of the source. | "Testing source" |
category | String | No | null | Type a category of the source. This value is assigned to the metadata field _sourceCategory . See best practices for details. | "mySource/test" |
region | String | Yes | Region of the Insight platform. Know more about Supported regions. | ||
apikey | String | Yes | null | API Key for the account authorization. |
JSON example​
{
"api.version": "v1",
"source": {
"config": {
"name": "Rapid7",
"description": "Test Source",
"category": "source_category",
"env": "dev",
"region": "us",
"apiKey": "215c96c6-19a6-48e9-955f-253593xxxxxx"
},
"schemaRef": {
"type": "Rapid7"
},
"sourceType": "Universal"
}
}
Terraform example​
resource "sumologic_cloud_to_cloud_source" "rapid7_source" {
collector_id = sumologic_collector.collector.id
schema_ref = {
type = "Rapid7"
}
config = jsonencode({
"name": "Rapid7",
"description": "Test Source",
"category": "source_category",
"env": "dev",
"region": "us",
"apiKey": "215c96c6-19a6-48e9-955f-253593xxxxxx"
})
}
resource "sumologic_collector" "collector" {
name = "my-collector"
description = "Just testing this"
}
FAQ​
Click here for more information about Cloud-to-Cloud sources.