Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add subcommand for import and export of custom queries #3

Closed
exploide opened this issue Jun 13, 2024 · 1 comment
Closed

Add subcommand for import and export of custom queries #3

exploide opened this issue Jun 13, 2024 · 1 comment

Comments

@exploide
Copy link
Owner

BloodHound CE supports storing custom Cypher queries. However, there is currently no convenient way to import and export them. bhcli can get a subcommand which allows importing and exporting custom queries via the API.

There are multiple BloodHound CE issues showing a need for this:

@exploide
Copy link
Owner Author

Implemented import/export in the queries subcommand:

$ bhcli queries my-bloodhound-queries.json
INFO: Imported 12 custom queries.

The import file must either be in the format that the --save option produces or in the legacy Bloodhound's customqueries.json format.
Note that not everything from the latter might be compatible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant