Commit Graph
2934 Commits
Author SHA1 Message Date
rhammonds-teleport d563443346 Desktop Access: Support Shared Directory Removal (Backend only) (#65101)
* Add support for removing shared directories to Windows Desktop Service (TDPB only)

* Advertise support for shared directory removal

* Gracefully handle unknown device errors when removing RDPDR devices, but log a warning as this is probably caused by a bug.
2026-04-14 18:45:00 +00:00
Dan Upton 4860cf3c6b Add DelegationSessionService.GenerateCerts RPC (#64897)
* Add `DelegationSessionService` protobuf definition

* Implement `GenerateCerts` RPC

* Prevent restricted delegation sessions from inheriting administrative privileges

Previously, the `resources` list on a delegation session would restrict regular
access to resources that weren't explicitly included, but not administrative
actions.

Now, we explicitly deny all administrative (rule-authorized) actions for
delegation sessions unless you include a wildcard in `resources`.

* Only permit list/read/readnosecrets for allow-listed resource kinds

* Fix reused extension OID

* Add a small amount of tolerance for clock skew

* Make the "expires must be in the future" message clearer

* Fix linter errors

* Access to a windows desktop implies access to the desktop service

* Add `DelegationSessionID` to the decision package's `SSHIdentity` and `TLSIdentity`

* Wrap `ExtractConditionForIdentifier` for delegation sessions too

* Prevent calling `GenerateCerts` inside a delegation session

* No need for indirection with GenerateUserCerts method now

* Fix import ordering

* Stop delegation service from returning CA certificates

Per @strideynet's request, to avoid replicating existing bad patterns around
conflating the user and host CAs.

* Error messages should start with lowercase letters

* Add `RouteToKubernetes` wrapping message

* Replace expires parameter with TTL

* Remove unnesasary error check

* Fix `AgentScope` extension type assertion
2026-04-14 16:47:32 +00:00
williamong-tel 0a3650c55b Adjust ping endpoint (#65710)
* Adjust ping endpoint

Update webclient.go

* Update to put scopes under auth

Update webclient.go
2026-04-13 19:12:31 +00:00
Chris Thachandrosstimothy 3b28078920 Register ValidatedMFAChallenge resource to cache. Add generic watcher for leaf cluster replication. (#65437)
* Add ValidatedMFAChallenge filter type and event matching.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add ValidatedMFAChallenge to events so it can be replicated.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Revert cache changes.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Don't match if target cluster is empty.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Register ValidatedMFAChallenge resources into event stream. Add resource watcher.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Simplify changes.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Revert "Simplify changes."

This reverts commit 7aa2c34838.

* Bring back types adapter and add cases to events.go.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Return wrapped resource.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Apply suggestion from @rosstimothy

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

* Remove unused.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

---------

Signed-off-by: Chris Thach <chris.thach@goteleport.com>
Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2026-04-13 18:45:16 +00:00
Tiago Silva 60a7e68e07 sessionsearch[9]: add session search proto definitions for Auth and Access Graph (#64711)
Adds two proto files that together define the session summary search
feature.

  proto/accessgraph/v1/session_search.proto — internal, Auth->Access Graph
    Used exclusively by the Auth server. Defines SessionRecordingService
    with two RPCs:
      - SearchSessionSummaries: a bidirectional streaming RPC the Auth
        server uses to paginate through session summaries stored in the
        Access Graph. The Auth server sends search_params on the first
        message, receives batches of SessionSummary results each
        terminated by a PageComplete, and sends FetchMore to advance pages.
        Each SessionSummary includes session_end_event — the raw audit
        event the Auth server evaluates against the requesting user's RBAC
        permissions before deciding whether to forward the result to client.
      - StoreSessionSummary: used by the summarizer pipeline to persist
        session summaries and their vector embeddings to the Access Graph.

  api/proto/teleport/sessionsearch/v1/session_search.proto — public, Client->Auth
    Used by Teleport clients (tsh, web UI handler, etc.). Defines
    SessionSearchService.SearchSessionSummaries as a unary-request /
    server-streaming RPC. The Auth server implements this service: it
    receives the client's filter criteria, fans out to the Access Graph
    via the internal bidi stream above (handling all pagination
    internally), filters each result using session_end_event, and streams
    only the permitted SessionSummary results back. Clients see a single
    continuous stream with no pagination mechanics exposed to them.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2026-04-13 13:27:12 +00:00
Tiago Silva 43e372c148 sessionsearch[6]: add TestRetrievalModel RPC to SummarizerService (#64672)
Adds a TestRetrievalModel RPC to SummarizerService, mirroring the existing
TestInferenceModel

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2026-04-13 12:43:13 +00:00
Noah Stride 591bfc8e2f Support enterprise/enterprise_id in github join method (#65655)
* Support enterprise_id/enterprise in gha

* Update various IaC

* Update reference

* Add explicit warning to docs and update reflect_legacy_test
2026-04-13 12:10:42 +00:00
Tiago Silva f906ba7b01 sessionsearch[3]: wire summarizer resources into the cache layer (#64560)
Adds cache support for all summarizer resources (InferenceModel,
InferenceSecret, InferencePolicy, and RetrievalModel) by implementing
event parsers, cache collections, and read-through methods.

Part of https://github.com/gravitational/teleport.e/pull/8046

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2026-04-13 11:59:46 +00:00
Tiago Silva e005029bd6 sessionsearch[2]: implement RetrievalModel CRUD backend service (#64558)
Adds the RetrievalModel singleton resource, which configures the
embeddings provider and inference model used for session search.

Part of https://github.com/gravitational/teleport.e/pull/8046

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2026-04-13 11:13:11 +00:00
Tiago Silva 295edcf34d sessionsearch[1]: add RetrievalModel resource and CRUD RPCs to SummarizerService (#64554)
Introduces the RetrievalModel proto resource, which configures the
embeddings provider (OpenAI or Amazon Bedrock) and inference model used
for session search. Adds Create/Get/Update/Upsert/Delete RPCs to
SummarizerService.

Part of https://github.com/gravitational/teleport.e/pull/8046

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2026-04-13 10:27:46 +00:00
Brian Joergerandrosstimothy cb1c27e6ed Fix IP Pinning Bypass w/ direct dial to Node (#65087)
* Enforce IP Pinning for SSH connections if deemed necessary by the Decision Service.

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

* Fix missing IP Pinning permit builder; Fix keyboard interactive.

---------

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2026-04-10 20:35:26 +00:00
rosstimothy 76a5ef03a7 Expose IsEqual for AccessRequests (#64141)
`(AccessRequestV3) IsEqual` was added with a partially goderived
implementation to remove go-cmp comparisons outside test files.
This was not as straightforward as other resources due to
goderive not being able to handle interfaces. Due to the
oneof in AccessRequestsV3 goderive would silently fail
with a partially generated equality function for access requests.

The TeleportEqual derive plugin was updated to ignore the details
field. They are manually validated in `(AccessRequestV3) IsEqual`
if all other fields match.

`resourceAccessIDEqual` manually validates the constraints fields and
relies on goderived equality functions for each concrete type.
2026-04-09 21:30:50 +00:00
Nic Klaassen c44223a029 [scopes] fix: collect inherited scoped role grants (#65354)
This change makes accesslists.GetInheritedGrants properly collect
inherited scoped role grants, in addition to the existing role and trait
grants.

Also exports grant conversion helpers to they can be called from e.
2026-04-09 20:22:34 +00:00
Nic Klaassen f64f5039ef [scopes] add scoped role assignment status (#65247)
* [scopes] add scoped role assignment status

* fix rfd lint

* prevent users from setting the status
2026-04-09 19:17:34 +00:00
Dan Upton ca377d262a Add support for beams to RBAC roles (#65511)
* Add support for beams to RBAC roles

* Add KindBeam to LabelMatcherKinds

* Update CRDs

* Add beam labels and expression to role/trait tests
2026-04-09 17:50:35 +00:00
Noah Stride a1a8de911c MWI Scopes[3]: Introduce IssuanceService (#65312)
* MWI Scopes[3]: Introduce IssuanceService

* Use helper rather than raw comparison

* extend test suite

* v1pb -> issuancev1pb
2026-04-09 15:47:49 +00:00
Nick Marais 194536acb1 feat(beams): Entitlement and BeamsUI mode (#65083)
* Register beams entitlement and UI mode

# Conflicts:
#	api/client/proto/authservice.pb.go

* Register in web UI

* Revert moving t.Cleanup

* Prevent BeamsUI being enabled without the Beams entitlement

* Add string length safety

* Reuse cluster for tests
2026-04-09 15:45:53 +00:00
Ryan Clark badd1f326c Add icons and proto updates for session summaries (#65583)
* Add flag/arrow up icons

* Add more command categories for the summarizer
2026-04-09 14:25:00 +00:00
Noah Stride 3e0f9b5526 MWI Scopes[2]: Scoped Role Assignments (#65276)
* MWI Scopes[2]: Scoped Role Assignments

* Forrest's review adjustments
2026-04-09 11:22:47 +00:00
Noah Stride 3ce2b94394 MWI Scopes[1]: Bot resource and RPCs (#64551)
* MWI Scopes[1]: Bot resource and RPCs

* Address forrest feedback
2026-04-09 10:16:31 +00:00
williamong-tel e80ccf677d Scoped role options (#65340)
* Add x11 forwarding to scope roles

* Add ssh file copy option

* add ssh forward agent

* Add host sudoers

* Add SSH Port Forward mode

* redo create host user proto and ssh file copy

* add scoped host users

implement max sessions

Update ssh_access_checker.go

* Fix presence

* Update role.pb.go

* respond to pr comments

* Add tests

Update authhandlers_test.go

test

Update authhandlers_test.go

Update authhandlers_test.go

fix comments

Update ssh_access_checker_test.go

fix implicit deny

clean up

* Respond to pr review

* Respond to pr review - revert back to optional bool

fix tests

* add test to textunmarshaller

* Update comment

* Update ssh_access_checker.go

* add back comment in test - use generic for pointer function in test
2026-04-08 22:24:55 +00:00
Lisa Kim 399fc7a1d4 Add access list proto support for tfgen (#65336) 2026-04-08 21:58:05 +00:00
Alan Parra 91beb189eb Add CertAuthorityOverride to the cache Event proto (#65538)
* Add CertAuthorityOverride to the cache Event proto

* make grpc
2026-04-08 21:26:31 +00:00
dependabot[bot]andTim Ross 339a72cc66 Bump go.opentelemetry.io/otel/* to 1.43.0 (#65555)
* Bump go.opentelemetry.io/otel/sdk from 1.42.0 to 1.43.0

Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.42.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.42.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.43.0
  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: Tim Ross <tim.ross@goteleport.com>
2026-04-08 21:24:47 +00:00
Chris Thach c1c42b02cc Add ValidatedMFAChallenge filter to event matcher (#65396)
* Add ValidatedMFAChallenge filter type and event matching.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add ValidatedMFAChallenge to events so it can be replicated.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Revert cache changes.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Don't match if target cluster is empty.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

---------

Signed-off-by: Chris Thach <chris.thach@goteleport.com>
2026-04-08 16:03:37 +00:00
Chris Thachandgithub-actions[bot] 6169b27132 Update Go toolchain version to v1.25.9 (#65526)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-08 15:44:52 +00:00
Hugo Shaka c62aaef9e6 Add glob-style support to GHA joining (#65525) 2026-04-08 15:21:48 +00:00
Steven Martin c993d48de1 Fix Azure integration desc for Access Graph Synch (#65519) 2026-04-08 15:18:47 +00:00
Dan Upton 580326165b Add Beam protobuf definition and backend service (#64863)
* Add `Beam` resource protobuf definition

* Add beams backend service

* Fix test and lint failures

* Delete all beam alias leases on `DeleteAllBeams`

* Apply PR feedback

* Restructure beam storage service

Following comments on the PR and a Slack conversation with Edorado, this commit
restructures the storage service interface to reflect how it'll actually be used.

For example, we now write the beam and its supporting resources in one atomic
operation, rather than lots of little fallible writes.

It also incorporates other feedback such as adding a field to track the
provision state of the actual beam VM.

* Use `types.GetExpiry` helper to avoid protobuf epoch issues

* Fix linting errors

* Store `DelegationSession` with beam resources

Also remove duplicate `itemFromWorkloadIdentity` definition

* Remove cross-service dependency

Following @espadolini's comment, the `BeamService` is no longer responsible for
writing the actual node, app, token, etc. records to the backend. Instead, those
services expose `AppendPut*Actions` and `AppendDelete*Actions` methods and it's
the caller's responsibility to call `Backend.AtomicWrite` with them.

* Move `Append*Actions` methods to "internal" service interfaces

* Fix test errors in tests

* Store users without secrets

* Rename user methods for clarity about what's included or not

* Fix accidental cache usage

* Fix broken reference from master

* Do not set an expiry on beam alias

In case the alias gets reassigned before the original beam is cleaned up
2026-04-08 11:25:06 +00:00
Edoardo Spadolini 825b23049e session-helper: move srv.RunAndExit to session/reexec (#65263)
* Move the reexec parts of lib/srv to session/reexec

* Update references to the moved bits of lib/srv

* Avoid testutils in session/reexec

* Shuffle some constants around to avoid imports in session/reexec

* Vendor in the relevant parts of logutils in session/reexec

* Remove unnecessary symlink checks when opening files

* Inline the last two things from lib/utils in session/reexec

* Inline moved constants

* Deprecate group name consts and fix missed inlines

* Add missing session/reexec.TestMain with reexec check

* Reuse existing constants from the log constants package in session

* Fix broken godoc link
2026-04-08 09:40:52 +00:00
306b6a9db0 Set Teleport version in SSH clients (#65004)
* Set Teleport version in SSH clients.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add more tests. Fix lint.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix import. Fix lint exclude.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix lint - come on!

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix race by making a defensive copy.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Use ErrorIs.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Deep clone client conf. Early return for err. Make consistent.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Return new conf if nil. Add trace.Wrap to missing.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add IsSSHFeatureSupported. Switch from api to api_test for test pack. Make prefix exported const.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Revert accidental commit.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Return sentinel error for older clients or non-teleport clients to improve downstream handling.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Clean up.

Co-authored-by: Chris Thach <chris.thach@protonmail.com>

* Apply suggestions from code review

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

* Remove defensive check.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Change from trace.BadParam to reg error.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Use strings.Cut and improve readability.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Use error struct.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add test that errors if ssh.ClientConfig changes.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Move to subpackage.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Use static assertion instead.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Return error if config is nil.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Allow clients to override client version via config.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix test because I forgot to update it.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Move assert to test file.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Remove error return val.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Relax parser to allow for more.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix lint.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* WIP take on a tracessh wrapper. Will fail CI.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add tests and polish new package.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Revert changes to tracessh. Add lint config.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Revert changes to use tracessh.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Delete extra s.

Co-authored-by: Chris Thach <chris.thach@protonmail.com>

* Apply suggestions from code review.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add IsEmpty helper methods.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* First pass of refactoring.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Second pass refactor.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Third pass refactor.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix nil panic.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix missing user value.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix missing User value.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Remove Get from name. Polish.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix incorrect signers for clients. Make changes consistent.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Allow ClientConfig to be empty in proxy config.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix eager signers regression in generateClientConfig.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add edge case for space after prefix.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix issues from code review.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Drop suffix. Update comments.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Update ClientConfig docs.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add warning about using the Teleport version.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Teleport version is mandatory.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Revert timeout to make Claude/Codex happy.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Remove alias in places that didn't need it. Revert lib/cloud/gcp/alloydb.go.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add wrapper for tracessh.Client.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Add tests for generate client config.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Drop config from field name to shorten.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

* Fix lint issues.

Signed-off-by: Chris Thach <chris.thach@goteleport.com>

---------

Signed-off-by: Chris Thach <chris.thach@goteleport.com>
Co-authored-by: Edoardo Spadolini <edoardo.spadolini@gmail.com>
2026-04-07 18:06:00 +00:00
Forrest 3fc4c4cf3b relax scoped resource write validation (#65333) 2026-04-07 17:28:11 +00:00
Carlisia Campos 1fdd39e771 Add visible labels for Azure and GCP VM auto-discovery (#65400)
* Add visible labels for Azure and GCP VMs

Auto-discovered Azure and GCP VM nodes now emit user-visible labels
with the teleport.dev/ prefix alongside the existing hidden labels
that use the teleport.internal/ prefix. The new labels appear in the
UI and CLI and can be used in RBAC role definitions and for resource
filtering. Previously only hidden internal-prefix labels were set,
so users had no way to reference them in access policies.

The docs label reference tables are updated to show the new prefix
and an incorrect "Azure AKS" heading in the GCP Kubernetes clusters
section is corrected to "GCP GKE".

* Rename Azure VM label constants for clarity

The visible labels (teleport.dev/ prefix) now use the short canonical
names SubscriptionIDLabel, VMIDLabel, RegionLabel, and the internal
labels (teleport.internal/ prefix) are renamed with an Internal suffix
such as SubscriptionIDLabelInternal and VMIDLabelInternal. Previously
the short names pointed to the internal prefix and the visible variants
carried a "Visible" suffix, which inverted the expected importance
hierarchy. The node filter still matches on internal labels so nodes
that were enrolled before this rename remain discoverable.
2026-04-07 15:11:13 +00:00
Erik Tate cf1a42f1e1 Improving validation errors for scoped kube tokens (#65391)
* adding more specific error message for unspecified kube join type

* generating terraform docs and operator crd
2026-04-07 14:17:37 +00:00
Tiago SilvaandNic Klaassen e54bfb9ab7 enforce region validation on all AWS config loading (#64893)
* enforce region validation on all AWS config loading

Replace direct uses of `github.com/aws/aws-sdk-go-v2/config.LoadDefaultConfig`
with the internal `lib/cloud/aws/config.LoadDefaultConfig` wrapper, which
validates any explicitly requested AWS region before use. Enforces this via a
new forbidigo linter rule.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* Apply suggestions from code review

Co-authored-by: Nic Klaassen <nic@nicklaassen.ca>

* fix unit tests

* include underscores and uppercase letters

* add ConfigureRegion

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
Co-authored-by: Nic Klaassen <nic@nicklaassen.ca>
2026-04-07 08:48:47 +00:00
rosstimothy 5c45ae789e Bump golang.org/x/net from v0.50.0 to v0.52.0 (#65408)
This resolves https://pkg.go.dev/vuln/GO-2026-4559.
2026-04-06 20:25:17 +00:00
dependabot[bot] e29fbe2536 Bump the go group in /api with 15 updates (#65307)
Bumps the go group in /api with 15 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/go-piv/piv-go/v2](https://github.com/go-piv/piv-go) | `2.4.0` | `2.5.0` |
| [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.65.0` | `0.67.0` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.65.0` | `0.67.0` |
| [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) | `1.40.0` | `1.42.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go) | `1.40.0` | `1.42.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) | `1.40.0` | `1.42.0` |
| [go.opentelemetry.io/otel/metric](https://github.com/open-telemetry/opentelemetry-go) | `1.40.0` | `1.42.0` |
| [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) | `1.40.0` | `1.42.0` |
| [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) | `1.40.0` | `1.42.0` |
| [go.opentelemetry.io/proto/otlp](https://github.com/open-telemetry/opentelemetry-proto-go) | `1.9.0` | `1.10.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.47.0` | `0.48.0` |
| [golang.org/x/net](https://github.com/golang/net) | `0.49.0` | `0.51.0` |
| [golang.org/x/sync](https://github.com/golang/sync) | `0.19.0` | `0.20.0` |
| [golang.org/x/term](https://github.com/golang/term) | `0.39.0` | `0.40.0` |
| [google.golang.org/genproto/googleapis/rpc](https://github.com/googleapis/go-genproto) | `0.0.0-20260128011058-8636f8732409` | `0.0.0-20260226221140-a57be14db171` |

Updates `github.com/go-piv/piv-go/v2` from 2.4.0 to 2.5.0
- [Release notes](https://github.com/go-piv/piv-go/releases)
- [Commits](https://github.com/go-piv/piv-go/compare/v2.4.0...v2.5.0)

Updates `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from 0.65.0 to 0.67.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.65.0...zpages/v0.67.0)

Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.65.0 to 0.67.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.65.0...zpages/v0.67.0)

Updates `go.opentelemetry.io/otel` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.42.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.42.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.42.0)

Updates `go.opentelemetry.io/otel/metric` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.42.0)

Updates `go.opentelemetry.io/otel/sdk` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.42.0)

Updates `go.opentelemetry.io/otel/trace` from 1.40.0 to 1.42.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.42.0)

Updates `go.opentelemetry.io/proto/otlp` from 1.9.0 to 1.10.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-proto-go/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-proto-go/compare/v1.9.0...v1.10.0)

Updates `golang.org/x/crypto` from 0.47.0 to 0.48.0
- [Commits](https://github.com/golang/crypto/compare/v0.47.0...v0.48.0)

Updates `golang.org/x/net` from 0.49.0 to 0.51.0
- [Commits](https://github.com/golang/net/compare/v0.49.0...v0.51.0)

Updates `golang.org/x/sync` from 0.19.0 to 0.20.0
- [Commits](https://github.com/golang/sync/compare/v0.19.0...v0.20.0)

Updates `golang.org/x/term` from 0.39.0 to 0.40.0
- [Commits](https://github.com/golang/term/compare/v0.39.0...v0.40.0)

Updates `google.golang.org/genproto/googleapis/rpc` from 0.0.0-20260128011058-8636f8732409 to 0.0.0-20260226221140-a57be14db171
- [Commits](https://github.com/googleapis/go-genproto/commits)

---
updated-dependencies:
- dependency-name: github.com/go-piv/piv-go/v2
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-version: 0.67.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-version: 0.67.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/metric
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/trace
  dependency-version: 1.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/proto/otlp
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/crypto
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/net
  dependency-version: 0.51.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/sync
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: golang.org/x/term
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: google.golang.org/genproto/googleapis/rpc
  dependency-version: 0.0.0-20260226221140-a57be14db171
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-06 14:52:23 +00:00
Alan Parra c91288e1ed Add tctl resource support for ca_overrides (#65281)
* Add the api/client.Client.SubCAClient() method

* Implement tctl resource support for cert_authority_override

* Remove `false` booleans

* Change "tctl create" message according to action

* Add support for all 3 forms of "tctl get"
2026-04-06 13:44:30 +00:00
charlestp d219d8af4f Refactor teleport/discovery/aws module to support eks (#65002)
Deprecates the flattened singular matcher options in favor of
multiple aws_matchers.

Thread setup_access_for_arn through discovery terraform
2026-04-03 21:02:11 +00:00
Michael 83b63f71bf Add SetAppSessionDBSCPublicKey RPC for DBSC device binding (#65032) 2026-04-03 17:50:57 +00:00
Erik Tate 79394f739d adding kube support to scoped roles (#65132) 2026-04-02 21:06:53 +00:00
Lisa Kim c097aca42b Emit UI access list related usage events (#63954)
* Define new access list UI related events

* Web: add access list related events

* Fix lint and review

* Address CR

* Address CR

- Added condition to check integrate is always defined for integrate event
- Added nil checks
2026-04-02 17:21:51 +00:00
rhammonds-teleport b3e014c52e TDPB Teleport Connect (#63171)
* Teleport Connect now speaks TDPB.

* fix incorrect mousewheel encoding on web client

* Refactor tdpb protocol string to constant

* Populate FSO object in shared sirectory info response even when the file/directory does not exist

* Slightly cleaner TDP translation setup

* Refactor excessive function parameters to struct

* Fix unset 'Operation' on shared directory move response

* Fix backwards compatibility with v17 desktop service

* Guard against nil screenspec in ClientHello message
2026-04-02 16:54:17 +00:00
Marco Dinis 2b5b88c572 Discovery Config Status: add sync and end time per resource type (#64956)
* Discovery Config Status: add sync and end time per resource type

* fix flaky test

* review pt1

* print sync timers in human readable format

* fix flaky test
2026-04-02 13:12:31 +00:00
Lisa Kim 29699036a7 Fix access graph feature not rendering in web UI (#65285) 2026-04-01 22:25:44 +00:00
Nic Klaassen d5bc180deb [scopes] feat: add sub_kind for scoped role assignments (#64752)
* [scopes] feat: add sub_kind for scoped role assignments

* make unknown subkinds readable but not writable
2026-04-01 00:28:23 +00:00
Zac Bergquist 007dba012c Restrict the maximum length of an auth connector name (#63923)
The connector name becomes part of the backend key for storage,
and some of Teleport's backends have a maximum key length. As a
result, writing connectors with extremely long names fails, but
discloses the underlying backend error.

Restrict the length of a connector name (for OIDC, SAML, and GitHub)
prior to attempting the backend write.

It is unlikely that there are existing connectors in the wild with
names short enough to write to storage but long enough to exceed
our newly enforced maximum, but if such a connector exists it will
continue to function after this change - users will need to change
the name before they can apply additional changes.
2026-03-31 23:42:35 +00:00
Brian Joerger 53ede54068 Fix leak in connect MFA prompt due to insufficient buffering. (#65051) 2026-03-31 03:28:33 +00:00
Forrest d8677d0a5f scoped role reorg (#64973) 2026-03-31 03:11:24 +00:00
Adam Carheden 48118b129f Fix URL components for SAML auth connector ACS URL in tests, error message. (#65193) 2026-03-30 20:10:35 +00:00