Commit Graph
22049 Commits
Author SHA1 Message Date
Zac Bergquist 660c5dad75 docs: mention desktop support for AD and local users (#53369) 2025-03-29 15:03:08 +00:00
rosstimothy d002d1e43a Require that FnCache keys are comparable (#53565)
Adds an additional type constraint go FnCacheGet and FnCacheGetWithTTL
to enforce that all keys are comparable. This should allow the
removal of various compile time hashability checks that are in
place for existing keys of custom types.
2025-03-29 14:40:32 +00:00
Gabriel Corado 1db489562b Remove unused AWS SDK v1 references (#53537)
* refactor(aws): remove unused sdk v1 references

* refactor(aws): drop unused migration package

* chore: go mod tidy
2025-03-29 02:25:01 +00:00
Sakshyam ShahandPaul Gottschling 5c83b29ca9 docs: explain awsic plugin install --assume-role-arn flag (#53512)
* docs: explain awsic plugin install  flag

* expand the use system credential sentence

* Update docs/pages/admin-guides/management/guides/aws-iam-identity-center/migrating-identity-center-from-okta-to-teleport.mdx

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2025-03-28 20:54:00 +00:00
Noah Stride 4592f344d5 Add MWI to list of billing metrics (#53549)
* Add MWI to list of billing metrics

* two -> three
2025-03-28 20:08:38 +00:00
Gavin Frazar c48fb577bb Add health check config service (#53438)
Adds a backend storage service for health_check_config resources.
2025-03-28 18:56:29 +00:00
Noah Stride 31e4958cd2 Build & release tbot.exe on Windows (#53523)
* Build & release tbot.exe on Windows

* Fix missing ,

* Fix ps1 syntax
2025-03-28 17:37:13 +00:00
Rafał Cieślak fb11eec51d Update e ref (#53532) 2025-03-28 17:17:30 +00:00
Hugo Shaka bfc6bb8c57 fix ec2 installer (#53542) 2025-03-28 17:08:25 +00:00
Erik Tate 59c751e2d0 adding PerSessionMFA to PromptMFARequest proto and disabling the TOTP (#53465)
prompt with a warning message when it's set
2025-03-28 16:22:30 +00:00
Zac Bergquist 213fd7bf53 lib/auth/windows: shrink CRL interface (#53540)
We only call a single method but were requiring an interface with
over a dozen methods.
2025-03-28 15:39:49 +00:00
Bartosz Leper 631c7c5642 Clarify the wording in role editor (#53259)
* Clarify the wording in role editor

Use "Teleport resources" and "Kubernetes resources" instead of
"resources" to make them unambiguous.

* Post-rebase test fix
2025-03-28 14:56:32 +00:00
Edoardo Spadolini 2fca5820ed SPIFFE X.509 issuer override: CRUD (#53088)
* SPIFFE X.509 issuer override: CRUD

* tctl support for workload_identity_x509_issuer_override

* Define audit log events

* Emit audit log events

* Add comments to point at the e implementation

* audit events fixtures

* Use DisallowUnknown in tctl
2025-03-28 13:26:09 +00:00
Dan UptonandTiago Silva ae13b4021e Workload ID: Support custom claims in JWT-SVIDs (#52861)
* Support additional claims in JWT-SVIDs

* Exclude the `extra_claims` field in Terraform

* Add a maximum nesting depth

* Add comment to clarify behavior of `PrivateClaims`

* Combine declaration with nil check

Co-authored-by: Tiago Silva <tiago.silva@goteleport.com>

---------

Co-authored-by: Tiago Silva <tiago.silva@goteleport.com>
2025-03-28 11:23:11 +00:00
Cam Hutchison de3e8a34a7 [auto] Update AMI IDs for 17.4.0 (#53519) 2025-03-28 11:17:55 +00:00
Grzegorz Zdunek d7ab676fdf Exclude IronRDP artifacts from linting in both teleport and shared directories (#53500) 2025-03-28 10:29:11 +00:00
Bartosz Leper 997beca575 Hide validation errors on newly added sections (#53224)
* Add ValidationSuspender component

This component makes it possible to conditionally hide validation errors
in a subset of form fields. It is required by an upcoming PR to the role
editor that satisfies the UX requirement of not showing validation
errors on newly added sections until the next explicit validation is
requested.

Also: add type information to useRule.

* Hide validation errors on newly added sections

Uses ValidationSuspender to hold validation errors from being displayed
on fields that belong to sections added while the validator is
validating. The newly invalid inputs will be marked as invalid only
after another explicit validation call (for example, when the user
attempts to save data).

* Post-merge test fix
2025-03-28 10:28:26 +00:00
Bartosz Leper 652fc7cb08 Add ValidationSuspender component (#53223)
This component makes it possible to conditionally hide validation errors
in a subset of form fields. It is required by an upcoming PR to the role
editor that satisfies the UX requirement of not showing validation
errors on newly added sections until the next explicit validation is
requested.

Also: add type information to useRule.
2025-03-28 07:44:37 +00:00
STeve (Xin) Huang 5060fdc0c4 Change GitHub SSHA CA sig algo for legacy to be compatible with KMS (#53444)
* Change GitHub CA sig algo

* revert change for balanced-v1
2025-03-28 00:31:11 +00:00
Noah Stride ccbe5c5a18 Document allow_reissue (#53439) 2025-03-27 23:33:09 +00:00
Zac Bergquist 2244cd39f9 Clean up LDAP packages (#53497)
When we originally broke some of the desktop access code out into
a shared windows package to help with MS SQL access we pulled too
much code. This commit just moves code that is only needed in one
package to the package where it is used, and un-exports it.

No functional changes.
2025-03-27 19:42:03 +00:00
Lisa Kim 5b33d41265 WebDiscover: clarify IAM requirements for RDS flow (#53205)
* WebDiscover: clarify IAM requirements for RDS flow

* Remove redundant wording

* Address CRS
2025-03-27 19:26:02 +00:00
Gavin Frazar d16a2ab752 Support health check config audit events (#53437) 2025-03-27 18:34:49 +00:00
Hugo Shaka 22b05490d6 Support adding introduction text into Terraform reference pages (#53474)
* TF docs: add introduction support in generic template

* TF docs: link database guide
2025-03-27 17:31:37 +00:00
Michelle Bergquist 940c5c2f03 Update aws oidc designs (#53297) 2025-03-27 17:19:50 +00:00
Edward Dowling 55e187c560 Decrease inline limit for plugin message formating (#53358)
* Decrese in line limit for plugin message formating

Also truncate message blocks that still exceed max slack text block length

* Add link to slack docs explaining text block char limit
2025-03-27 17:16:24 +00:00
Edoardo Spadolini ccffd6b5be Allow unknown fields when unmarshaling protojson resources (#53469)
* Prohibit implicitly strict protojson unmarshaling

* Avoid jsonpb.Unmarshal

* Define marshal option to disallow unknown fields

* Avoid protojson.Unmarshal

* Disallow unknown fields in tctl create

* Disallow unknown fields in the web UI
2025-03-27 14:35:37 +00:00
Edoardo Spadolini 70a0d18413 Deflake lib/auth.TestRollback (#53486) 2025-03-27 14:12:24 +00:00
Noah StrideandPaul Gottschling b3448877b5 Add documentation for workload-identity-aws-ra tbot service (#53322)
* Add cdocumentation for `workload-identity-aws-ra` service

* Apply suggestions from code review

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

* Adjust name to be full roles anywhere

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2025-03-27 13:52:43 +00:00
Rafał Cieślak 4d6abaebdf Add minWidth to Button (#53451) 2025-03-27 13:31:53 +00:00
Rafał Cieślak 5b22d28b75 Update e ref (#53482) 2025-03-27 10:28:08 +00:00
Rafał Cieślak 69f228bc56 Fix breakpoints (#53409)
* Fix breakpoints

* Export breakpointsPx as number values
2025-03-27 09:14:03 +00:00
Gavin Frazar ba5b13faae Add audit event protobufs for health_check_config (#53315) 2025-03-26 22:52:30 +00:00
Gavin Frazar 8d38eac6ce [docs] Fix role reference request_access docs (#53471)
* Fix request_access godoc

* Update terraform docs

* Update operator CRD docs
2025-03-26 22:43:56 +00:00
Sakshyam Shah 82add5c7ef support awsic plugin --assume-role-arn flag (#53403)
* support awsic plugin assume-role-arn flag

* review comments:
- fix command typo useSystemCredentials -> use-system-credentials
- explain why use-system-credentials is required
2025-03-26 21:47:22 +00:00
Zac Bergquist 76ac553af5 docs: fix typo in config example (#53464) 2025-03-26 21:19:52 +00:00
Bartosz Leper 56153e94a6 Minor improvements to the role editor (#53177)
* Minor improvements to the role editor

- Drop "New" from "Add New Resource Access"
- Add resource kind names to the collapsed admin rule section title
- Rename “Role Metadata” to “Role Information” and remove tooltip
- Add a description for each tab

* review
2025-03-26 20:41:52 +00:00
rosstimothy 4547f444cc Promote Items to backend.Backend interface (#53414)
Now that all backends implement backend.BackendWithItems the
temporary interface is removed and the Items method is included in
backend.Backend. All wrapper implementations, and backend mocks were
updated accordingly.

The backend reporter used to tally prometheus metrics was updated
with new metrics to track streaming requests since reusing the
batch read requests wouldn't make sense for iteration. This means
that once upstream consumers of the backend start switching from
GetRange to Items the batch read metrics will not be the complete
source of truth. The streaming metrics also lack some of the same
observability since chunk sizes and latency of reads cannot be
known at the reporter level. The only way to provide the same
batch metrics that we have today would require each backend
implementation to be responsible for updating the metrics when
performing their internal reads to supply the Items iterator.
2025-03-26 20:36:08 +00:00
Gabriel Corado 6cdb4b9de8 Unmarshal DynamoDB events legacy checkpoint key without AWS SDK V1 (#53264)
* refactor(dynamoevents): manually parse legacy dynamodb attributes

* refactor(dynamoevents): review suggestions

* refactor(dynamoevents): use aws sdk function to convert strings slice
2025-03-26 20:34:26 +00:00
Forrest 704fdfc23f rate limit resource cleanup (#53463) 2025-03-26 19:25:20 +00:00
Ryan Clark deb6adfba2 RFD 197: Better async state management with TanStack Query (#53158)
* RFD 197: Better async state management with TanStack Query

* Spelling
2025-03-26 17:59:40 +00:00
Rafał Cieślak 2216801207 Add rowGap and columnGap to Flex (#53440) 2025-03-26 15:56:25 +00:00
STeve (Xin) Huang 70ccd1bb14 [docs] Move discovery reference and fix ElastiCache/MemoryDB db access reference (#52854)
* Move discovery reference and fix ElastiCache/MemoryDB db access reference

* adding redirect

* fix spelling

* fix trailing slash

* fix links

* change to wildcard
2025-03-26 15:37:18 +00:00
Grzegorz Zdunek aebc00e25d Update e (#53443) 2025-03-26 12:35:32 +00:00
Hugo Shaka f1702784d5 Remove outdated instruction in tfdocs (#53441) 2025-03-26 12:01:11 +00:00
Grzegorz Zdunek 4575b06e59 Remove teleport imports from shared (part 1) (#53292)
* Move `DownloadConnect` to `teleport`

* Move `AuthorizeDeviceWeb` to `e-teleport`

* Import `TextSelectCopy` from `shared`

* Move `ClusterDropdown` to `teleport`

* Move `IAM_ROLE_NAME_REGEX` to `shared`

* Do not import `Latency` type from `teleport`

* Move `StyledDateRange` to `design`

* Move `FileTransferRequests` to `teleport` and refactor the story
2025-03-26 11:42:15 +00:00
Grzegorz Zdunek b1469dccc2 Extract shared desktop session component (#53395)
* Take initial session size from the canvas instead of the window

* Do not send resize events when canvas has no height

I'm pretty sure the backend side ignored them anyway, but there's no point in sending those events.

* Prepare `TdpClient` to work on a generic transport layer

* Improve alerts rendering

* Remove Web UI-specific components from the shared desktop session component

* Adjust a story to the new shared component

* Remove optional chaining from `client`, it no longer can be `undefined`

* Replace "username@desktop" with "username on desktop"
2025-03-26 11:18:50 +00:00
Rafał Cieślak 983017b23f Add basic VNet deep link integration (#53226)
* Add test for queuing up deep link launch before app is rendered

* Refactor DeepLinksService to a component

* Add VNet deep link handler

* Add new tab icon to Connect deep link in Web UI

Also, fix the icon in the comp warning, it's supposed to be on the right.

* Use separate field instead of redeclaring existing one

* Pass launchDeepLink as prop rather than mocking whole module

* Add text to VNet toggle button
2025-03-26 10:28:02 +00:00
Noah Stride 5b868adf81 Document new static_jwks field for the GitLab join token (#53389)
* Document new `static_jwks` field for the GitLab join token

* Fix mispell

* Empty commit for cla check
2025-03-26 09:46:13 +00:00
Gavin Frazar 034b47f915 Add protobufs for db health checks (#53305) 2025-03-25 23:31:36 +00:00