Commit Graph
27116 Commits
Author SHA1 Message Date
Grzegorz Zdunek 6f5524afcc Connect: Fix progress reporting for empty file uploads (#67885)
* Do not divide by zero

* Prevent `TerminalAddonsContainer` from taking more than 500px width
2026-06-18 09:35:06 +00:00
Gavin Frazar 1f6f9abcba Improve Azure VM discovery performance (#67737)
* run Azure VM discovery installers in parallel
* run Azure VM fetchers concurrent with installations
2026-06-18 06:51:55 +00:00
Ghassan Gedeon Achi 0405d1e2b9 feat: add tctl access-changes get command (#67329) 2026-06-17 23:12:32 +00:00
Pawel Kopiczko d313075691 MCP: Remove all non-canonical fields impacting RBAC from tools/call request (#67262)
* MCP: Remove all non-lowercase name params from tools/call request

* Change processRequest signature to return mutated request

* Mutate request only when necessary + add "method" and "params"

* Sanitize more fields which can lead to a confused upstream

* Liter & fixes

* Drain the request body just in case before overwriting
2026-06-17 22:16:19 +00:00
Ghassan Gedeon Achi a7300c4b94 feat: add tctl access-changes ls command (#67328)
Mirror the web UI's filtering by accepting a repeatable flags. And
adding the `--filter` as an envelope that allows combining filters
(AND semantics). Multiple distinct flag filters are OR'ed together.
2026-06-17 21:13:20 +00:00
Kevin 948f2e2771 Add Slack review helm chart config (#67786)
* Add slack review helm chart config

* Address feedback
2026-06-17 19:31:46 +00:00
Chris Thach 8baf95c738 Make golangci-lint auto-detect Go version from go.mod file. (#67888)
* Fix areas where Go version is static where it could be automatic.

Signed-off-by: Chris Thach <[email protected]>

* Revert Dockerfile.

Signed-off-by: Chris Thach <[email protected]>

* Revert build.assets/arch.mk.

---------

Signed-off-by: Chris Thach <[email protected]>
2026-06-17 19:05:18 +00:00
Paul Gottschling 98cec6f194 Clarify number of deployed services in Get Started (#67574)
Closes #67534

Fix the preamble to the list of services to include the correct count.
Make it clear that the list of three services refers to the services
deployed for the getting started guide. Use the terms control plane vs.
Teleport Agent service to indicate which aspects of the starter cluster
belong to a Teleport cluster in general.
2026-06-17 18:58:37 +00:00
Gustavo Medori 83e07c510a iOS: Build Enroll.xcframework using gomobile as part of the Xcode build (#67635)
* Embedded Enroll.xcframework building into the main Xcode build

* Remove xcframework generation from Makefile

Now that Enroll.xcframework is built as part of the Xcode build, we no
longer need to maintain a separate step to build it manually.

* Add a README file with basic instructions on how to integrate Swift with Go packages

* Disable user script sandboxing

This ensures that our build scripts can read/write whatever files
necessary. In particular, this avoids issues when building xcframeworks
with `gomobile` that may touch files not declared in your file inputs.

* Fix typo in build-enroll-framework.sh

* Update build-enroll-framework.sh to call `gomobile` via `go tool`

* Resolve shellcheck lint failure SC2155
2026-06-17 17:30:13 +00:00
Tyler Richardson 673aab5042 Improve webclient non-200 error reporting (#67579)
* Improve webclient non-200 error reporting

* Add comments to clarify JSON parsing behavior for 200 responses

* Improve error message for unreadable response body

* Fix error message assertion

* Add debug logging for missing error message in JSON response

* Adjust error message formatting and content
2026-06-17 17:23:47 +00:00
alex hemard 263a1736cc [discovery] add teleport-discovery claude skill (#67021) 2026-06-17 16:13:56 +00:00
Ryan Clark a02aeaac3b Change classifier terraform/YAML handling to accept friendly values (#67884)
* Accept and return booleans for Classifier action modes in tctl

* Accept short risk levels and strict booleans for Classifier in tctl
2026-06-17 13:58:34 +00:00
Ryan Clark 1ebcc101b7 Add filter state to unified resources CTA slot (#67887) 2026-06-17 13:58:03 +00:00
Zac Bergquist 3cb740cefd Fix license header on API submodule (#67877)
Our API client is Apache licensed, not AGPL.

https://goteleport.com/blog/teleport-oss-switches-to-agpl-v3/
2026-06-17 13:40:28 +00:00
Ryan Clark 25835873cf Add new states for reporting summarisation status more granularly (#67883) 2026-06-17 11:22:57 +00:00
PavelandMaja Cieślak b5071fba5a [vnet] Add DNS routing diagnostic check (#66851)
* add dns diagnostic check proto

* add DNSServerSuffix and DNSServerPort constants

* handle dns diagnostic probe queries

* add dns diagnostic check

* enable dns diagnostic check in Connect

* run dns diagnostic check in tsh vnet

* render dns diagnostic check in Connect

* fix some nits

* move ssh diag check after dns check

* handle dns diagnostic probe A queries

* add dns diagnostic check proto for A queries

* refactor dns diagnostic check to also check A records

* refactor Connect to also render dns diagnostic A records

* drop trailing dot from dns diag probe

* add tests for dns diag text rendering

* do not fail dns diag if any nameserver is reachable

* Adjust spacing between DNS diag success/warning rows

* fix some nits

* improve rendering of dns reachability errors

---------

Co-authored-by: Maja Cieślak <[email protected]>
2026-06-17 10:56:34 +00:00
Ryan Clark 751115212d Add Terraform provider support for the Classifier resource (#67765)
* Add Terraform provider support for the Classifier resource

* Update Classifier Terraform test fixtures for tri-state action enums

* Add data source

* Add docs/fixtures

* Add conversion for tri-state mode <> boolean

* Add conversion for risk level floor enum

* Linting
2026-06-17 10:50:14 +00:00
Ryan Clark 8b955844e1 Add Terraform schema for the Classifier resource (#67764)
* Add audit event for Classifier delete, docs, and web UI support

* Add failure code for the Classifier delete audit event

* Add web UI and docs support for Classifier audit failure codes

* Add Terraform schema for the Classifier resource

* Regenerate Classifier Terraform schema for tri-state action enums
2026-06-16 22:36:34 +00:00
Ryan Clark 6aaa43440e Add audit event for Classifier delete, docs, and web UI support (#67763)
* Add audit event for Classifier delete, docs, and web UI support

* Add failure code for the Classifier delete audit event

* Add web UI and docs support for Classifier audit failure codes
2026-06-16 20:44:52 +00:00
Gustavo Medori 9691b677d4 iOS: Update Xcode settings and add OSS file header (#67632)
* Add OSS preamble to file header template

* Apply automatic project file changes from using Xcode 26.5

* Update Verify project files to generate symbols for string catalog entries

* Improve formatting of template file header to reduce extra whitespace

* Update file header to automatically use the current year
2026-06-16 19:52:17 +00:00
Ryan Clark 543e9d3522 Add audit events for Classifier create and update (#67762)
* Add audit events for Classifier create and update

* Add failure codes for Classifier create and update audit events

* Add web UI and docs support for Classifier create and update audit events
2026-06-16 19:26:07 +00:00
Ryan Clark 1f6d537330 Add a CTA slot to unified resources component (#67857) 2026-06-16 19:04:40 +00:00
Taras 37be7d3c5a Update cloud version from 18.8.2 to 18.8.3 (#67600) 2026-06-16 18:37:00 +00:00
Brian Joerger af7038e9c0 Restrict forced termination to moderators (#67394)
* Attach parties to ServerContext rather than the full session and only after completing authz checks.

* Restrict forced termination to moderators.

* Move force termination auth check to term handlers.

* Ensure failed session cleanup.
2026-06-16 18:13:12 +00:00
Maja Cieślak 813776fd7a Add Xcode project for Teleport Verify; add gomobile as tool dep (#67750)
* Generate Xcode project for Verify

* Set Swift version to 6; remove macOS and Vision as destinations

* Handle `teleport://` links and add enrollment screen

* Avoid building macOS-specific stuff on iOS

This is needed for gomobile to build our stuff from lib/mobile from the
next commit.

* Add `lib/mobile/verify/enroll` compiled with gomobile

* `lib/mobile`: Temporarily use private Device Trust service

The public gRPC service exists on the demo branch but not on this
branch. In order to make it possible to compile
`lib/mobile/verify/enroll`, temporarily use the private service which
has similar RPCs.

* Run `make go-mod-tidy-all`

* Make Swift app connect to public DT service on "Request Now" tap

* mobile: Add sheet for enroll request status

* Revert go.mod changes

This reverts commit b9af7a7614 and
2c00ecd7fa.

* Add `build.assets/tools/gomobile`

* Move gomobile back to main go.mod

This reverts commits 9b2a6c4ea3 and
a83c2959fa.
2026-06-16 17:29:26 +00:00
Paul Gottschling 007a9be195 Add page_type and outcome statements to 46 guides (#67723)
Continues the work from the previous batch (#67674).

We are standardizing docs guides to add a `page_type` frontmatter field,
with values for how-to guides, references, etc. We can then use this
field to apply linting rules that ensure each guide type follows
type-specific docs site conventions. The first convention is that each
docs page must have an outcome statement, the structure of which depends
on the guide's type. Human and AI agent readers can determine from the
outcome statement whether to continue reading the guide or not.

This change assigns the `page_type` frontmatter field to 46 guides.
Where an outcome statement is missing, it adds one. Where an outcome
statement exists, it ensures that the statement matches the standard
structure so we can add a linter later on.

Of the 46 guides:
- 12 guides already included the expected outcome statement, but needed
  a `page_type` frontmatter field.
- 19 guides included an outcome statement but required minor tweaks so
  they followed the expected structure.
- 15 guides had no outcome statement at all.
2026-06-16 17:27:27 +00:00
Alan Parra 54ce80d125 Fix command name in debug logs (#67853) 2026-06-16 17:18:58 +00:00
Erik Tate b72bc9faaf fixing issues with determining primary system role, disabling health (#67680)
check manager for kube service, and porting
GetClusterNetworkingConfig, GetClusterName, InventoryControlStream,
WatchEvents, and GetSessionRecordingConfig RPCs
2026-06-16 17:18:09 +00:00
Brian Joerger b2eb5e22b8 Fix SSO MFA not working for reusable Admin Action MFA requests in the WebUI when it's the only second factor (#67142)
* - Update Proxy to send 'second_factors' instead of 'second_factor' to the WebUI, with backwards compatiblity logic.
- Use new 'second_factors' field to accurately determine if Admin MFA is required; Fallback to prompting for a challenge if 'second_factors' is unset.

* Mock getMfaChallengeResponseForAdminAction in tests.
2026-06-16 17:17:57 +00:00
rhammonds-teleport 952536f3e5 Desktop Session Playback Hardening (#66925)
* Validate sessionID as UUID.

* Prevent desktop session player from leaking backend details through error messages. Add tests to validate that backend/internal errors are masked.

* Log an error when we fail to write an internall error message to the client during playback.

* Coerce sID parameter to canonical form

* session package already has a parse method. Let's use that.

* Remove incorrect copy-pasted comment

* Export 'Fakestreamer' type for ease of use.

* fix flaky test
2026-06-16 16:11:16 +00:00
Adam Carheden ab502f87ff Fix broken symlink in lib helm charts on darwin (#67834) 2026-06-16 16:01:04 +00:00
rosstimothy 2a44d71345 Bump github.com/oracle/oci-go-sdk/v65 to v65.117.1 (#67816)
This pulls in the latest OCI SDK in order to interact
with recently introduced regions.

This includes the following regions:

- ap-kulai-2
- sa-riodejaneiro-1
- af-casablanca-1
- me-alrayyan-1
2026-06-16 15:51:30 +00:00
Erik Tate d6e7f4d9d5 waiting for SRA cache before proceeding with test cases (#67856) 2026-06-16 15:51:01 +00:00
Alex CarrithersandZac Bergquist 396c23074e Use klauspost/compress/gzip for events session recording writer (#67794)
* events: use klauspost/compress/gzip for session recording writer

* Update lib/events/sessionlog_test.go

Co-authored-by: Zac Bergquist <[email protected]>

* switch gzip reader to klauspost/compress/gzip for improved performance

---------

Co-authored-by: Zac Bergquist <[email protected]>
2026-06-16 15:36:15 +00:00
Ryan Clark 129d150383 Add Classifier backend storage, cache, gRPC service, and tctl support (#67761)
* Add Classifier backend storage, cache, gRPC service, and tctl support

* Fix formatting in lib/services/summarizer_test.go

* Replace Cache.AllClassifiers with RangeClassifiers using genericLister

* Validate that the filter is a boolean expression

* Code review fixes: sync test, range fallback
2026-06-16 14:47:39 +00:00
Paul Gottschling 462a9d4b58 Clarify tsh request create and OSS Teleport (#67521)
Closes #67378

Clarify the relationship between Teleport Community Edition and
CLI-based Access Request creation:

- In the Access Requests landing page and OSS Role Requests page,
  indicate that using `tsh` is available to all editions, but add an
  explicit recommendation for using plugins.
- In Role Requests, indicate that the CLI is also an option for creating
  Access Requests. Link to CLI reference guide entries for relevant
  commands rather than the OSS Guide.

Note that, while the issue also calls for a link to the Single Machine
guide from the Enterprise section, self-hosting Teleport Enterprise on a
single machine is not the recommend approach, so this change does not
address this request.
2026-06-16 14:27:30 +00:00
Kenneth Roraback c9776b02da Add more icons for popular apps + 1 db icon; simplified DynamoDB & Redshift matching (#67787)
* Added new icons and matching rules

* Added DB matching rules for redis and oracle

* Deleted outdated redshift and dynamo icons

Deleted outdated and extraneous DynamoDB and Redshift icons and reassigned icon names to the latest icons shown in the AWS console.

* Split solveintelligence across lines

Too long to pass the linter!
2026-06-16 14:20:34 +00:00
Erik Tate fc058ab9a1 porting GenerateHostCerts RPC to scoped authorizer (#67610) 2026-06-16 13:50:47 +00:00
rhammonds-teleport 954bdd415e Desktop Session Playback - Improve Validation of Client Commands (#67061)
* Validate the client's JSON playback commands during unmarshalling. Improve playback tests to validate that invalid commands are rejected.

* Use trace instead of errors

* Rename PlayRecording -> SteamRecording

* Separate unmarshal and validation steps

* Validate -> Coerce
2026-06-16 13:18:45 +00:00
Noah Stride 54d6876924 Adjust ScopedToken to refer to scoped Bot using SQN (#67753)
* Adjust Scoped Token to use SQN for Bot

* fix docs
2026-06-16 13:17:33 +00:00
Ryan Clark bb018b13d2 Add Classifier create, update, and upsert RPCs (#67760) 2026-06-16 12:43:05 +00:00
dependabot[bot]andGrzegorz Zdunek a2058ab07a Bump @opentelemetry/core from 2.7.1 to 2.8.0 (#67842)
* Bump @opentelemetry/core from 2.7.1 to 2.8.0

Bumps [@opentelemetry/core](https://github.com/open-telemetry/opentelemetry-js) from 2.7.1 to 2.8.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/v2.7.1...v2.8.0)

---
updated-dependencies:
- dependency-name: "@opentelemetry/core"
  dependency-version: 2.8.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Revert unnecessary updates

* Bump other `@opentelemetry` packages, add caret (`^`) to their versions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grzegorz Zdunek <[email protected]>
2026-06-16 11:07:26 +00:00
dependabot[bot]andGrzegorz Zdunek 2fd9df3ad1 Bump undici from 7.25.0 to 8.4.1 (#67251)
* Bump undici from 7.25.0 to 8.3.0

Bumps [undici](https://github.com/nodejs/undici) from 7.25.0 to 8.3.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v7.25.0...v8.3.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 8.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Revert unnecessary updates

* Bump undici to 8.4.1

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grzegorz Zdunek <[email protected]>
2026-06-16 10:45:39 +00:00
dependabot[bot]andGrzegorz Zdunek 401246698c Bump vite from 8.0.14 to 8.0.16 (#67843)
* Bump vite from 8.0.14 to 8.0.16

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 8.0.14 to 8.0.16.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v8.0.16/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 8.0.16
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Revert unnecessary updates

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grzegorz Zdunek <[email protected]>
2026-06-16 10:44:20 +00:00
Ryan Clark 493b41d577 Resolve auth credentials from the E2E_DIR in CI (#67809) 2026-06-16 10:20:37 +00:00
Noah Stride dd2693eb69 Adjust ScopedRoleAssignment to refer to scoped Bot using SQN (#67728)
* Adjust ScopedRoleAssignment to refer to scoped Bot using SQN

* Adjust godocs to avoid triggering linter

* fix scopes docs
2026-06-16 09:32:23 +00:00
dependabot[bot]andGrzegorz Zdunek a15b59678f Bump which from 6.0.1 to 7.0.0 (#67249)
* Bump which from 6.0.1 to 7.0.0

Bumps [which](https://github.com/npm/node-which) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/npm/node-which/releases)
- [Changelog](https://github.com/npm/node-which/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-which/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: which
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Revert unnecessary updates

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grzegorz Zdunek <[email protected]>
2026-06-16 09:16:39 +00:00
Noah Stride 9fe6985113 Adjust provision.Token interface to unsplit Bot accessors in preparation for SQN (#67746)
* Adjust `provision.Token` interface to unsplit Bot accessors in preparation for SQN (variant b)

* add todo godocs
2026-06-16 08:28:45 +00:00
Gabriel Corado 79b38cde5f Add Anthropic handler implementation for LLM access (#67417)
* feat(llm): add anthropic handler

* test(anthropic): add benchmark tests

* refactor(anthropic): code review suggestions

* refactor(anthropic): add specific error for provider bad responses

* refactor(anthropic): change sse error

* refactor(anthropic): handle duplicated keys being forwarded to provider
2026-06-16 04:11:48 +00:00
Steven Martin ef2f4b1186 ui: include --format=text for tctl tokens add instructions (#60610) 2026-06-15 23:18:09 +00:00