Skip to content
Merged
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: 2 additions & 0 deletions apps/cli-docs/src/content/docs/self-hosted.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The CLI works with self-hosted Sentry instances. Set the `SENTRY_HOST` (or `SENT
export SENTRY_HOST=https://sentry.example.com
```

If you use an `sntrys_` organization token, the CLI uses the instance URL in its token claim when neither URL variable is set. A stored login also keeps its instance URL. An explicit URL takes precedence, but the CLI rejects requests outside the active credential's trusted host.

## Authenticating

### With OAuth (Sentry 26.1.0+)
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugins/sentry-cli/skills/sentry-cli/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Guide for using the Sentry CLI to interact with Sentry from the command line. Use when the user asks about viewing issues, events, projects, organizations, making API calls, or authenticating with Sentry via CLI.
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-agent-conversation
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: List and view agent conversations
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-alert
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage Sentry alert rules
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-api
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Make an authenticated API request
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-auth
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Authenticate with Sentry
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-build
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage mobile build artifacts
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-cli
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: CLI-related commands
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-code-mappings
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage code mappings for stack trace linking
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-dart-symbol-map
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with Dart/Flutter symbol maps
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-dashboard
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage Sentry dashboards
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-debug-files
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with debug information files
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-docs
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Search and query current Sentry documentation
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-dsn
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Find Sentry DSNs
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-event
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: View, list, and send Sentry events
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-explore
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Query aggregate event data (Explore)
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-feedback
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage User Feedback
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-info
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Print configuration and verify authentication
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-init
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Initialize Sentry in your project (experimental)
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-issue
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage Sentry issues
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-local
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Sentry for local development
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-log
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: View Sentry logs
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-monitor
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with Sentry cron monitors
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-org
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with Sentry organizations
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-platform
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: List valid Sentry platform identifiers
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-proguard
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with ProGuard/R8 mapping files
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-project
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with Sentry projects
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-react-native
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Upload React Native sourcemaps from build steps
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-release
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with Sentry releases
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-replay
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Search and inspect Session Replays
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-repo
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with Sentry repositories
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-schema
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Browse the Sentry API schema
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-snapshots
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage and compare snapshots
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-sourcemap
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage sourcemaps
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-span
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: List and view spans in projects or traces
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-status
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Check Sentry service status
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-team
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Work with Sentry teams
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-trace
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: View distributed traces
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-trial
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Manage product trials
requires:
bins: ["sentry"]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: sentry-cli-wasm-split
version: 0.47.0-dev.0
version: 0.48.0-dev.0
description: Add build ids to WebAssembly modules and split out debug data
requires:
bins: ["sentry"]
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/alert/issues/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ import {
type ResolvedTarget,
resolveProjectBoundTargets,
} from "../../../lib/resolve-target.js";
import { buildIssueAlertsUrl } from "../../../lib/sentry-urls.js";
import { buildIssueAlertsUrl } from "../../../lib/sentry-web-urls.js";
import type { ProjectAliasEntry, Writer } from "../../../types/index.js";
import {
assertAlertListLimit,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/alert/issues/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { buildCommand } from "../../../lib/command.js";
import { ContextError } from "../../../lib/errors.js";
import { CommandOutput } from "../../../lib/formatters/output.js";
import { resolveProjectBoundTargets } from "../../../lib/resolve-target.js";
import { buildIssueAlertsUrl } from "../../../lib/sentry-urls.js";
import { buildIssueAlertsUrl } from "../../../lib/sentry-web-urls.js";
import {
type IssueRuleResolution,
parseIssueRuleArg,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/alert/metrics/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import {
type ResolvedTarget,
resolveProjectBoundTargets,
} from "../../../lib/resolve-target.js";
import { buildMetricAlertsUrl } from "../../../lib/sentry-urls.js";
import { buildMetricAlertsUrl } from "../../../lib/sentry-web-urls.js";
import type { Writer } from "../../../types/index.js";
import {
assertAlertListLimit,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/alert/metrics/view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { openInBrowser } from "../../../lib/browser.js";
import { buildCommand } from "../../../lib/command.js";
import { CommandOutput } from "../../../lib/formatters/output.js";
import { resolveOrgOnlyFromArg } from "../../../lib/resolve-target.js";
import { buildMetricAlertsUrl } from "../../../lib/sentry-urls.js";
import { buildMetricAlertsUrl } from "../../../lib/sentry-web-urls.js";
import {
type MetricRuleResolution,
parseMetricRuleArg,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/dashboard/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
resolveProjectBoundSlug,
toNumericId,
} from "../../lib/resolve-target.js";
import { buildDashboardUrl } from "../../lib/sentry-urls.js";
import { buildDashboardUrl } from "../../lib/sentry-web-urls.js";
import { setOrgProjectContext } from "../../lib/telemetry.js";
import type { DashboardDetail } from "../../types/dashboard.js";
import { enrichDashboardError } from "./resolve.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/dashboard/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { withProgress } from "../../lib/polling.js";
import {
buildDashboardsListUrl,
buildDashboardUrl,
} from "../../lib/sentry-urls.js";
} from "../../lib/sentry-web-urls.js";
import type { DashboardListItem } from "../../types/dashboard.js";
import type { Writer } from "../../types/index.js";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/dashboard/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { colorTag, escapeMarkdownCell } from "../../lib/formatters/markdown.js";
import { CommandOutput } from "../../lib/formatters/output.js";
import { formatRelativeTime } from "../../lib/formatters/time-utils.js";
import { withProgress } from "../../lib/polling.js";
import { buildDashboardUrl } from "../../lib/sentry-urls.js";
import { buildDashboardUrl } from "../../lib/sentry-web-urls.js";
import type { DashboardDetail } from "../../types/dashboard.js";
import {
enrichDashboardError,
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/dashboard/revisions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
paginationHint,
} from "../../lib/list-command.js";
import { withProgress } from "../../lib/polling.js";
import { buildDashboardUrl } from "../../lib/sentry-urls.js";
import { buildDashboardUrl } from "../../lib/sentry-web-urls.js";
import type { DashboardRevision } from "../../types/dashboard.js";
import type { Writer } from "../../types/index.js";
import {
Expand Down
Loading
Loading