[backend/frontend] XTM One registration and ping mechanism (#14798)#14563
Merged
SamuelHassine merged 7 commits intomasterfrom Mar 5, 2026
Merged
[backend/frontend] XTM One registration and ping mechanism (#14798)#14563SamuelHassine merged 7 commits intomasterfrom
SamuelHassine merged 7 commits intomasterfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #14563 +/- ##
==========================================
- Coverage 32.38% 32.35% -0.03%
==========================================
Files 3108 3111 +3
Lines 211708 211873 +165
Branches 38391 38394 +3
==========================================
Hits 68554 68554
- Misses 143154 143319 +165
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
What this does
Implements a registration and periodic heartbeat between OpenCTI and XTM One:
xtmOneRegistrationManager— scheduled manager (every 5 min) that registers the platform with XTM One via/api/v1/platform/register. Fires once at boot (30s delay), then on interval. The endpoint is an upsert so repeated calls are safe.XTM OneAPI tokens (provisioned once per user, unlimited duration).chat_web_tokenfrom XTM One for Copilot chat integration.xtm.xtm_one_token— bothxtm_one_urlandxtm_one_tokenmust be set for the manager to activate.Related issues
Closes #14798