Commit Graph
27053 Commits
Author SHA1 Message Date
Ryan Clark caab74a7fb Add skip inactivity and timeline time updates to the desktop session player (#67724)
* Add skip inactivity and timeline time updates to the desktop session player

* rAF -> requestAnimationFrame

* Avoid redrawing the timeline/events whilst not playing
2026-06-15 14:53:59 +00:00
Ryan Clark a0851d3702 Add Classifier get, delete, and list RPCs (#67759) 2026-06-15 14:42:40 +00:00
Jake Alti e2e3134b8a kube: validate every ephemeral container added by a debug patch (#67599)
* kube: validate every ephemeral container added by a debug patch

* kube: marshal base pod in ephemeral container test

* kube: use ErrorAs for access-denied checks in ephemeral container test

* kube: make ephemeral container test table-driven
2026-06-15 13:59:33 +00:00
Alan Parra 9e4afcfb96 chore: Bump e/ (#67802) 2026-06-15 13:45:31 +00:00
Ryan Clark a021b81eb8 Add a "no inference policy" state for session summaries (#67793) 2026-06-15 10:30:32 +00:00
aed1e8dfc5 Bump react-day-picker from 9.14.0 to 10.0.1 (#67254)
* Bump react-day-picker from 9.14.0 to 10.0.1

Bumps [react-day-picker](https://github.com/gpbl/react-day-picker/tree/HEAD/packages/react-day-picker) from 9.14.0 to 10.0.1.
- [Release notes](https://github.com/gpbl/react-day-picker/releases)
- [Changelog](https://github.com/gpbl/react-day-picker/blob/main/packages/react-day-picker/CHANGELOG.md)
- [Commits](https://github.com/gpbl/react-day-picker/commits/v10.0.1/packages/react-day-picker)

---
updated-dependencies:
- dependency-name: react-day-picker
  dependency-version: 10.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Update react-day-picker to v10

* 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: avatus <[email protected]>
Co-authored-by: Maja Cieślak <[email protected]>
2026-06-15 10:26:58 +00:00
Ryan Clark 41a14f6a1f Hook up desktop sessions to summarisation (#67714)
* Hook up desktop sessions to summarisation

* Match inference policies against desktop session end events
2026-06-15 10:09:32 +00:00
Jake Alti fb2989c19a kube proxy: impersonate user on ephemeral container pod GET (#67581)
* kube proxy: impersonate user on ephemeral GET

* kube proxy: clean up ephemeral test comments

* kube proxy: clean up ephemeral handler comments

* kube proxy: reorder ephemeral helper functions

* kube proxy: replay impersonation on watch path

* kube proxy: fix misspell lint

* kube proxy: clone rest config before impersonation
2026-06-13 21:32:48 +00:00
Ghassan Gedeon Achi 821d50f902 feat: add geo filters to stats endpoint (#67523) 2026-06-12 20:53:04 +00:00
david boslee a44ab9b510 reversetunnel: support tracker discovery ttl and disconnects (#65419)
* reversetunnel: support tracker discovery ttl and disconnects

This adds agent side support for tracker ttl to be configured
per proxy over discovery requests.

This gives us flexibility of lowering the tracker ttl server side.

Lowering the ttl has the benefit of dropping proxies from the tracker
sooner allowing the agent to attempt to reconnect to proxies sooner.

This change also adds agent disconnects. This only occurs if a disconnect
threshold is configured in the cluster network config.

A proxy is only ever considered for disconnect if its in the desired
set and the agent has more connections than configured.

The agent will disconnect from proxies with the highest smoothed rtt.

The agent will not disconnect from proxies during a rollout where
the group/generation is changed or from unhealthy proxies which
are no longer tracked.

* fix lint

* stop agent in background and use testsync

* remove gogoproto and move to disconnect_threshold_seconds

* remove fake clock from tracker

* simplify conditions and nesting

* update comment about proxy disconnects

* generate terraform

* move now inside lock

* add else for smoothedRTT calculation

* rename disconnect to disconnectCandidate for clarity

* add comment for tryDisconnect usage

* rearange some checks in tryDisconnect

* fix test comment

* preserve cloud managed cnf fields on update/upsert
2026-06-12 18:22:01 +00:00
Ryan Clark 36166db5f1 Set global setup to always resolve from OSS (#67774) 2026-06-12 17:13:28 +00:00
PavelandMaja Cieślak 8c085a0ad3 [vnet] Reflect Linux VNet support in docs (#66959)
* docs: reflect linux vnet support

* some improvements

* Adjust `<details>` with first launch on macOS

The second <details> block with running tsh vnet on Linux renders correctly,
but this one didn't seem to render <summary> properly. That blank line
after <summary> seems to be the only difference, so let's see if it helps.

* drop Linux note, add macOS to header

---------

Co-authored-by: Maja Cieślak <[email protected]>
2026-06-12 17:07:45 +00:00
Maja Cieślak 4943a39420 Mention mobile device sync in Device Trust MDM integration docs (#67612)
* Update Jamf docs with new conf fields and how to sync mobile devices

* Mention in Jamf docs how to update the plugin

* Mention iOS and iPadOS devices in Intune docs

* Mention that "Read Mobile Devices" is needed for mobile devices only

* Use subheadings rather than tabs

* Add an example serial number to docs/cspell.json
2026-06-12 17:02:12 +00:00
Ryan Clark 4b7ca851b1 Updates to the list session recordings page (#67752)
* Hide non-interactive sessions by default

* Add badge and decorator slots to list session recordings

* Update test assertion

* Flip the search params to the new hide non-interactive state

* Fixes for the non-interactive flip

* Remove duplicate BadgeComponent check
2026-06-12 16:07:05 +00:00
Travis LaDuke 4b048fda81 Add beams session start to usage events (#67571) 2026-06-12 15:06:41 +00:00
Ryan Clark 9e1bb7ff36 Add Classifier proto messages and resource type validation (#67758)
* Add Classifier proto messages and resource type validation

* Change Classifier action booleans to a tri-state enum
2026-06-12 14:34:27 +00:00
Ryan Clark d1c5559ea5 Add BatchGetSummaryMetadata method for loading multiple summaries at once (#67751) 2026-06-12 13:19:19 +00:00
Tiago Silva 6f9f032ec0 Move plugin CheckAndSetDefaults from marshal to write path (#67429)
* Move plugin CheckAndSetDefaults from marshal to write path

CheckAndSetDefaults was being called inside MarshalPlugin as a side
effect of serialization, which caused defaults (e.g. Namespace) to be
applied to the in-memory object after roundtrip but not at construction
time. Move the call to CreatePlugin and updateAndSwap where mutations
belong, and call setStaticFields in NewPluginV1 so constructed objects
are consistent from the start.

Signed-off-by: Tiago Silva <[email protected]>

* add test coverage

---------

Signed-off-by: Tiago Silva <[email protected]>
2026-06-12 10:15:48 +00:00
Steven Martin 2c5e8fc9f6 docs: machine-id updates (#67745) 2026-06-12 09:12:58 +00:00
Ryan Clark 5b74af79d3 Update vt10x to v0.0.6-teleport.1 (#67715) 2026-06-12 07:58:32 +00:00
Kevin 8002c7b8bd Revert default slackAPIURL for slack clients (#67735) 2026-06-12 00:03:28 +00:00
Gavin Frazar 05775bc5dc Refactor Azure VM discovery metadata and status (#67590)
* Refactor Azure VM discovery metadata and status

Move immutable Azure VM discovery metadata into a dedicated embedded
AzureInstancesMetadata type. This lets enrollment, status, audit, usage event,
and user-task paths pass metadata separately from the mutable Instances slice,
which is filtered during enrollment.

Change the resource status from a primitive map type into a struct. This
will make the status map more flexible for further changes that
introduce parallel installation and status updates.

This also logs the instance count after filtering enrolled instances.

* Update AzureInstances godoc

* Make metadata an unembedded field

* rename loop var from group to status

* revert failed azure enrollment func to lambda

* re-eval VMs log value iff some VMs were filtered
2026-06-11 21:44:44 +00:00
Chris Thach 9306e190ec Update shared-workflows to tag workflows/v0.0.5. (#67700)
Signed-off-by: Chris Thach <[email protected]>
2026-06-11 21:25:38 +00:00
Paul Gottschling b19268b07b Add a Configuring Teleport docs section (#66255)
* Add a Configuring Teleport docs section

Make the how-to guides for managing Teleport resources with
Infrastructure as Code tools more prominent by placing them in a
Configuring Teleport section next to other foundational docs sections,
e.g., Installation and Upgrading. Frame the task of managing Teleport
with IaC as part of the broader task of configuring Teleport.

To do so, move the introduction of the "Static and Dynamic Resources"
page to a landing page for the new Configuration section. Move the
remaining part of that page to the References section, since it's an
advanced guide and more of a reference than a set of how-to
instructions.

This change also structures the Infrastructure as Code landing page into
a Configure Teleport landing page by including links to guides for
static as well as dynamic configuration. This adds clarity to the docs
since users won't immediately know that Teleport exposes these two
configuration variants.

* Update internal links

* Fix issues with the Configuring Teleport section

- Update the static/dynamic field table to use the correct field name,
  `spec.mode`.
- Change "Managing Resources" to "Resource Guides" for clarity, since
  all sections in Configuring Teleport would be about managing
  resources.
- Reorder Configuration sidebar sections to move Resource Guides last
  and tctl before Terraform and Kubernetes.
2026-06-11 20:27:46 +00:00
Travis Rodgers 10547b82d7 docs: add checkpoints to desktop active directory guide (#62685)
This commit adds interactive checkpoints to the
docs/pages/enroll-resources/desktop-access/active-directory manual guide
with troubleshooting tips.
2026-06-11 20:22:37 +00:00
Erik Tateandalhudz b94988ebac reject path separators in scp received file names (#67604)
Signed-off-by: Erik Tate <[email protected]>
Co-authored-by: alhudz <[email protected]>
2026-06-11 19:06:48 +00:00
Ghassan Gedeon Achi 708dbb1bd9 tctl-investigate[2]: add text output, geo filters, and --skill (#67220)
* feat: text output, geo, and `--skill` support

Layer three orthogonal additions on top of the core command:

  - Text rendering: period header, matches summary, wrapped facet
    panel, events table. `--all-facets` opts out of the top-5
    truncation.
  - Geo filter (`--latitude`/`--longitude`/`--radius`, all three
    required together). Geo applies to events only; the stats endpoint
    has no geo params, so facet counts and `total` cover the
    window+query without geo. Text output prints a Note when geo is
    active.
  - `--skill` prints an embedded Markdown skill for LLM agents and
    skips the backend entirely.

* fix: update skill to follow RFD 0037e

* fix: small fixes reported in PR review

* fix: small suggestion about code comment

* feat: iteration based on notion/customer request

* feat: add sanitization to text rendering

* fix: small fix to the access request review

* fix: typos and PR suggestions

* fix: help message indentation
2026-06-11 18:27:12 +00:00
Paul Gottschling 8adfe5e762 Add page_type and outcome statements to 47 guides (#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 47 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 47 guides:
- 28 guides already included the expected outcome statement, but needed
  a page_type frontmatter field.
- 11 guides included an outcome statement but required tweaking so it
  followed the expected structure.
- 8 guides had no outcome statement at all

In the Jenkins guide, also change "Architecture" to "How it works" to
accommodate the page structure linter (instead of disabling it). In the
current plan, this linter will also run the outcome statement check.
2026-06-11 18:03:35 +00:00
micaandPaul Gottschling 7449cd5dbf docs: refactor docker getting started guide (#62856)
* checkpoints for docker getting started guide

* adding verification commands with expected output preceeding the troubleshooting checkpoints

* adding a few more checkpoint tips

* lint error with  heading

* lint error with  heading

* removing duplicate suggestion and reorganizing

* pulled in master to resolve conflicts as the directory structure changed since I started drafting these updates

* edited checkpoints, formatting, and moved k8 content

* cut down the number of items in the checkpoints, rephrased some sentences, fixed link paths as they were added before the pages was moved

* created a section forcommon troubleshooting items vs so many checkpoints

* changing container to variable

* adding back the sidebar label, and added '-t' (tty) flag to docker exec command to improve text output/alignment

* post-feedback: formatting, troubleshooting content revisions

* post-feedback: formatting, and slimming down troubleshooting content

* post-feedback: formatting, and slimming down troubleshooting content

* rephrasing intro paragraph, as most prod Teleport deployments in containers are running on k8s

* followed AI suggestions and implemented suggestions on removing previous k8 content and streamlining

* cleanup, restored backup guidance

* linter flagged for list spacing - added lines

* Apply suggestions from code review

Co-authored-by: Paul Gottschling <[email protected]>

---------

Co-authored-by: Paul Gottschling <[email protected]>
2026-06-11 17:49:04 +00:00
Ghassan Gedeon Achi f583472e9a tctl-investigate[1]: add activity-log search command (#67219)
* feat: add `tctl investigate` command

Add a tctl subcommand that searches Teleport's Identity Security
activity logs. The command exposes structured filter flags mirroring
the Identity Security UI: ~19 include/exclude pairs mapping to Lucene
fields (user, resource, IP, country, etc.). Multiple values on the
same flag are OR'd; different flags are AND'd.

`--query` accepts a raw Lucene expression for cases the structured
flags can't express (wildcards, regex, OR across fields) and is
mutually exclusive with the structured filters.

Facets and events are fetched in parallel via errgroup. `total` is
derived from the `event_type` facet on the stats endpoint, so it can
drift a few percent from `len(data)` on long windows.

This PR ships JSON/YAML output only. Text rendering, the geo filter,
and the `--skill` flag land in the next PR in the stack.

* fix: address codex suggestions

* fix: update flag description
2026-06-11 17:47:21 +00:00
Chris Thach a65328827a Update golang.org/x/crypto to v0.53.0. (#67637)
* Update x/crypto to v0.53.0.

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

* Bump e. Add missing test cleanup from prev revert.

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

---------

Signed-off-by: Chris Thach <[email protected]>
2026-06-11 17:31:49 +00:00
micaandNoah Stride 644cae4529 docs: add prereqs to selinux guide (#67586)
* docs: add prereqs to selinux guide

* reduced verbiage, streamlined bullets, and split the agent requirement

* minor sentence edits. also removed dupe info, we already have the first header with the rhel requirements

* Update docs/pages/zero-trust-access/management/security/selinux.mdx

Co-authored-by: Noah Stride <[email protected]>

---------

Co-authored-by: Noah Stride <[email protected]>
2026-06-11 17:17:59 +00:00
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 <[email protected]>

* 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 <[email protected]>
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 <[email protected]>
2026-06-10 18:38:46 +00:00