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 bloodhound community #304

Merged
merged 16 commits into from
Nov 17, 2023

Conversation

alcastronic
Copy link
Contributor

Description

This PR adds the docker containers for the bloodhound community edition to the RedELK full installation.

When installing full

Three additional containers are deployed

  • bloodhound-web-app
  • postgres-db
  • neo4j (This replaces the previous neo4j)

Bloodhound-community is configured with a random password like the other apps are.

Because bloodhound-community can only be present at the root of a webserver a new server configuration-template has been included with nginx-conf which will listen on port 8443. As of now, the same certificate as for the Kibana server is being used.

The server will be reachable at: https://my-server:8443/ui/login

When installing limited

When the limited option is chosen, bloodhound is not installed and the nginx config is commented out.

Known issues

  • Sometimes the postgres-db password is not present in the redelk_passwords.cfg file.
  • Cipher queries did not return data with a collection from my old AD-lab however, ingestion works and objects are present in the UI

@github-actions github-actions bot added elkserver Related to RedELK server components installer Related to RedELK installers labels Oct 13, 2023
@alcastronic
Copy link
Contributor Author

Fixed an error with the awk command that retrieves the password from the .env file once set. This had prevented the password from being present in the redelk_passwords.cfg when an .env file had already existed.

@alcastronic
Copy link
Contributor Author

Secrets are currently still placed directly into the elkserver/mounts/bloodhound-config/bloodhound.config.json config file because I did not manage to make the app connect when setting it over docker environment. However that should not make a huge difference.

An issue could occur however when the password is regenerated by the install script but the volume which is used to store the bloodhound app persistent data is not. I think this is an edgecase which is unlikely to be hit.

@alcastronic alcastronic marked this pull request as ready for review October 15, 2023 20:24
@alcastronic
Copy link
Contributor Author

@MarcOverIP Did you already have had a chance to look into this. If so, Is there anything you would like to have added or changed?

@MarcOverIP
Copy link
Member

Hi @alcastronic Im extremely happy with the work. I was offline for holidays. This week is busy, but next week I have some time allocated for this. Ill update you then.

@MarcOverIP
Copy link
Member

Secrets are currently still placed directly into the elkserver/mounts/bloodhound-config/bloodhound.config.json config file because I did not manage to make the app connect when setting it over docker environment. However that should not make a huge difference.

An issue could occur however when the password is regenerated by the install script but the volume which is used to store the bloodhound app persistent data is not. I think this is an edgecase which is unlikely to be hit.

Agree.

@MarcOverIP
Copy link
Member

@alcastronic seems like solid work! Thank you.

I havent done a lot of testing. But Im merging. In the case issues still arise we can troubleshoot. Merging now, keeping thread open for some time.

@MarcOverIP MarcOverIP merged commit 5e49ef6 into outflanknl:master Nov 17, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
elkserver Related to RedELK server components installer Related to RedELK installers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants