Skip to main content
Applies to BloodHound Enterprise This page documents an optional OpenHound CLI workflow for uploading saved queries and Privilege Zone rules for GitHub, Jamf, and Okta extensions. Use it when the extension has supported assets, but no extension bundle has been published. The OpenHound CLI is a convenience for OpenHound extension assets. For non-OpenHound extensions, follow the provider’s instructions.
In BloodHound Enterprise, the GitHub, Jamf, and Okta extension schemas are pre-installed. Until the applicable extension bundle is available, you can continue to manage supported saved queries and Privilege Zone rules separately. This does not change the extension’s pre-installed status or update behavior.

Prerequisites

Before you upload extension assets, ensure that you have done the following:
  • Installed the OpenHound CLI.
  • Verified or installed the matching extension definition schema in OpenGraph Management.
  • Obtained the BloodHound Enterprise tenant URL and browser JWT used by the OpenHound CLI for extension asset uploads.

Configure CLI authentication

OpenHound uses DLT configuration management for CLI asset uploads. Add the BloodHound Enterprise tenant URL to your local ~/.dlt/config.toml file, and the browser JWT to your local ~/.dlt/secrets.toml file. The asset upload commands use the destination.bloodhound section with a URL and a JWT bearer token. This is different from the destination.bloodhoundenterprise collector client configuration, which uses token_id and token_key for scheduled OpenHound collection.
Scheduled collector examples separate the BloodHound Enterprise destination URL into config.toml and keep collector client credentials in extension-specific secrets files, such as ~/.dlt/secrets_github.toml.Asset upload commands run from the OpenHound CLI and read the generic ~/.dlt/config.toml and ~/.dlt/secrets.toml files shown below.
To get the browser JWT, follow the BloodHound API JWT guidance. Copy only the token value and omit the Bearer prefix.
~/.dlt/config.toml
~/.dlt/secrets.toml
If an existing ~/.dlt/secrets.toml file still has url under [destination.bloodhound] from a previous OpenHound version, it continues to work, but following the new pattern is preferred. Use config.toml for url in new configurations.
Do not commit secrets.toml or token values to version control. Browser JWTs are short-lived and intended for user-authenticated API calls, not long-running integrations.

Upload assets

When you use this separate asset workflow, upload the saved queries and Privilege Zone rules supplied for the extension. Skip assets that the provider does not supply or that BloodHound does not support through this import workflow. Saved queries and Privilege Zone rules are stored in each extension repository in the following directories:
  • extension/saved_searches
  • extension/privilege_zone_rules
OpenHound makes uploaded saved queries public by default.
1

Clone the extension repositories

Clone each extension repository to your local machine.
2

Upload the saved queries

For each extension, run the upload command against the saved queries directory.
3

Upload the Privilege Zone rules

For each extension, run the upload command against the Privilege Zone rules directory.
The default upload strategy is skip, which leaves existing assets unchanged.Use --strategy overwrite when you need to update previously uploaded saved queries or Privilege Zone rules.

Verify uploads

After the upload completes:
  • Open Explore to confirm the saved queries are available.
  • Open Privilege Zones to confirm the expected rules appear in the target zone.
  • Wait for analysis to successfully run to verify rules that affect zone membership or findings.

Troubleshoot