Commit Graph
27011 Commits
Author SHA1 Message Date
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
Angel Dionisio 5c925211cc Make build.assets/Dockerfile-centos7 Kaniko-compatible (#67272)
* make CentOS 7 Dockerfiles Kaniko-compatible

* normalize CentOS 7 buildlogs arch names
2026-06-08 21:46:41 +00:00
Ben Arent d98ef2bfb9 Bump Date for Identity Activity Center (#65530) 2026-06-08 20:45:31 +00:00
Steven Martin 103298a129 docs: Fix k8s enrollment pages (#67465)
* docs: Fix k8s enrollment pages

* docs: Update minimal set of roles
2026-06-08 19:51:15 +00:00
Jake AltiandEdoardo Spadolini 0bb1c4638a kube: cap TLS handshake to 15s on kube proxy listener (#67158)
* kube: cap TLS handshake to 15s

* kube: modernize handshake listener tests with synctest

* update tests

* kube: fix testifylint

* kube: keep accept loop alive past transient errors

* kube: bound handshake via WriteTimeout reset

* kube: log instead of panic on deadline reset

* kube: test handshake bound and stream reset

* Apply suggestion from @espadolini

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>

* kube: fix synctest deadlock in long-handler test

* kube/grpc: update WriteTimeout assertion

---------

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>
2026-06-08 19:29:47 +00:00
Lion Chen c8d24fdd61 Surface User Display Names in the Web Users Page and User Details (#67406)
* Surface user display names in web Users page and user details

* Refactor user authentication type display and update related tests

* reduce code churn

* add 16px back

* Refactor UserDisplayName component for improved layout and update related tests

* Refactor UserDetails tests to improve rendering checks and remove unnecessary assertions
2026-06-08 19:18:52 +00:00
Alan Parra 34354310c7 Migrate subca protos using open2opaque (#67559) 2026-06-08 18:33:16 +00:00
Pavel 2265165125 Improve role expressions validation (#66030)
* add session filter, access predicate, impersonate checks; fail fast on invalid expressions at create/update

* add list indexes to role validation error messages

* reject wildcards in search_as_roles and preview_as_roles

* validate join_sessions and require_session_join fields

* include index and tool value in mcp.tools validation error

* update commentary

* aggregate errors in ValidateRole

* aggregate errors in ValidateAccessPredicates

* validate linux_desktop_logins templates
2026-06-08 17:35:49 +00:00
Edoardo Spadolini 98bdeb0540 Fix missing early return in reverse tunnel transport handler (#67560) 2026-06-08 17:14:06 +00:00
Lion Chen af259fe33f Add Shared Server-Side Username Display Resolver (#67411)
* Add shared server-side username display resolver

* move functions into users

* wording
2026-06-08 16:16:09 +00:00
Zac Bergquist de64834bf5 Fix copy-paste bug in proxy cluster dialer (#67410)
In the fallback path when addresses are pulled from the context,
we were incorrectly setting the destination address to the source
address, which results in incorrect auditing.
2026-06-08 15:27:31 +00:00