Commit Graph
27021 Commits
Author SHA1 Message Date
Hugo Shaka ccc9b36a1f remove seemingly unused tf file (#67712) 2026-06-11 15:21:05 +00:00
Ryan Clark 467ec97484 Add output incomplete reason to summarizer proto (#67703) 2026-06-11 14:41:14 +00:00
Edoardo Spadolini 8ddaac3698 Use unwrapped connections to the Auth API in agents connected to a control plane in multiplex mode (#64177)
* Run the connection upgrade test with reversetunnelv2

* Use unwrapped connections to the auth in multiplex listener mode

* Clarify wording in debug log

* Add a test for ALPN used in direct and proxy mode

* Update godocs

* Change struct names for better clarity
2026-06-11 14:25:34 +00:00
Travis Rodgers 77008219b5 docs: adding Agentic Identity Framework callouts (#66682)
This PR adds the `Callout` component to Agentic Identity Framework related pages like MCP, Workload Identity, etc.
2026-06-11 14:10:05 +00:00
Travis Rodgers 0ca10ce2a3 docs: spelling fixes (#67684)
This commit fixes various spelling errors throughout the docs
2026-06-11 13:36:50 +00:00
Maja Cieślak 5db931b71b Add missing type modifier to ResourceIconName import (#67554) 2026-06-11 13:16:46 +00:00
Noah Stride a43fd71911 Migrate GetTunnelConnections/GetAllTunnelConnections to gRPC (#66066)
* hack on migrating list RPC

* Fix tests

* Tidy up/fix tests

* Use `clientutils.CollectWithFallback`

* Use clearer c.APIClient rather than rely on embeding

* Cover ListTunnelConnections in cache test

* tweak logging

* update deprecation version

* Move fallback impls

* fix span ctx prop

* fix pagination bug when unmarshal bad

* USe t.Context()

* fix ctx propagation

* Update tunn conns to use range pattern - thanks luke

* fix unneeded dependency

* fix deprecation

* env: dev
use opaque API
2026-06-11 12:44:50 +00:00
Alex Carrithers 76372472d2 Close AWS app signer SSRF via X-Forwarded-Host parser differential (#67620) 2026-06-11 11:03:40 +00:00
Ryan Clark aedcd1d851 Add property-based testing for thumbnails/metadata generation (#67324)
* Add property-based testing for thumbnails/metadata generation

* Convert the resize test to a normal table test

* Increase the timeouts

* Reduce dimensions to avoid CI from dying
2026-06-11 09:32:54 +00:00
Noah Stride 161503d5d1 Extend WatchEvents/SPIFFEFederation RPCs for Scoped SPIFFE (#67233)
* Extend WatchEvents/SPIFFEFederation RPCs for Scoped SPIFFE

* Trim comments

* Use scopes.Feature inject

* fix opaque api usage
2026-06-11 08:58:33 +00:00
Edoardo Spadolini be792eebf1 Fix flaky backend batch tests (#67683) 2026-06-11 08:21:54 +00:00
Lisa Kim 7d75de9212 Web: allow pointer events on disabled tabs (#67223)
* Web: allow pointer events on disabled tabs

* Add test

* Address review
2026-06-11 05:23:54 +00:00
Adam CarhedenandHugo Shaka e27404bd9d Factor teleport-proxy-lib library chart out of teleport-cluster (#67296)
* Factor teleport-proxy-lib library chart out of teleport-cluster helm chart

* Remove 'FQDN' suffix from variable name and clean up comments

* Restored $proxy in config templates to minimize differences in review.

* Restored unnecessary changes to ingress template

* Fix unnecessary change in predeploy job

* used deep copy for .Values

* Explain renter-time _validation in comment

* Set domain for proxy config test

* Fixed snapshot and test differences

* Cleaned up comments

* Replace mistakenly removed asserts

* Added forceHAReplicas tests

* Fixed edge case of replicas=0, preserving previous behavior

* Eliminated intermediate version/majorVersion templates and used util lib templates directly

* Update examples/chart/lib/teleport-proxy-lib/templates/_ingress.tpl

Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>

* Removed unneeded alias for teleport-proxy-lib

* Corrected teleport-cluster schema bugs and removed teleport-proxy-lib validation not also done by schema

---------

Co-authored-by: Hugo Shaka <hugo.hervieux@goteleport.com>
2026-06-10 22:22:00 +00:00
mica a36cdf00cf docs: distinguish host user creation from host sudoers in SSH guides (#67344)
* docs: distinguish host user creation from host sudoers in SSH guides

* clarified conflicting language, added missing comma to yaml as it was causing syntax errors when testing, and clarified examples

* post-feedback: clarifications and corrections

* added note about insecure-drop users
2026-06-10 21:44:06 +00:00
Jake Alti ae190af5ba fix(kube/join): reject Kubernetes join JWT with no service account claim (#67597) 2026-06-10 21:32:35 +00:00
Andrew LeFevre 51c87fff76 cleanup ebpf resources when bpf.New returns with an error (#67567) 2026-06-10 21:27:36 +00:00
Steven Martin e6888784ef docs: Ref fixes (#67622) 2026-06-10 18:50:48 +00:00
Tiago Silva 041ea89e69 Export session recording thumbnail encoder (#67614)
Rename encodeSessionRecordingThumbnail and its result type
sessionRecordingThumbnailResponse to the exported
EncodeSessionRecordingThumbnail and SessionRecordingThumbnailResponse so
the enterprise session search web handler can reuse the proto-to-JSON
thumbnail conversion instead of duplicating it.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2026-06-10 18:38:46 +00:00
Kevin b1922cd5f8 Add native review config and app-level client for Slack plugin (#67208)
* Add review config and app-level client for slack plugin

* Address feedback
2026-06-10 18:31:52 +00:00
Forrest 52f4a21526 scope-qualified names (#67364) 2026-06-10 18:25:05 +00:00
Andrew Burke 242cd598c6 Fix users bypassing deny rules in role impersonation (#67584) 2026-06-10 18:01:00 +00:00
Andrew Burke 0e5135c1f2 Key remote port forwards by cluster (#67525) 2026-06-10 17:10:20 +00:00
Jake Alti 155d292f20 kube: disable client-go rate limiter on agent's kube client (#67644) (#67658) 2026-06-10 16:28:27 +00:00
Alex Carrithers 31e4dc52cb Cap AWS AssumeRole sessions to Teleport identity TTL (#67617) 2026-06-10 15:05:11 +00:00
Ryan Clark ef833a355b e ref update (#67672) 2026-06-10 13:20:10 +00:00
STeve (Xin) Huang b76e7c49c4 [beams] beams_config audit events (#66810)
* [beams] beams_config update event

* update events to match beam proto change
2026-06-10 12:56:51 +00:00
Ryan Clark de6fd032d6 Composite cursor in Rust (#66697)
* Composite the cursor in Rust during ResizeCrop

* Apply code review feedback

* Update test

* Move CursorBitmap to an enum, remove Cow, avoid cloning the bitmap

* Remove dereference

* Invalidate E2E Rust cache on decoder changes
2026-06-10 09:27:47 +00:00
Noah Stride 6c846235ed Remove CreateWebSession HTTP RPC pathway (#67615)
* Remove CreateWebSession HTTP RPC path for creation of new web sessions

* Rename create -> extendWebSession
2026-06-10 08:41:52 +00:00
Forrest 6757719beb scoped api level authz rework (#67133) 2026-06-09 23:58:10 +00:00
Gavin Frazar 6b368c0234 Quote VERSION in docs make recipe (#67639)
VERSION can be empty if there is an error running get-version.
Quote the arg so that empty VERSION is detected and returns
an error when running make docs.
2026-06-09 22:46:53 +00:00
Tim Buckley b6d7613992 MWI: Ignore user_login_state for bots (#66737)
* MWI: Ignore `user_login_state` for bots

This change is part of a fix for gravitational/teleport#63920, where
the Okta usermonitor will inadvertently create unneccessary ULS
entries for bots when they are deleted. Normally, these ULS entries
are sane, but if the bot is deleted and recreated too quickly, there's
a race.

Here's the sequence of events:
1. The user creates a bot (`tctl bots add` or similar)
2. The usermonitor watcher catches the OpPut and creates a sane ULS
   entry
3. The user deletes the bot (`tctl bots rm ...`)
4. The usermonitor watcher catches the OpDelete and replaces the sane
   ULS with an empty variant, with no roles or labels.
5. The user recreates the bot (`tctl bots add ...`)
6. One of two events happens first:
   1. The usermonitor watcher catches the OpPut and replaces the bad
      ULS with a sane variant.
   2. The bot joins and receives certificates

If 6.1 occurs before 6.2, the bot joins normally and receives valid
certificates. If 6.2 occurs before 6.2, the bot is issued certs with
roles derived from the bad ULS (i.e. empty list) and fails to start
due to the invalid cert bundle.

In my testing, the race window is ~1 second. I see a ~10% failure rate
if the bot is joined within 0.5 seconds of being recreated, and a 50%
failure rate if the bot is joined immediately (well, as immediately as
tbot can start after `tctl bot add ...` returns). Bot joins generally
succeed if there's >= 1 second between recreate and join.

The associated teleport.e makes the usermonitor ignore bots so new
invalid ULS entries won't be created. However, this isn't sufficient
to fix the bug for existing clusters. This PR adds 2 additional fixes:
- `GetUserOrLoginState()` always returns the user variant for bots,
  ignoring any potential ULS.
- Deleting a bot now deletes any ULS entry for the bot

See also: https://github.com/gravitational/teleport.e/pull/8773

* Fix failing test
2026-06-09 22:30:37 +00:00
Tim Buckley fc15432d97 Bump e (#67589)
This bumps e/ to include 5956f8b9efc643a127fb010664e511ae334bcadd, a
fix for invalid user_login_state for bots.
2026-06-09 22:16:37 +00:00
Kevin f63ce7cecc Implement auth checks for RBAC rule review_requests.submit_for_users (#66230) 2026-06-09 20:11:23 +00:00
Ben ArentandPaul Gottschling 0f8210cdb7 Add teleport-session-review skill for Session Recordings + Session Recording Search (#67491)
* First Draft of teleport-session-review skill

Framework based on ACL skill

* Adds Examples and Playbook for how to use Session Search

* Add a preflight check

* Feedback from Docs

* Extra Testing on a Teleport Cloud Tenant

* Docs to Skill

* Remove local dev for now

* update locate commands to include $TSH

* Update docs/pages/identity-security/session-summaries/session-search.mdx

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>

* Remove Filter caveats

These have been fixed

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2026-06-09 19:55:56 +00:00
Kevin ed080fa018 Add Slack Socket Mode client for app interactions (#67148)
* Add slack socketmode client

* Address feedback; extend status; increase write wait

* Apply auto-reset to retry attempts counter

* Add link_disabled as fatal error

* Address feedback; change omitempty to omitzero
2026-06-09 17:54:44 +00:00
Lion Chen f3c6f65e1c Document User Display Names and How Teleport Derives Them (#67459)
* Document user display names and how Teleport derives them

* remove redundant notes on display name behavior in user types documentation

* drop unnecessary word

* refine user display name mapping for Okta, Microsoft Entra ID, SAML/OIDC, and SCIM integrations

* refactor: streamline display name documentation across identity provider integrations

* update user display name documentation

* improve clarity and consistency in user display name documentation
2026-06-09 16:05:28 +00:00
Marco Dinis ab4c46b0cd Server Discovery: fix sudo->sudo-rs migration for ubuntu 25.10+ (#67522) 2026-06-09 14:19:23 +00:00
dependabot[bot]andTiago Silva f997e37f41 Bump github.com/quic-go/quic-go from 0.57.0 to 0.59.1 (#67453)
* Bump github.com/quic-go/quic-go from 0.57.0 to 0.59.1

Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.57.0 to 0.59.1.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.57.0...v0.59.1)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-version: 0.59.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* go-mod-tidy-all

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tiago Silva <tiago.silva@goteleport.com>
2026-06-09 14:13:02 +00:00
Alan Parraandrosstimothy fbc47e7d37 Add public docs for the CA override feature (#67403)
* Add public docs for the CA override feature

* Use `code` blocks instead of `shell`

* Number steps as n/d. Move alternatives to H3.

* Move intro paragraphs to "How it works"

* Remove "Supported CAs" section, move its contents to other sections

* Mention specific commands in the info box

* Emphasize future growth

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>

---------

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2026-06-09 14:00:58 +00:00
dependabot[bot] 648d2c1060 Bump the go group across 1 directory with 5 updates (#67546)
Bumps the go group with 5 updates in the /build.assets/tooling directory:

| Package | From | To |
| --- | --- | --- |
| [buf.build/go/bufplugin](https://github.com/bufbuild/bufplugin-go) | `0.9.0` | `0.10.0` |
| [github.com/DataDog/datadog-agent/pkg/template](https://github.com/DataDog/datadog-agent) | `0.77.2` | `0.79.2` |
| [golang.org/x/mod](https://github.com/golang/mod) | `0.35.0` | `0.36.0` |
| [golang.org/x/tools](https://github.com/golang/tools) | `0.44.0` | `0.45.0` |
| [helm.sh/helm/v3](https://github.com/helm/helm) | `3.20.2` | `3.21.0` |



Updates `buf.build/go/bufplugin` from 0.9.0 to 0.10.0
- [Release notes](https://github.com/bufbuild/bufplugin-go/releases)
- [Changelog](https://github.com/bufbuild/bufplugin-go/blob/main/RELEASE.md)
- [Commits](https://github.com/bufbuild/bufplugin-go/compare/v0.9.0...v0.10.0)

Updates `github.com/DataDog/datadog-agent/pkg/template` from 0.77.2 to 0.79.2
- [Release notes](https://github.com/DataDog/datadog-agent/releases)
- [Changelog](https://github.com/DataDog/datadog-agent/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/DataDog/datadog-agent/compare/pkg/api/v0.77.2...pkg/api/v0.79.2)

Updates `golang.org/x/mod` from 0.35.0 to 0.36.0
- [Commits](https://github.com/golang/mod/compare/v0.35.0...v0.36.0)

Updates `golang.org/x/tools` from 0.44.0 to 0.45.0
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](https://github.com/golang/tools/compare/v0.44.0...v0.45.0)

Updates `helm.sh/helm/v3` from 3.20.2 to 3.21.0
- [Release notes](https://github.com/helm/helm/releases)
- [Commits](https://github.com/helm/helm/compare/v3.20.2...v3.21.0)

---
updated-dependencies:
- dependency-name: buf.build/go/bufplugin
  dependency-version: 0.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/DataDog/datadog-agent/pkg/template
  dependency-version: 0.79.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/mod
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/tools
  dependency-version: 0.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: helm.sh/helm/v3
  dependency-version: 3.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 13:26:39 +00:00
Marek Smoliński 5cee7e2c7a SCIM: Add rate limit proto settings (#66826) 2026-06-09 13:06:45 +00:00
Andrew LeFevre 9f9f7a639d expose error when PAM fails to write to stream (#67570) 2026-06-09 13:05:54 +00:00
Steven Martin 14ec04c008 docs: Bound keypair fixes (#67588)
* docs: Bound keypair fixes

* docs: fix indentation
2026-06-09 12:49:57 +00:00
dependabot[bot] 3e6fe4e654 Bump github.com/hashicorp/terraform-plugin-testing (#67555)
Bumps the go group with 1 update in the /integrations/terraform-mwi directory: [github.com/hashicorp/terraform-plugin-testing](https://github.com/hashicorp/terraform-plugin-testing).


Updates `github.com/hashicorp/terraform-plugin-testing` from 1.15.0 to 1.16.0
- [Release notes](https://github.com/hashicorp/terraform-plugin-testing/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-testing/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/terraform-plugin-testing/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-testing
  dependency-version: 1.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-09 12:25:39 +00:00
Jake Alti d08509b84d Add proxy verb to kubernetes_resources (#67583)
* Add proxy verb to kubernetes_resources

* Preserve upstream kube Status code in forwarder

* Readable comment

* Strip [scheme:]name[:port] on kube proxy paths

* Use SplitSchemeNamePort from k8s apimachinery
2026-06-09 12:23:50 +00:00
Marek Smoliński 0404d46d73 SCIM Client rate limiting error (#67313)
* SCIM Client rate limiting error

* update
2026-06-09 12:23:29 +00:00
Noah Stride 42829df6c5 Refactor ListWorkloadIdentities to RangeWorkloadIdentities (#67504)
* Introduce RangeWorkloadIdentities

* inline matchWorkloadIdentity

* simplify test on resource service

* simplify tests in cache

* golint

* Leverage `stream.Fail`

* OPAQUE
2026-06-09 09:56:21 +00:00
Marco Dinis 5815616cd9 Server Discovery: use /opt/teleport when checking for disk space (#67444)
When Discovery Service tries to install teleport in a given instance, so
that it can join the cluster, it first does a couple of preflight checks:
- sudo, bash, curl commands exist?
- enough disk space?
- ...

When checking for disk space we are using /opt folder.
Howevers VMs can have a specific mount point for the /opt/teleport.

This changes ensures we check the correct folder, and in order.
So, if /opt/teleport exists, that's the folder that will be used when
checking for required space.
2026-06-09 09:51:28 +00:00
nixpig 6f88342fca Add Okta assignment target status to tctl resource output (#67498) 2026-06-09 09:19:44 +00:00
Alex Carrithers 8de3b4f238 tctl: add structured output to status commands (#67201)
* tctl: add structured output to status commands

* tctl: use test context in auto update agent status tests
2026-06-09 08:36:53 +00:00