Repository navigation
feat: Add TheHive Flow configuration to TheHive profiles - #55
Merged
rafikbahri merged 5 commits intoOct 22, 2026
Conversation
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Connect TheHive to TheHive Flow (TheHive 6 settings from the official documentation).
Changes
prod1-thehive,prod2-thehive: documented inapplication.confhow to enable the connection. The settings go inthehive/config/flow.conf(holds the JWT signing key: mode 600, gitignored, enforced bycheck_permissions.sh), loaded by a commentedinclude required("/etc/thehive/flow.conf"). Self-signed certificate: trust store recommended,acceptAnyCertificatemarked insecuretesting: connection enabled.init.shwritesthehive/config/flow.conf(mode 600 from creation, gitignored, removed byreset.sh) with the validated JWT signing key of.env;application.confrequires ittests/flow.sh, run in CI: Orchestrator feature reported by TheHive, unsigned request rejected by TheHive Flow (401), TheHive signed requests accepted since its last start (fails on any 401/403)Tests
Clean local run in CI order (init, up, readiness,
flow.sh,smoke.sh,storage.sh): all pass.flow.shfails with a wrong signing key, also on a reused stack. TheHive refuses to start withoutflow.conf.Not included
TheHive API key for TheHive Flow:
testingkeeps the placeholder.Closes #44