Commit Graph
27181 Commits
Author SHA1 Message Date
Andrew LeFevre 4f19256298 support disk events on Linux kernel 7.0+ by conditionally hooking do_file_open (#67650)
* support disk events on Linux kernel 7.0+ by conditionally hooking do_file_open

* default to do_file_open
2026-06-24 18:07:01 +00:00
rhammonds-teleport d1daea9905 Desktop Access: Plumb Directory IDs through TDPB (#68033)
* Add DirectoryID to shared directory responses and plumb them through to the RDP client.

* Add 'multidirectory_sharing_supported' advertisement to TDPB ServerHello.
2026-06-24 17:22:50 +00:00
Michael Patterson-Muir c384a8b4b0 discovery: split tctl discovery nodes command wiring (#68000)
* removed presence check for IntegrationName as this can be empty when the fetcher is using ambient credentials.

* refactor command to support multiple subcommands

* lint fix
2026-06-24 17:02:27 +00:00
Michael Patterson-Muir cf05a8e2cc removed presence check for IntegrationName as this can be empty when the fetcher is using ambient credentials. (#67987) 2026-06-24 15:54:42 +00:00
Pawel Kopiczko 18e014736c MCP: Update docs for the configured URI /path (#67634)
* MCP: Update docs for the configured URI /path

* Use /.well-known/oauth-authorization-server in examples
2026-06-24 14:39:04 +00:00
Noah Stride 0cbc5fc40a RFD 229C: Add scope field to WorkloadIdentity resource and validation rules (2/5) (#67891)
* RFD 229C: Add scope field to WorkloadIdentity resource and validation rules (2/?)

* simplify/clean up validation
2026-06-24 10:10:18 +00:00
Tyler Richardson 4d2b220044 Add client-side version verification to join flow (#67627)
* Add client-side version verification to join flow

Check the cluster's minimum client version before client join and stop
reconnect retries when the local version is below that minimum.

* Simplify client version check using cmp.Or

* Clarify version check bypass in checkClientVersionSupported

* Replace ErrClientTooOld var with ClientTooOldError struct for improved error handling

* Add server-too-old check to client join version verification

* Remove testing parameters from production join flow

* Use pointer receivers for client version error types
2026-06-24 03:19:42 +00:00
mica 167e9e6175 docs: Adds a left-nav Beams entry to the docs navigation (#68070)
* docs: Adds a left-nav Beams entry to the docs navigation

* beams id correction
2026-06-23 23:57:02 +00:00
dependabot[bot]andTiago Silva dd9bf5111d Bump github.com/containerd/containerd from 1.7.32 to 1.7.33 (#68011)
* Bump github.com/containerd/containerd from 1.7.32 to 1.7.33

Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.32 to 1.7.33.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.7.32...v1.7.33)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-version: 1.7.33
  dependency-type: indirect
...

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

* go mod tidy all

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tiago Silva <[email protected]>
2026-06-23 21:56:53 +00:00
Alan Parra 4a778e724a Bump e/ (#68061) 2026-06-23 19:41:45 +00:00
Lisa Kim 6931d6fc77 Add tctl rm support for access list (#67463)
* Add tctl rm support for access list

* fix lint
2026-06-23 18:29:33 +00:00
Kevin 61a5432bba Enable slack native review with UI and plugin app (#67821) 2026-06-23 17:46:08 +00:00
Paul Gottschling 5e72fee777 Add aws commands for IAM steps in four guides (#68019)
Help us standardize on, in how-to guides, ensuring that CLI users such
as AI agents can easily follow the steps in the body of each guide. In
four guides, add `aws` commands to create IAM policies and attach them
to principals. While users can likely follow these steps without the
command examples, the commands allow them to do so with less friction
and thought.

This change edits the following guides:

- Guided and manual EC2 instance discovery guides
- Database enrollment getting started guide
- AWS EC2 join method guide
2026-06-23 17:22:39 +00:00
Noah Stride dc2620272b Generic RFD153 Scopes Aware Service (#68042)
* Hack on Generic RFD153 Scoped service

* debrit
2026-06-23 15:09:45 +00:00
Aleksei Kozadaev 9325334ab2 tsh: add "tsh apps logins" command. (#67899) 2026-06-23 14:46:13 +00:00
Pawel Kopiczko 4c174a13ae MCP: Remove tool access checker cache (#67671)
* MCP: Remove tool access checker cache

* Add benchmark code

* Remove unused const
2026-06-23 13:41:48 +00:00
Tiago Silva cf35a5f9ba feat(beams): carry beam_id through identity certificates (#67972)
* feat(certs): thread beam_id through identity certificates

Carries the beam identifier from a delegation session's BeamIDLabel into
issued SSH/TLS certificates and back out via the cert extensions/ASN.1 OID,
exposes it on tlsca/sshca Identity and the decision PDP identities, propagates
it through scoped cert reissue (auth_with_roles), and surfaces it on event
UserMetadata for attribution.

* handle missing event cases

* prevent overriding beams_id cert extension with roles cert extensions

* handle code review comment
2026-06-23 13:36:36 +00:00
Pawel Kopiczko d7ae6f8afb MCP: Fix HTTPS support for SSE (#68020)
* MCP: Fix HTTPS support for SSE

* Add streamable HTTP cases

* Change matching to include "://" instead
2026-06-23 12:30:07 +00:00
Alan Parra 4edb720912 Add a field mask to UpdateCertificateOverrideRequest (#68018)
* Add a field mask to UpdateCertificateOverrideRequest

* make grpc
2026-06-23 11:03:58 +00:00
Maja Cieślak 6b1ecf2c01 Add protos and OSS storage for EnrollPairing (#67862)
* Add RPCs for creating and getting EnrollPairing

* Add storage service for EnrollPairing

* `AWAITING_UNAUTHORIZED_CLIENT` -> `AWAITING_DEVICE`

* Mention RFD 32e in the comment for EnrollPairing message

* Use generic service to implement service for `EnrollPairing`

* Remove fake clock from tests

* Use a want object in tests

* Use `ErrorAs` for error-type assertions

* Add workaround for DynamoDB issue

* Capture just clock as a field

* Do not set PageLimit

* Copy fields to `want` rather than adding ignores

* Log and ignore error from GetResource on CreateEnrollPairing

* Update the workaround comment to refer to #68038

* Fix imports
2026-06-23 10:24:02 +00:00
Marco Dinis 453d5a43af Azure Client Join: discard non-Microsoft hosted AIA intermediate CAs (#68004)
* collect MS intermediate CAs

* log when skipping the remaining issuers
2026-06-23 08:20:24 +00:00
nixpig 5ec1d4a669 Add configurable backoff values to Okta sync settings (#67997)
* Add configurable backoff values to Okta sync settings

* Update comments to remove references to values defined elsewhere

* Add updated generated protos

* Update comments to include type
2026-06-23 07:28:09 +00:00
KennethandMaja Cieślak a57a6aa174 Make rejected accepts retryable in lib/limiter (#66928)
* Make rejected accpets retryable

* Added better test for server behavior on limiter accept errors

* Test for presence rather than absence

* Create callback so listener does not delay on failed IP limit Accept()

---------

Co-authored-by: Maja Cieślak <[email protected]>
2026-06-22 19:05:20 +00:00
Kevin a2946e3c1b Change slack oauth call to use formdata instead of url params (#67932) 2026-06-22 17:39:31 +00:00
Ghassan Gedeon Achi 94528c8145 fix: tctl help message broken with investigate (#67930) 2026-06-22 17:15:19 +00:00
Dustin Specker 47369cd233 feat(lib/services): remove workload cluster backend support (#67630)
The workload cluster service does not use Teleport's backend and instead
communicates directly with Teleport Cloud APIs, so remove the unused
service.
2026-06-22 16:57:36 +00:00
Kenneth 8689feb93e fix comment (#67492) 2026-06-22 16:54:06 +00:00
Tiago Silva e927ba30cc Bump go.mongodb.org/mongo-driver from 1.17.6 to 1.17.9 (#67977) 2026-06-22 16:31:35 +00:00
Travis LaDuke b40214cd86 Add BeamCreate and BeamDestroy usage events (#67738) 2026-06-22 16:31:19 +00:00
Nic Klaassen 37579cb6b1 [scopes] scope-aware generic resource backend (#67682)
* scope-aware generic service

* refactor to use WithScopePrefix
2026-06-22 16:29:46 +00:00
Grzegorz Zdunek 26f257c850 Update form-data, tar, protobufjs, js-yaml, and esbuild (#67918)
* Bump `form-data` to 4.0.5

* Bump `tar` to 7.5.16

* Bump `protobufjs` to 7.6.4

* Bump `js-yaml` to 4.2.0

* Bump `@storybook` to 10.4.6 to get rid of `[email protected].7`

* Bump `esbuild` to 0.28.1

* `pnpm dedupe`
2026-06-22 15:06:53 +00:00
Edoardo SpadoliniandMarek Smoliński 394ff188cb Avoid reentrancy in Cache.GetAccessListOwners (#67963)
* Shrink the interface needed by GetMembersFor

* Avoid reentrancy in Cache.GetAccessListOwners

* Try deadlocking in TestGetAccessListOwners

* Use a struct for accessListMembersListerStore

Co-authored-by: Marek Smoliński <[email protected]>

---------

Co-authored-by: Marek Smoliński <[email protected]>
2026-06-22 14:46:01 +00:00
Sakshyam Shah 96d3e8b202 msgraphtest: monkeypatch user and group delta endpoint (#67980)
* msgraphtest: monkeypatch user and group delta endpoin

* move map init under mutex lock

* put monkey patch methods under mutex
2026-06-22 14:08:00 +00:00
Paul Gottschling fd735364a1 Remove some sources of AI agent friction (#67866)
* Remove some sources of AI agent friction

Edit widely used partials and the Enroll Servers Getting Started guide
to address situations in which an AI agent ran into friction while
attempting to follow a how-to guide.

- Edit `install-linux.mdx` to add a removal command for existing
  binaries before installing Teleport, similar to the Go installation
  docs for Linux (https://go.dev/doc/install). This way, an agent
  working from a system with Teleport binaries installed (e.g., a beam)
  does not encounter an error.

- Edit tctl.mdx to mention Teleport authentiation from a beam.

- Edit start-teleport.mdx to include instructions for environments
  without systemd, like a Teleport beam.

- Edit the Enroll Servers Getting Started guide. Step 4 refers to a
  label that we didn't introduce earlier in the guide.  Fix that by
  editing the `configure` command.

* Explain the use of TELEPORT_PROXY in tctl.mdx
2026-06-22 14:00:47 +00:00
Steven Martin de668d41e1 docs: Update CA overrides (#67970) 2026-06-22 13:37:57 +00:00
Noah Stride e2d44c77b8 RFD 229C: Extend ScopedRole for WorkloadIdentity, extend audit log events (1/5) (#67889)
* RFD 299C: Extend ScopedRole for WorkloadIdentity, extend audit log events

* regenerate op/tf

* Better cover validation tests
2026-06-22 12:56:26 +00:00
Tiago Silva 008e7462c8 feat(proto): add beam_id to audit + decision identity protos (#67966)
Proto changes only. Adds the beam identifier so actions can be attributed
to the beam that initiated them:
  - events.UserMetadata.BeamID (audit log attribution)
  - decision SSHIdentity/TLSIdentity BeamID (PDP identities)
Includes the regenerated protobuf stubs. The Go wiring that populates and
consumes these fields lands in a follow-up PR.
2026-06-22 10:18:06 +00:00
Trent ClarkeandNic Klaassen b0035e8521 Stop swallowing gRPC error in join client (#67964)
* Stop swallowing gRPC error in join client

The failure test for a gRPC send was checking the wrong error
value, silently ignoring any send failures.

* add regression test

---------

Co-authored-by: Nic Klaassen <[email protected]>
2026-06-22 03:21:52 +00:00
Trent Clarke c88321895b Ensure request body is correctly closed in debug server (#67965)
Prior to this patch, the request body could leak if an error ocurred
in `io.ReadAll()`. Moves the deferred `Close()` call to before the
`ReadAll()` call to ensure the body is closed.
2026-06-21 23:59:34 +00:00
Alan Parra 76aad3bbcf Add the tctl auth delete-override command (#67923)
* Add the `tctl auth delete-override` command

* make cli-docs

* Use proto opaque API
2026-06-19 18:05:00 +00:00
Noah Stride e7075c7ade Fix TestHandleConnection and TestHandleConnectWS slowness (#67940) 2026-06-19 16:49:55 +00:00
Ryan Clark b19a4d2f0d Capture inactivity periods when processing desktop sessions (#67721)
* Move the inactivity event helper to the base recording processor

* Expose per-frame activity signals from the desktop thumbnail generator

* Emit inactivity events for desktop session recordings

* Add a test for a fully inactive desktop session

* Change to defer

* Track changed pixels by region to differentiate between typing and clock

* Avoid marking typing as inactivity

* Add mouse button detection

* Only track inactivity if the decoder is available
2026-06-19 16:40:42 +00:00
Alan Parra 72d22e600a Add the tctl auth create-override command (#67907)
* Add the `tctl auth create-override` command

* Improve add help strings

* make cli-docs

* Use proto opaque API
2026-06-19 16:19:20 +00:00
Ryan Clark c0d806b4b2 Declare missing peers so pnpm global virtual store works (#67855)
* Declare missing peers so pnpm global virtual store works

* Add storybook/react-vite for storybook

* Pin to major versions

* Fix Storybook not working with pnpm virtual store
2026-06-19 10:46:43 +00:00
1163e39d63 Bump undici from 8.4.1 to 8.5.0, from 7.25.0 to 7.28.0 (#67944)
* Bump undici from 8.4.1 to 8.5.0

Bumps [undici](https://github.com/nodejs/undici) from 8.4.1 to 8.5.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v8.4.1...v8.5.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 8.5.0
  dependency-type: direct:development
...

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

* Revert unnecessary updates

* Bump undici 7.25.0 to 7.28.0

---------

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]>
Co-authored-by: Maja Cieślak <[email protected]>
2026-06-19 10:08:10 +00:00
Ryan Clark 35de5d906f Unskip classifier enterprise tests (#67886) 2026-06-19 09:01:45 +00:00
Trent Clarke c3975a937b [AWSIC] Tightened filter validation and application (#67234)
Fixes a couple of issues discovered the Identity Center resource filtering code:

 1. The regex-based filters compile their regexes on every search, rather
    than once up front. This is not as bad as it sounds due to Teleport's
    regex cache, but it is still not ideal.
 2. The filter validation and execution steps behave differently, so that
    it is possible for an invalid filter to make in past validation and
    only be discovered while the plugin is running.
 3. The volume log spam generated by a poorly-formed filter that managed
    to make it past validation would *astronomical*.

This patch addresses those issues by

 1. Compiling the wire-format, protobuf filter objects from the plugin
    spec into a known-good filter at construction time, and using that
    as the runtime definition of the filter.
 2. Compiling the filter regexes during this construction-time setup
    rather than just hoping that they are cached by Teleport
 2. Validating the filter stack once during this compilation phase,
    rather than forcing the runtime matching code to be super very
    defensive. This also removes inconsistent behaviour between the
    validation at construction time vs. run time.
2026-06-19 03:48:01 +00:00
Nic Klaassen edc5be0323 stub scope encoding (#67732) 2026-06-18 22:10:16 +00:00
Gustavo Medori 90299cb6a5 iOS: Add linting and formatting utilities (#67897)
* Add initial .swiftformat file with sensible defaults

* Apply swiftformat formatting to all code

* Remove file creation header from VerifyApp.swift

* Move .swiftformat to be near the Xcode project, closer to other iOS-specific configs

* Add .swiftlint configuration with a couple common sense rules and some funky TODO regular expressions

* Apply swiftlint rules and add it as a build plugin

* Remove swiftformat as a package dependency, using the CLI instead

* Remove custom TODO lint rules

* Update .swiftformat rules
2026-06-18 20:53:44 +00:00
Pawel Kopiczko ae02c4554d MCP: Protect against potential session ID forgery (#67397) 2026-06-18 20:07:10 +00:00