Skip to main content
Applies to BloodHound Enterprise and CE This page covers configuring the OpenHound Okta collector for your Okta organization.

Prerequisites

  • OpenHound installed with the Okta collector included. The Okta collector is included by default in the OpenHound container image.
    • For BloodHound Community Edition, install the OpenHound CLI.
    • For BloodHound Enterprise, deploy OpenHound as a container.
  • An Okta account with permissions to access the Okta API. See the options below for recommended roles and permissions.
Register the OpenHound Okta collector as a service application in Okta. Grant the application limited read-only permissions and configure authentication with an asymmetric RSA public/private key pair.

API Token (SSWS)

The OpenHound Okta collector can also authenticate using API tokens (also known as SSWS tokens) associated with specific Okta Super Administrator accounts. This is the least secure option, but the easiest one to set up.

Configure OpenHound

The following OpenHound configuration parameters are required to run the Okta collector. These can either be set via the [sources.source.okta.credentials] section of the secrets file or via environment variables using the SOURCES__OKTA__CREDENTIALS prefix.

Option 1: Service Application with JSON Key File

Use this option when you prefer to store the Okta private key in a file. Set private_key_path to the path of the complete private key JSON that Okta displays when you generate the key pair. Example Configuration
secrets.toml

Option 2: Service Application with Base64-Encoded JSON Key String

Use this option when you prefer not to store the Okta private key in a standalone file. Example Configuration
secrets.toml
Set private_key_b64 to the base64-encoded contents of the complete private key JSON that Okta displays when you generate the key pair. The JSON has the following general structure. The values below are placeholders and are not a usable key.
Keep the complete private key JSON confidential. Okta displays the private key only when you generate it. If you no longer have the JSON, generate and register a new key pair as described in the Okta app registration guide.

Option 3: API Token (SSWS)

Use this option when you want to authenticate with an API token (SSWS) associated with a specific Okta Super Administrator account. Example Configuration
secrets.toml
We do not recommend this authentication method. However, if you decide to use it, keep the API token confidential.

Advanced Settings

For guidance on large organizations, collection scope, and concurrency, see Large Environment Settings. To diagnose and tune collection performance with optional telemetry, see Performance Telemetry.

Running OpenHound and Collecting Data

After you set the required configuration parameters, run OpenHound to start the Okta collector and collect data from your Okta organization. The collector will generate JSON files in the output directory that can be uploaded to BloodHound for analysis.