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

Import custom queries from Legacy Bloodhound #241

Closed
init5-SF opened this issue Nov 23, 2023 · 4 comments
Closed

Import custom queries from Legacy Bloodhound #241

init5-SF opened this issue Nov 23, 2023 · 4 comments
Labels
enhancement New feature or request triage This issue requires triaging

Comments

@init5-SF
Copy link

init5-SF commented Nov 23, 2023

Hi,

Sorry if that's a stupid question, but how can I import the content of /.config/bloodhound/customqueries.json (in legacy Bloodhound) into the new Bloodhound CE?

I've looked in the docs, but couldn't find any leads.

Thank you!

@init5-SF init5-SF added enhancement New feature or request triage This issue requires triaging labels Nov 23, 2023
@StephenHinck
Copy link
Contributor

You'd need to parse out the old json file, then use the API to import the queries into BHCE. Be aware of #171 as that is currently blocking this capability, but it's on our radar to fix.

@StephenHinck StephenHinck closed this as not planned Won't fix, can't repro, duplicate, stale Nov 27, 2023
@init5-SF
Copy link
Author

Hi @StephenHinck , thanks for the info
Is there gonna be any easier way to do this in the future? like a file that could be manually edited or something?

@StephenHinck
Copy link
Contributor

Saved queries are stored in the PostgreSQL database, not in a flat file like they used to be.

@init5-SF
Copy link
Author

thank you for clarifying.
Is there gonna be any user friendly approach to do the import in the future? The API route doesn't look very easy, specially with the lack of examples because it's all still brand new

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage This issue requires triaging
Projects
None yet
Development

No branches or pull requests

2 participants