Repository navigation
fix(compose): give the XTM One worker its public URL and accept the platforms' internal audience (#47) - #48
Merged
Samuel Hassine (SamuelHassine) merged 2 commits intoSep 29, 2026
Conversation
…latforms' internal audience (#47) The worker signed the tokens of background work with XTM One's built-in default issuer, which OpenCTI and OpenAEV never trust. XTM One now also accepts http://xtm-one:4000 as the audience of their tokens, for platform versions that address them to the internal URL. The README explains the public and internal URLs.
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The README links issue reports instead of the required product-fix PRs, making compatible versions unclear.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Updates Compose authentication URLs so XTM One integrations can trust signed cross-platform requests.
Changes:
- Configures the worker with XTM One’s public URL.
- Accepts the platforms’ internal XTM One audience.
- Documents public versus internal URLs.
| File | Description |
|---|---|
README.md |
Documents URL identities and compatibility requirements. |
docker-compose.yml |
Adds worker URLs and accepted token audience. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.

Proposed changes
xtm-one-workergets the sameBASE_URL/FRONTEND_URLasxtm-one. Without it the worker signed the tokens of background work (assignments, delegated tasks, autonomous runs) with XTM One's built-in default issuer,https://copilot.filigran.ai, which OpenCTI and OpenAEV can never trust.xtm-onesetsXTM_AUTH_ACCEPTED_AUDIENCES=http://xtm-one:4000: OpenCTI and OpenAEV versions that predate their fix address their tokens tohttp://xtm-one:4000, and XTM One accepts that as its own audience once told so. XTM One images that predate the variable ignore it.Related issues
How to test this PR
docker compose -f docker-compose.yml --env-file .env.sample config -q(passes).docker compose up -d, then an Ask Ariane question on OpenCTI data and on OpenAEV data, and an XTM One assignment that calls OpenCTI (worker path).Checklist
type(scope?): description (#issue)