Commit graph

8846 commits

Author SHA1 Message Date
Gus Luxton 2a6a3d07cf
docs: Update example S3 policy in AWS Helm guide to follow best practices (#14014) 2022-07-06 19:49:11 +00:00
Joel d0bde263be
RFD 73 - IdP-initated Login Flows for SAML and OIDC (#13467) 2022-07-06 18:17:08 +00:00
Zac Bergquist 3d72b702db
Make source IP-pinning an enterprise feature (#14141) 2022-07-06 17:25:31 +00:00
Marek Smoliński c712bed737
Firestore tests revert update retry period change (#14139) 2022-07-06 15:34:11 +00:00
Alex McGrath b5d380905e
Fixes and clarification of host user creation docs (#14133)
Clarify host user creation docs
2022-07-06 16:03:56 +01:00
Marco André Dinis 24cb3e3124
WebAPI: update user traits (#14076)
* WebAPI: update user traits

Web API only supports updating the roles property for a given User.

This PR adds the possibility of updating User's traits
- Logins
- DB Users
- DB Names
- Kube Users
- Kube Groups
- Windows Logins
- AWS Role ARNs

It only updates if the requests contains a non-nil value for the trait's
list.
It deduplicates the trait's list before applying it.
2022-07-06 15:55:45 +01:00
Rafał Cieślak 72befbbb0e
Add README for lib/teleterm (#14039) 2022-07-06 14:21:51 +00:00
Marek Smoliński d19e9af21f
Fix SQLServer procname -> proc_name json tag (#14095) 2022-07-06 11:31:34 +02:00
Rafał Cieślak d15b9b6e5b
teleterm_test.go: Make sure daemon has started before stopping it (#14074) 2022-07-06 08:34:33 +00:00
Gavin Frazar 187d2e04d3
Gavinfrazar/start postgres listener with no tls no mux (#13998)
* Start postgres without TLS when multiplexing is disabled

* Add integration test for starting postgres with --insecure-no-tls

* Fix dupe postgres listener mistake

* Log the actual address of listeners

* Remove unnecessary error checking
2022-07-06 02:33:47 +00:00
Gabriel Corado fec42e3895
Wait for application servers tunnel connection before integration tests (#14084) 2022-07-06 00:31:04 +00:00
Andrew Burke 4b46562e99
Update RFD 72 state (#14110)
This change updates the implementation state of RFD 72 (EC2 labels).
2022-07-05 22:37:29 +00:00
STeve (Xin) Huang cf88c0a283
Capture stderr from "tsh db connect" and reformat redis error (#13843) 2022-07-05 21:25:43 +00:00
Roman Tkachenko 8fbdf1c292
[auto] Update AMI IDs for 9.3.9 (#14112) 2022-07-05 19:56:40 +00:00
Paul Gottschling d3e3346538
Expand the edition comparison table (#13815)
Fixes #13389
2022-07-05 19:14:56 +00:00
Alexander Klizhentas 7d5b73eda3
docs: remove blocks hiding content and scope links (#14085)
remove blocks hiding content and scope links, fixes #14052
2022-07-05 11:00:54 -07:00
rosstimothy ab8ffb244a
Fix tracing exporter endpoints (#14003)
* Fix tracing exporter endpoints

Ensure that the endpoint provided to the trace clients
are correct even if the configuration doesn't include
the scheme. Prior to this the endpoint always attempted
to remove the scheme prefix, even when one wasn't provided.
Doing so led to the hostname to be altered which caused
some unknown host issues.

This also removes the process and process owner detector
from the tracing resource. Running within a container might
not have a username mapped to the uid which was preventing
tracing from being initialized.
2022-07-05 16:55:53 +00:00
David Boslee 0f7762c41b
Fix agent mesh integration test (#13954)
By using a randomized load balancer we improve the chances of an agent
connecting to all proxy servers within the given time period.
2022-07-05 16:01:03 +00:00
Alex McGrath e55cb9857d
Add documentation for automatic host user creation (#13056) 2022-07-05 14:25:52 +00:00
rosstimothy 0e937edd4d
Add timeout to auth http requests (#13976)
Sets the `Timeout` of the http.Client  used by the auth client
to 30s to prevent requests from blocking indefinitely. There
have been several failure scenarios that result in teleport being
completely stuck due to never receiving a response from an
http request. The 30s upper bound should prevent this, while
also being long enough that it shouldn't impact any requests
which may be slow.
2022-07-05 12:50:24 +00:00
Marek Smoliński 3c2decdca7
Update e ref (#14078) 2022-07-04 15:53:49 +00:00
Krzysztof Skrzętnicki 2d75aaced9
CLI ref for tctl sso commands. (#13148)
* CLI ref for `tctl sso` commands.

Co-authored-by: Zac Bergquist <zmb3@users.noreply.github.com>

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-07-04 15:23:51 +00:00
Marek Smoliński eb2401d5ee
DynamoDB events by session ID (#13284) 2022-07-04 13:45:32 +02:00
Edward Dowling 7ffebb3f75
tctl: Clarify message if tctl is called before teleport is ever run (#13975) 2022-07-04 09:39:26 +00:00
Sakshyam Shah 771c80a3b3
Add video banner to WebAuthn guide (#12453)
Adds video banner to webauthn guide
2022-07-04 08:44:22 +05:45
Alexander Klizhentas 0cf227db6d
Add networking with TLS routing (#13762)
* Add networking with TLS routing, fixes #13751
2022-07-03 23:20:22 +00:00
Zac Bergquist 06fd14d7c2
bot: require admin approval for large PRs (#13350)
This check requires that PRs which add > 1500 lines of new code
require an admin approval in order to be merged.
2022-07-02 15:51:22 +00:00
Jakub Nyckowski d03f8db0ca
Use CentOS 7 for building release binaries (#14062)
Switch to CenOS 7 as a base for Teleport releases.

Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2022-07-02 02:11:37 +00:00
Forrest Marshall 2be514d3c3 don't precompute keys on peripheral agents 2022-07-01 13:36:22 -07:00
Brian Joerger c2a8ff3e78
Handle SHA1 certificates in ssh proxy command (#13956) 2022-07-01 18:39:48 +00:00
Alan Parra e005f6060e
Implement FIDO2 credential picker (#14033)
Add a credential picker to the tsh FIDO2/WebAuthn backend.

The PR pulls a recent patch in our go-libfido2 fork that makes it correctly
return multiple assertions from the authenticator. This allows us to implement
the credential picker for FIDO2, simplify our implementation and provide the
exact same UX that browsers use (always 1-touch for bio, touch->PIN->touch
otherwise).

I've dropped concepts like "optimistic assertions" and "eager PIN prompts" in
favor of a simple, uniform implementation.

Issue #13901.

* Prompt for credentials in LoginPrompt
* Update go-libfido2
* Implement FIDO2 credential picker
* Drop optimistic assertions, only set user if explicit
* Add license to fido2_prompt_test.go
2022-07-01 16:24:26 +00:00
Edoardo Spadolini c2c4e4a630
Use JSON logging in tests (#13977)
* Use JSON logging in tests

* log to logrus
2022-07-01 11:09:39 +00:00
Alex McGrath aee44e5678
Prefix sudoers lines with the user that is logging in instead of requiring a trait be templated. (#14007)
Prefix sudoers lines with user being logged in as
2022-07-01 09:28:14 +00:00
Michael 4280f814ae
pass and preserve a path parameter during the app authentication (#13832)
* pass and preserve a path parameter during the app access authentication process

* added missing semicolons

* more javascript formatting

* removed incorrect path redirect. replace URL with URL.Path

* added a test for HasName

* added another test for default path

* ensure path param is valid path

* build url without string concat
2022-06-30 19:49:46 -05:00
Russell Jones c0cd120820 Fixed TestAppServersHA. 2022-06-30 16:59:11 -07:00
STeve (Xin) Huang 86d9e30765
Fix an issue DB rotation event get send to older remote cluster (#13857) 2022-06-30 21:16:12 +00:00
Nic Klaassen 9ca9082cb0
Fix resource access requests for apps (#13955) 2022-06-30 20:42:09 +00:00
Isaiah Becker-Mayer 6f327946cf
Fix TDP/RDP termination (#13912) 2022-06-30 19:59:05 +00:00
Edoardo Spadolini f3ceca0278
Push CAs after establishing watchers in remoteSite. (#13895)
Update CAs on connection in remoteSite
2022-06-30 21:25:54 +02:00
Zac Bergquist 69fd10e9a5
Apply traits to Windows Desktop labels (#13991)
It was noticed that this functionality has been missing.

Updates #5973
2022-06-30 17:55:20 +00:00
Lisa Kim fa7d59adf0
[auto] Update webassets in master (#13916)
fc203f78 Fix menu bug (gravitational/webapps#929) https://github.com/gravitational/webapps/commit/fc203f78

[source: -w master] [target: -t master]
2022-06-30 16:47:43 +00:00
STeve (Xin) Huang cfbea378c3
Documentation for ElastiCache (#13133) 2022-06-30 16:10:57 +00:00
Marek Smoliński 86ac49b10e
Try to fix TestAppServersHA flakiness (#13992) 2022-06-30 15:41:39 +02:00
Jakub Nyckowski f41d24630e
Fix v9 trusted cluster DB CA sync (#13871) 2022-06-30 09:01:09 +02:00
Jakub Nyckowski a3bc24e28b
Add Snowflake integration docs (#12816)
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2022-06-30 02:53:19 +00:00
Nic Klaassen 86e0b6aec0
Add docs for resource access requests (#13831) 2022-06-29 21:52:19 +00:00
Brian Joerger 8db2a1ec0d
Test Plan - Update proxy jump tests for tls routing configurations (#13854) 2022-06-29 18:37:24 +00:00
Ben Arent fc4908e4b4
Update Header Videos for Getting Started. (#13945)
* Update Video URL

* extra labs and video update
2022-06-29 17:52:53 +00:00
Brian Joerger fad3943834
Remove duplicate parties in kube and ssh session trackers. (#13753) 2022-06-29 17:43:32 +00:00
Tim Buckley 207332d170
Add Machine ID enterprise license enforcement (#13914)
* Add Machine ID enterprise license enforcement

This adds two checks to Machine ID for license enforcement: one on
initial bot create, and another on join.

* Use modules.SetTestModules(); fix failing test
2022-06-29 16:27:18 +00:00