Rapid7

Prev Next

Overview

The Clarity Rapid7 connector reads and manages the platform users of your Rapid7 Command Platform (Insight Platform) organization, along with their roles and user groups. It works at the platform level, so it covers users of InsightIDR, InsightVM and the other Rapid7 products in your organization. It does not read any product's security data.

You need a Rapid7 Platform Administrator to set it up, because only Platform Administrators can create the API key.

What Clarity syncs or changes

Direction

Users

read

Roles, including which Rapid7 products each role applies to

read

User groups and their members

read

Each user's role assignments

read

Create a user

write

Delete a user

write

Grant or revoke a role

write

Add a user to, or remove a user from, a user group

write

Authentication uses a Rapid7 API key. There is no browser sign-in or consent step.

Clarity imports a user as active only when the user's Rapid7 status is ACTIVE. Every other status, including PENDING_ACTIVATION (invited but not yet activated), is imported as inactive. Clarity can still assign roles and groups to pending users.

Prerequisites

  • A Rapid7 Platform Administrator account. Only Platform Administrators can create organization API keys (Rapid7: Manage Platform API keys).

  • Your organization's data region (Step 1).

  • Your Rapid7 Organization ID, which is a UUID (Step 3).

Step 1 — Identify your region

Rapid7 platform APIs are regional (Rapid7: Command Platform API overview). Sign in to any Rapid7 product and read the region code at the start of its address. For example, us.idr.insight.rapid7.com means region us.

Clarity Region option

Region code

API host Clarity calls

United States (default)

us

us.api.insight.rapid7.com

United States 2

us2

us2.api.insight.rapid7.com

United States 3

us3

us3.api.insight.rapid7.com

Europe

eu

eu.api.insight.rapid7.com

Canada

ca

ca.api.insight.rapid7.com

Australia

au

au.api.insight.rapid7.com

Japan

ap

ap.api.insight.rapid7.com

Middle East and India regions

Rapid7 also runs a Middle East region (me1) and an India region (aps2). The Clarity Region field does not offer either one yet. If your organization is hosted there, contact Clarity Support before you set up the connector.

Step 2 — Generate an organization API key

  1. Sign in to the Rapid7 Command Platform as a Platform Administrator.

  2. From Command Home, go to Administration > Administrator API Keys and select Generate New Organization Key (Rapid7 documentation).

  3. Select the organization that Clarity should manage, and give the key a descriptive name, for example Clarity IGA.

  4. Copy the key from the pop-up right away.

Rapid7 shows the key only once

If you lose it, generate a new key and update Clarity.

Use an organization key, not a user key. Rapid7 describes organization keys as super-user keys for the whole organization, and they keep working if the administrator who created them is deleted. A user key has only the permissions of the user who owns it, and Rapid7 deletes it when that user is deleted. Clarity reads every user, role and group, and it creates and deletes users and changes role assignments, so it needs the wider access.

Step 3 — Find your Organization ID

The Organization ID is the UUID of the Rapid7 organization the API key belongs to. Clarity uses it when it grants roles, because Rapid7 scopes role assignment to an organization. The help text on the Clarity form points to Platform Administration > Organizations. If you cannot find the ID there, ask Rapid7 support for your organization UUID.

Step 4 — Log into Clarity and open the Marketplace

Log into Clarity Security, click Applications and select Marketplace.

Applications menu with Marketplace selected

Step 5 — Find Rapid7 and click Connect App

Scroll to find Rapid7 and click Connect App.

Rapid7 tile in the Marketplace with the Connect App button

Step 6 — Fill out the Connect App form

Details for fields common to all applications can be found in the following article: Common App Configuration Steps.

All three Rapid7 fields are required.

Clarity field

Value

Region

The region from Step 1, chosen from the drop-down. Defaults to United States.

API Key

The organization key from Step 2. The field is masked and the value is stored encrypted.

Organization ID

The organization UUID from Step 3.

Configure App, Connect App step for Rapid7 with the Region, API Key and Organization ID fields

Select Next. Clarity checks the key against your region before it moves on. If the check fails, Clarity shows Unable to talk to the service. Please double check your credentials! and stays on the Connect App step.

The check does not test the Organization ID

A passing check confirms that the region and the API key match. A wrong Organization ID shows up later, when Clarity grants a role.

Step 7 — Fill out the App Settings form

Complete the App Settings form. Details for each field can be found in the following article: Common App Configuration Steps.

Configure App Step 2 - App Settings

Step 8 — Fill out the User Settings form

Complete the User Settings form. Details for each field can be found in the following article: Common App Configuration Steps.

Configure App Step 3 - User Settings

Step 9 — Validate Your Selections and Save

Validate your selections, then click Save.

Save

Clicking the Save button will trigger the first full sync for your application (even if you selected Manual syncing). Large instances may take several hours to complete the first sync.

Troubleshooting

Symptom

Likely cause

The check fails with an authorization error

The API key is wrong, was revoked, or was pasted with extra spaces. Generate a new key and update API Key.

The check fails or the connection errors, and the key is correct

Region does not match your organization's data region. A key works only on its own region's host.

A sync finishes but users, roles or groups are missing, or access is denied

The key is a user key without Platform Administrator rights. Replace it with an organization key.

Granting a role fails, but revoking roles and changing group membership still work

Organization ID is wrong, or belongs to a different organization than the key. Only role grants use this value.

What Clarity does NOT do

  • No deactivation. Clarity can create and permanently delete Rapid7 users, but it does not suspend or disable them.

  • No profile write-back. Clarity does not update a user's name, email, time zone or other profile fields in Rapid7.

  • No role or group management. Clarity assigns and removes existing roles and user groups. It does not create, edit or delete the roles or groups themselves, and it does not change role permissions.

  • No product data. Clarity does not read InsightIDR, InsightVM or any other product's security data. It works only with platform users and their access.

  • One organization per integration. Each Clarity application manages the organization its API key and Organization ID belong to. Multi-tenant and MSP keys are not supported.

Need Help?

If you have any problems, contact your customer success team. You can also get in touch with our general support via email, open a support ticket. Our general support team is available Monday - Friday from 8:00 AM - 6:30 PM CST.