Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/aws-codecommit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ AWS CodeCommit connections support the following configuration options, which ar

{/* SCHEMA_SYNC_START: admin/code_hosts/aws_codecommit.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{
// REQUIRED:
Expand Down
20 changes: 12 additions & 8 deletions docs/admin/code-hosts/azuredevops.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Azure DevOps connections support the following configuration options, which are

{/* SCHEMA_SYNC_START: admin/code_hosts/azuredevops.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
// Authentication alternatives: token OR windowsPassword

Expand Down Expand Up @@ -131,19 +131,23 @@ Azure DevOps connections support the following configuration options, which are
// ]
"projects": null,

// An array of "org/project/repo" strings specifying which Azure DevOps repositories within a project should be mirrored in Sourcegraph.
"repos": [
"myorg/my-project/myrepo", // Format: <organization>/<project>/<repository>
"myorg/myproject/myproject", // Format: repository where project and repo share the same name
"myorg/my project/my project" // Format: spaces in project or repository names
]

// Rate limit applied when making background API requests.
"rateLimit": {
"enabled": false,
"requestsPerHour": 0
},

// An array of repository "org/project/repo" strings specifying which Azure DevOps repositories to mirror on Sourcegraph. If both 'repos' and 'projects' or 'orgs' are specified, the union of both sets will be synced.
// Other example values:
// - [
// "myorg/myproject/myrepo"
// ]
// - [
// "myorg/my project/myrepo",
// "myorg/anotherproject/anotherrepo"
// ]
"repos": null,

// The pattern used to generate the corresponding Sourcegraph repository name for a Azure DevOps repository.
// - "{host}" is replaced with the Azure DevOps URL's host (such as dev.azure.com)
// - "{orgName}" is replaced with the repository's parent projects owning organization (or collection on DevOps server)
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/bitbucket-cloud.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Bitbucket Cloud connections support the following configuration options, which a

{/* SCHEMA_SYNC_START: admin/code_hosts/bitbucket_cloud.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{
// The workspace access token to use when authenticating with Bitbucket Cloud.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/bitbucket-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Bitbucket Server / Bitbucket Data Center connections support the following confi

{/* SCHEMA_SYNC_START: admin/code_hosts/bitbucket_server.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
// Authentication alternatives: token OR password

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/gerrit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Gerrit connections support the following configuration options, which are specif

{/* SCHEMA_SYNC_START: admin/code_hosts/gerrit.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{
// If non-null, enforces Gerrit repository permissions. This requires that there is an item in the [site configuration json](https://sourcegraph.com/docs/admin/config/site_config#auth-providers) `auth.providers` field, of type "gerrit" with the same `url` field as specified in this `GerritConnection`.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ GitHub connections support the following configuration options, which are specif

{/* SCHEMA_SYNC_START: admin/code_hosts/github.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
// Authentication alternatives: token OR gitHubAppDetails OR externalAccount OR useRandomExternalAccount

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/gitlab.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ See [Internal rate limits](/admin/code-hosts/rate-limits#internal-rate-limits).

{/* SCHEMA_SYNC_START: admin/code_hosts/gitlab.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{
// If non-null, enforces GitLab repository permissions. This requires that there be an item in the `auth.providers` field of type "gitlab" with the same `url` field as specified in this `GitLabConnection`.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/gitolite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To connect Gitolite to Sourcegraph:

{/* SCHEMA_SYNC_START: admin/code_hosts/gitolite.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{
// A list of repositories to never mirror from this Gitolite instance. Supports excluding by exact name ({"name": "foo"}).
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/other.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Repositories must be listed individually:

{/* SCHEMA_SYNC_START: admin/code_hosts/other_external_service.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{
// A list of repositories to never mirror by name after applying repositoryPathPattern. Supports excluding by exact name ({"name": "myrepo"}) or regular expression ({"pattern": ".*secret.*"}).
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/code-hosts/phabricator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The Sourcegraph instance's site admin must [update the `corsOrigin` site config

{/* SCHEMA_SYNC_START: admin/code_hosts/phabricator.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{
// SSH cipher to use when cloning via SSH. Must be a valid choice from `ssh -Q cipher`.
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/config/settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Settings options and their default values are shown below.

{/* SCHEMA_SYNC_START: admin/config/settings.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{

Expand Down
5 changes: 1 addition & 4 deletions docs/admin/config/site-config.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ All site configuration options and their default values are shown below.

{/* SCHEMA_SYNC_START: admin/config/site.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{

Expand Down Expand Up @@ -180,9 +180,6 @@ All site configuration options and their default values are shown below.
// Enable/disable sharing of Deep Search conversations via read tokens
"deepSearch.sharing.enabled": false,

// Use database-backed worker for Deep Search question processing instead of in-memory worker pool. Enables persistence across frontend restarts.
"deepSearch.worker.enabled": true,

// The rate limit (in requests per hour) for the default rate limiter in the rate limiters registry. By default this is disabled and the default rate limit is infinity.
"defaultRateLimit": -1,

Expand Down
2 changes: 1 addition & 1 deletion docs/admin/repo/perforce.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ With this setting, Sourcegraph will ignore any rules with a host other than `*`,

{/* SCHEMA_SYNC_START: admin/code_hosts/perforce.schema.json */}
{/* WARNING: This section is auto-generated during releases. Do not edit manually. */}
{/* Last updated: 2026-03-30T11:57:12Z */}
{/* Last updated: 2026-04-14T00:48:03Z */}
```json
{
// If non-null, enforces Perforce depot permissions.
Expand Down
3 changes: 2 additions & 1 deletion docs/admin/telemetry/private-metadata-allowlist.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ To learn more, refer to the [telemetry documentation](https://sourcegraph.com/do
| `cody.smart-apply.context` | `applied` | `model` — High-cardinality model identifier; helpful for determining the model that was selected. |
| `deepsearch` | `search.toolcall` | `toolName` — High-cardinality tool name; helpful for determining which tools are being used during deep search.<br/>`toolId` — High-cardinality tool identifier; helpful for determining which tools are being used during deep search.<br/>`model` — High-cardinality model identifier; helpful for determining which models are being used during deep search. |
| `admin.users` | `delete` | `userIDs` — Numeric identifiers of users being deleted; needed for audit and analytics of admin user management actions. |
| `externalApi` | `request` | `procedure` — ConnectRPC procedure path (e.g. '/sourcegraph.users.v1.UsersService/GetUser'); not sensitive and needed to distinguish which external API RPCs are being used. |
| `externalApi` | `request` | `procedure` — ConnectRPC procedure path (e.g. '/sourcegraph.users.v1.UsersService/GetUser'); not sensitive and needed to distinguish which external API RPCs are being used. |
| `metering` | `consume` | `meteringEventId` — The UUID of the billing event in the metering export queue, used to correlate billing events with telemetry events. |
1 change: 1 addition & 0 deletions docs/admin/telemetry/protocol.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ Sourcegraph Analytics features.
| username | [string](#string) | | <p>Username of the user.</p> |
| primary_email | [string](#string) | | <p>Primary email of the user.</p> |
| assigned_rbac_roles | [string](#string) | repeated | <p>Assigned RBAC roles for the user.</p> |
| service_account | [bool](#bool) | | <p>Whether the user is a service account.</p> |



Expand Down
22 changes: 22 additions & 0 deletions docs/cli/references/auth.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# `src auth`



## Usage

```
'src auth' provides authentication-related helper commands.

Usage:

src auth command [command options]

The commands are:

token prints the current authentication token

Use "src auth [command] -h" for more information about a command.


```

1 change: 1 addition & 0 deletions docs/cli/references/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

* [`admin`](references/admin)
* [`api`](references/api)
* [`auth`](references/auth)
* [`batch`](references/batch)
* [`code-intel`](references/code-intel)
* [`codeowners`](references/codeowners)
Expand Down
6 changes: 5 additions & 1 deletion docs/cli/references/login.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

Usage:

src login SOURCEGRAPH_URL
src login [flags] SOURCEGRAPH_URL

Examples:

Expand All @@ -31,6 +31,10 @@ Examples:

$ src login https://sourcegraph.com

If no access token is configured, 'src login' uses OAuth device flow automatically:

$ src login https://sourcegraph.com

-dump-requests
Log GraphQL requests and responses to stdout
-get-curl
Expand Down
Loading