Skip to content
DocumentationAPI ReferenceChangelog
ConnectTalon Studio v1.1.22-beta

Source Control

Mirror the workspace's Git repository to a GitHub, GitLab, Gitea or Azure DevOps remote, and pull changes made there back into Talon.

Git remote

Every workspace already has its own Git repository inside Talon. Connect → Source Control (/connect/source-control) mirrors it to a remote your team maintains — GitHub, GitLab, Gitea or Azure DevOps — for external collaboration and CI/CD, rather than keeping detections in a store only Talon can see.

Repository URL (HTTPS)
For example https://github.com/org/detections.git.
Branch
The remote branch to mirror to, main by default.
Access token
Encrypted at rest and never returned by the API. Use a fine-grained personal access token scoped to that one repository with Contents read/write (ghp_… on GitHub, glpat-… on GitLab).
Auto-push on merge
Push to the remote automatically whenever a change request merges.
Enable pull
Allow remote changes to flow back into the workspace. Also reveals the webhook settings.
Test connection checks the URL and token before you Save.
With Enable pull on, an optional push webhook makes the remote trigger a pull on every push (GitHub, GitLab and Gitea). Copy the payload URL (/api/workspaces/<id>/remote-repo/webhook) and click Generate secret; the secret is shown once, and Regenerate secret rotates it. Azure DevOps webhook signatures are not verified, so protect that endpoint at the network level instead.
Disconnect removes only Talon's remote configuration; the remote repository and its history are untouched.
The remote's settings are staged in the org config repo (Org/integrations/workspace-repos.yaml). Once that file has had its first commit, a new remote, a change to one, or a disconnect takes effect when an admin commits it on Settings → Organisation; a new token applies at once and takes any staged change live with it.
A remote on a private or internal address is refused unless TALON_ALLOW_PRIVATE_GIT_HOSTS=true — which a self-hosted Gitea or GitLab on your own network usually needs.
The Connect a remote repository dialog with GitHub, GitLab, Gitea and Azure DevOps as providers, the repository URL, branch and access token fields, and the Auto-push on merge and Enable pull switches
The Connect a remote repository dialog. Pick the provider, fill in the repository URL, branch and token, click Test connection to verify before saving, and set Auto-push on merge and Enable pull independently.

Push, pull & status

The connected remote's card shows the provider, remote URL and branch, whether auto-push and pull are on, when it last synced, and a status: Synced, Conflict, Failed (with the error) or Not synced. Push mirrors the workspace's local main to the remote branch; Pull (when enabled) fast-forwards local from the remote and loads what changed back into Studio.

If the remote has commits Talon doesn't, a push is refused and Talon offers Force push, which overwrites the remote branch.
If the histories have diverged, a pull reports a conflict — it is never auto-merged — and Talon offers Force pull, which discards local commits that are not on the remote.
A manual pull, force pull and force push need the workspace owner, as do testing, adding and changing the remote; a webhook still pulls on its own. Every pull is audited as workspace.pulled.
A pull that races a Studio commit stops and asks you to pull again. A file that fails to load is skipped and listed as a warning rather than stopping the load.
A token is sent only to the host it was given for: a GitHub App token only to github.com, a remote that signs in must use https, and a redirect to another host drops it.
Tip
Point the remote at a dedicated, empty detections repository, not a shared monorepo. Push mirrors the workspace's whole main, so a remote with history of its own turns your first push into a force-push decision.

Matches Talon Studio 1.1.18-beta