Commit Graph
27897 Commits
Author SHA1 Message Date
rosstimothy 0e7339eb21 Guard against enterprise code being imported in OSS (#432)
Export-Source-Commit: 3c11f109f6efba5f875993e47171e52119ed9378
2026-08-25 11:35:10 -05:00
Pawel Kopiczko 43573d946b CI: Fix flaky e/integration tests detector (#343)
Export-Source-Commit: c5f01664f07acead384cbf146fb600fc2edbef97
2026-08-25 11:35:10 -05:00
Julia Ogris f433c29963 appresource: Add rule and decision types (#195)
Export-Source-Commit: 9ac304b68a968327e8ceba858f140560467aa6a9
2026-08-25 11:35:10 -05:00
Julia Ogris 4c3cb314ec app: Add audit event for role v9 HTTP deny (#194)
Export-Source-Commit: d7bb0d36d7c0ca571506a6514d89cd4749c94b64
2026-08-25 11:35:10 -05:00
dependabot[bot] 6c97422203 Bump github.com/moby/go-archive from 0.2.0 to 0.3.0 (#349)
Export-Source-Commit: be3b71f4caf974119f2c26836ba5d45f37434f9c
2026-08-25 11:35:10 -05:00
Lisa Kim 08727ab4d0 Refactor and move acl terraform gen from enterprise (#277)
Export-Source-Commit: 8734e2e6eac8b75ec8cf56fff8697baa56300af7
2026-08-25 11:35:10 -05:00
Michael Patterson-Muir f4370c2e90 discovery: parallelize region and account fetch in EC2 discovery (#217)
Export-Source-Commit: b47389f5c644627c9b0137eff5244910b66648ac
2026-08-25 11:35:10 -05:00
Matt Smith fa8f9dbbf2 Centos Dockerfile fixes (#342)
Export-Source-Commit: d28cecabd6556234ad230c436293604d2ef9f138
2026-08-25 11:35:10 -05:00
teleport-renovate[bot] a9b131d857 Update Go toolchain version to v1.26.7 (#396)
Export-Source-Commit: 8e4cdc517b988a352e7c40da1a09289384984f4d
2026-08-25 11:35:10 -05:00
Ryan Clark 89ba17b08f Add knip (#376)
Export-Source-Commit: 754d2f1b0238a99b266936a27562314c9c74f85b
2026-08-25 11:35:10 -05:00
Luke Okraszewski 6dbccdd8ad Linux: fix potential deadlock/segfault when calling into libnss for user mgmt (#295)
Export-Source-Commit: 12f28f2b1aa27c84df9f608557b8dc6f0de6cbb2
2026-08-25 11:35:10 -05:00
Gustavo Medori 6d906dc57b Migrating PR from gravitational/teleport repo (#232)
Export-Source-Commit: ead22275e58458e55a2316e849ff5fed138eea27
2026-08-25 11:35:10 -05:00
Ghassan Gedeon Achi f3a8e939f4 Fix tctl access-review table from overflowing terminal width (#190)
Export-Source-Commit: 5c488f3ad10371625e4ad061c4d3ef0dd9702995
2026-08-25 11:35:10 -05:00
teleport-renovate[bot] 490ebd42ac Update Go toolchain version to v1.26.6 (#206)
Export-Source-Commit: ca738042bc0afb4eb77373c129093e817e4d280d
2026-08-25 11:35:10 -05:00
Ryan Clark 20b35780fc Fix Vite config warning (#302)
Export-Source-Commit: cbf3b2a9d9fdb304090aee9c4d6c8a16d7b3116d
2026-08-25 11:35:10 -05:00
Roman Tkachenko a9e65b44ec Remove RFDs (#240)
Export-Source-Commit: c091c8a66a40c100dc8a427d72da1196c5d2d47e
2026-08-25 11:35:10 -05:00
Gus Rivera 0d7267b3ed Patches for monorepo migration (#182)
Export-Source-Commit: 63b0a257129c3a27f32bb59994df47dd605b1a6b
2026-08-25 11:35:10 -05:00
Gus Rivera dbf752d73b Remove teleport.e submodule
Export-Source-Commit: 06d0383a16c52cc9c1025853776c6109a0b7a70d
2026-08-25 11:35:10 -05:00
Brian Joergerandmica 05f8e34943 SSO MFA for Admin MFA docs (#67149)
* Clarify that SSO MFA is acceptable in Admin Action MFA docs.

* Apply suggestions from code review

Co-authored-by: mica <[email protected]>

* Clarify when admin MFA is/isn't enforced.

---------

Co-authored-by: mica <[email protected]>
2026-08-13 23:18:50 +00:00
Adam CarhedenandHugo Shaka c8e23661ca Added proxy-only helm chart (#68037)
* Added proxy-only helm chart

* dleted unused text fixtures

* Deleted empty snapshots

* unused helmignore

* deleted debugging

* Switch empty join_params from values file to set to avoid lint-helm make target bug

* Put static join tokens in secert

* Remove PSP support

* Added token secret to validation hook

* fixed hook name in test

* Made example use more realistic kube+oidc token

* Set correct hook weight for secret

* Better validation of token secerts

* Fixed cluster ref in readme example

* Fixed typo in Account

* Preserve all join params

* Make tmp secret for install only

* Fixed wrong context for volumes calls

* Don't support creating token secret for upgrades

* Added optional audience to projected SA token

* Deleted unneeded snapshot

* Fixed merged proxy values for join token secret

* Ensures hook secret is created for proxy override

* Wrote docs

* Allowed empty value for proxyProtocol

* Fixed doc spelling errors

* Wrote index page for teleport-proxy chart

* Ensure bound keypair values are only in secrets

* Fixed extra whitespace

* fixed auth-token path and related tests

* Removed token and bound_keypair support

* Fixed lint version after rebase to helm4 link fix

* Corrected overrides for serviceAccountToken* settings

* corrected doc links

* Documented validation intent

* Fix doc links

* Fixed tls-routing doc link

* Fix arch doc ref

* arch link fix again

* forgot to checking vales

* Fix vale findings

* Update examples/chart/teleport-proxy/values.yaml

Co-authored-by: Hugo Shaka <[email protected]>

* Fixed missing docs secions due to -- vs -

* Address code review comments

* Switched helm values to camelCase

* Removed legacy proxy key

* Remove legacy replica count munging

* Added Azure support to joinParams

* Fix unescaped doc chars

* Fixed doc heading and link

* fixed heading

* fixed vale checks

* code review fixes for values

* Added updated generated doc page

* Updated for helm unittest 1.0.3

* Fixed config version for scratch chart mode

* Remove unneeded license from proxy chart

* Clarified Anycast support in comment

* Clarified cluster name docs

* Noted limited purpose of chart

* Made various bits of docs admonitions

* Advised against using serviceAccountToken values

* Removed ACME support

* Fixed incorrect link

* fixed mdx/mxd doc extention conflation

* Fixed doc lint issues

* Removed serviceAccountToken custom fields

* Corrected docs on join token creation

* Corrected example token expiry in docs and unneded doc link in README

* Fixed spelling

* Fixed tctl create command

---------

Co-authored-by: Hugo Shaka <[email protected]>
2026-08-13 21:36:57 +00:00
Yassine Bounekhla d16e99f570 remove all uses of fetchUsers() v1 (#64719) 2026-08-13 21:31:59 +00:00
Maja Cieślak 007a84c4c2 Adjust proto comments after implementing Approve and Deny RPCs (#69642) 2026-08-13 21:07:18 +00:00
Yassine Bounekhla baf3ab1188 fix instances ui bug (#69551) 2026-08-13 20:58:27 +00:00
Maja Cieślak a93db5895b Add missing license header (#69648) 2026-08-13 20:51:11 +00:00
Gustavo Medori 8ff3d34581 iOS: Logging Part 1 – Infrastructure (#69394)
* Add LogBackends module

* Add basic demonstration of simple log handler

* Dial in formatting of the ConsoleLogHandler

* Naively update loggers from OSLog to swift-log

* Update log statements to use structured metadata

* Update complex types to expose log metadata instead of debug descriptions

* Add comment explaining why we evaluate originTimestamp in ConsoleLogHandler's init

* Move Logger.Level formatting into its own file

* Update formatting in VerifyApp.swift

* Update timestamp formatting for ConsoleLogHandler
2026-08-13 17:18:21 +00:00
Gustavo Medori adfaab0cec iOS: Add SystemClients library to retrieve device metadata (#69341)
* Add TeleportKit package

* Add TeleportKit as a package dependency

* Update Package.swift to set swift settings all at once at the end

* Add new SystemClients module to TeleportKit

* Move the SerialNumberClient into SystemClients

* Collect device data inside of EnrollClient.swift

* Remove TeleportKit target
2026-08-13 16:58:38 +00:00
Ryan Clark 286ce6d8d8 Change the way e2e logs in for tests, enable unauthenticated tests (#69637)
* Change the way e2e logs in for tests, enable unauthenticated tests

* Change the SSH clipboard test to use the browser selector instead of skipping

* Remove workaround in darktheme test

* Share login state for connect tests

* Keep the DisposableTempDir instead of the path
2026-08-13 15:32:59 +00:00
Chris Thach 133844070f MFA service stores and propagates the device ID used to satisfy a challenge. (#69572)
* MFA service stores and propagates the device ID used to satisfy a challenge.

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

* Wrap device ID with MFADevice.

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

---------

Signed-off-by: Chris Thach <[email protected]>
2026-08-13 15:26:48 +00:00
Tiago Silva 05419f28b6 support where RBAC on application session recordings (#69630)
* support `where` RBAC on application session recordings

application session recordings are backed by AppSessionChunk events, but
those events were never wired into the session recording RBAC path, so
`where` clauses on `kind: session` rules could not match them.

Fixes https://github.com/gravitational/teleport/issues/67775

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

* fix unit test

* handle feedback

---------

Signed-off-by: Tiago Silva <[email protected]>
2026-08-13 14:29:20 +00:00
Michael Patterson-Muir 6fc6dc0733 discovery: add configurable AWS SSM install timeout (#69102) 2026-08-13 13:59:03 +00:00
Grzegorz Zdunek 25a7be07df Connect: add e2e tests for kube access (#65929)
* Add kube fixture

* Make items in unified resources more semantically accurate so they are easier to find

* Add shell utility that executes a command and waits for its completion

* Add kube tests

* Use unique pod name

* Use `tsh kubectl`

* Ignore kubeconfigs in git

* Set up kube cluster only for Connect

* Remove stale kind cluster before calling create

* Handle Docker networking

* Use stable image

* Fix race condition on launch

* Do not download `busybox` image, exec into kind's internal pod

* Disable tests to avoid hitting rate limiter

* Disable kube fixture for now

* Lint
2026-08-13 10:11:50 +00:00
Steven Martin bbe840d165 docs: Add 'sudo' to teleport-update uninstall command (#69618) 2026-08-13 09:08:09 +00:00
Tiago Scolari b7dea66746 MWI: issuance: Add UsageApp support to IssueScopedBotCerts (#69449)
* proto: add UsageApp to IssueScopedBotCertsRequest proto

* issuance: add UsageApp support to IssueScopedBotCerts

Implement the server-side handling for the UsageApp usage in
IssueScopedBotCerts. When a scoped bot requests app-routed certificates,
the service now:

- Validates the requested app scope against the caller's scope pin
- Resolves the app via RangeApplicationServersWithName, ensuring it
  exists in the exact scope claimed
- Rejects Identity Center account apps (not routable, no scoped role
  support for account assignments)
- Creates a scoped app session via CreateAppSessionFromReq
- Annotates the output certificate with app routing and session info

* issuance: ensure field error messages are consistent

* issuance: remove unnecessay TestIssueScopedBotCerts_UsageApp_ScopeHierarchy test cases

These tests were a left over when previous code was fetching and
validating exact scope matching.
Since that code was removed, I've removed the exact match cases and
moved the other 2 up to the TestIssueScopedBotCerts_UsageApp tests.

* linter: Fix imports

* tests: Use t.Context in internal t.Run calls

* issuance: Validate the PublicAddr is present in UsageApp

* tests: convert scoped IssueScopedBotCerts failure tests for UsageApp to table tests

* issuance: UsageApp validates the PublicAddr against ScopedAppPublicAddrValid

* test: add explicit test in IssueScopedBotCerts to check scope presence
2026-08-13 08:56:17 +00:00
Bartosz Leper ac5bdf7884 Fix TestNewWebSessionScopedTrustedDeviceRequirement flakiness (#69506) 2026-08-13 08:18:51 +00:00
Noah Stride dce19fa553 Deprecate recording of join metadata into bot instance record (#69571)
* Deprecate recording of join metadata into bot instance record

* update docs

* Store bound keyapir data

* regen docs
2026-08-13 08:15:04 +00:00
rosstimothy 37c3a8a456 Terraform: convert auto update version to generic provider (#69514)
Contributes to https://github.com/gravitational/teleport/issues/69301.
2026-08-13 02:43:07 +00:00
Sakshyam Shah aecf425fe8 docs: entra id metrics (#69343)
* entra id metrics docs

* format table width

* explain integration headings

* fix typo emmited -> emitted

* add relative link to entra integration docs
2026-08-13 01:53:49 +00:00
Julia Ogris 0d76b1dee6 auth: Add v9 downgrade property tests (#68916)
Exercise `maybeDowngradeRoleVersionToV8` with property tests so the
guarantee holds for arbitrary roles, not just the handful of hand-written
roles the example test checks. The downgrade is a security control. A
pre-v19 agent cannot enforce a v9 role's `app_resources` restriction, so
the downgraded v8 copy must move the role's allow app selector to the
deny side and never leave one of its own apps reachable. The
allow-to-deny move branches on whether a deny selector already exists,
which is where a fail-open bug would go unnoticed.

Generate random allow and deny label selectors and candidate apps, then
assert three properties. Every app the role allowed before the downgrade
is denied after. Every app it already denied stays denied. The input role
comes back unmodified, because the caller passes the cache's shared role.

Add apps matching each selector, and the deny expression, to every
generated set, because random apps match a keyed selector in under a
tenth of draws and the assertion body is otherwise skipped. Draw globs as
selector values, since `services.MatchLabels` matches them as regular
expressions and a downgrade that dropped them would serve a copy denying
nothing.

Cover the AND-to-OR downgrade in a second property, which adds a label
expression on each side. An allow rule needs both `app_labels` and
`app_labels_expression` to match while a deny rule needs either, so
moving them across separately denies more apps than the role allowed. Add
an example test for that over-deny, where a wildcard label set moved to
the deny side blocks apps outside the allow rule.

Use `pgregory.net/rapid`, already a direct dependency of this branch.
2026-08-13 01:39:25 +00:00
micaandPaul Gottschling ee42a3c788 docs: address codex feedback for username trait in PingFederate role (#69589)
* docs: address codex feedback for username trait in PingFederate role example

* codex feedback, updating version necessary for user.metadata.name

* Update docs/pages/zero-trust-access/sso/integrate-idp/ping-federate-oidc.mdx

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

---------

Co-authored-by: Paul Gottschling <[email protected]>
2026-08-13 00:45:18 +00:00
rosstimothy 17df2634f5 Terraform: convert ui config to generic provider (#69507)
Contributes to https://github.com/gravitational/teleport/issues/69301.
2026-08-13 00:21:42 +00:00
Erik Tate 8a625e2c40 waiting for kube server to land in unified resource cache before proceeding with test cases (#69619) 2026-08-12 23:46:31 +00:00
Kyle Kloberdanz db19a7f551 Implement tctl observability (#67904)
This PR adds audit queue observability to tctl. It allows you to view
the audit queue depth and also sort records based on number of events in
each queue.
2026-08-12 22:23:22 +00:00
williamong-tel 3ef4934487 IAC SSH Server Namespacing support (#69542)
Update provider.go
2026-08-12 22:10:04 +00:00
rosstimothy 9c1fc271b5 Remove Firestore key migration (#69590)
In preparation for 19.0.0 this removes all references
to legacy or broken record keys. The background key
conversion will have already converted all legacy or broken
keys thus allowing the removal of the migration and the key types.
2026-08-12 21:24:08 +00:00
Lisa Kim b8792db778 tfgen: support generating top-level access list scope field (#69337) 2026-08-12 19:12:01 +00:00
Angel Dionisio 8c22cf3db2 mark bloat binary builds as dev builds so they do not require keys (#69609) 2026-08-12 18:51:55 +00:00
Alan Parra 3ff50a057a Fix improper userca.pem concatenation by kinitProvider (#69582)
* Test improper concatenation of userca.pem

* Fix improper PEM concatenation

* Use string-writing methods
2026-08-12 18:34:22 +00:00
rosstimothy b3cf83c163 Terraform: convert recording config to generic provider (#69491)
Contributes to https://github.com/gravitational/teleport/pull/69403.
2026-08-12 17:25:52 +00:00
rosstimothy be98bed86e Terraform: convert classifier to generic provider (#69423)
Contributes to https://github.com/gravitational/teleport/pull/69403.
2026-08-12 17:06:52 +00:00
Ghassan Gedeon Achi f62ac7c810 Fix teleport-investigate and teleport-access-review skill inaccuracies (#69309)
* docs: fix skill inaccuracies from v18 bp testing

* fix: additional updates after another round of testing
2026-08-12 17:06:18 +00:00