secrets.toml file or environment variables.
Prerequisites
Before you configure the GitHub collector, ensure that the following prerequisites are met:- OpenHound installed with the GitHub collector included.
- For BloodHound Community Edition, install the OpenHound CLI.
- For BloodHound Enterprise, deploy OpenHound as a container.
- One of the following authentication setups configured:
Configure OpenHound
The GitHub collector needs different settings based on the authentication method you choose. You can set those values in one of two places:
Click the tab that matches your authentication setup for details and example configurations.
- Enterprise GitHub App
- Organization GitHub App
- Fine-grained PAT
Use this option when you need enterprise-scoped collection.Environment variables
secrets.toml~/.dlt/secrets_github.toml
Running OpenHound and Collecting Data
After you set the required configuration parameters, run OpenHound to start the collector and collect data from your . The collector will generate JSON files in the output directory that can be uploaded to BloodHound for analysis.Large GitHub organizations or enterprises can trigger GitHub’s API rate limits during collection. If you see failed or retried requests, tune the HTTP request parameters to ride out rate limits instead of failing the run.