Commit graph

6194 commits

Author SHA1 Message Date
jane quin 808bc3d272
forward-port 6.1.2 CHANGELOG (#6553) 2021-04-22 18:51:13 -07:00
a-palchikov 4acf50902c
Node session race (#6195)
* Attempt to isolate and improve state handling of a NodeSession.

* Add terminal close for kube terminal tests

* Address review comments

* Small tweaks

Co-authored-by: Andrew Lytvynov <andrew@goteleport.com>
2021-04-22 17:16:28 -07:00
inertial-frame 0dbc11d838
[v7.0] Backport of editorial changes from v6.1 (#6564)
* docs: backport changes from 6.1

* docs: tics for filename

* docs: spacing

* docs: improve app access

* docs: improve kub access

* docs: improve kub access
2021-04-22 18:16:01 -05:00
Gus Luxton 87cd4bcc4e
Update Go version requirement in README (#6555) 2021-04-22 14:27:53 -07:00
Alexander Klizhentas 20c6ea3e54 Adds releases preview (#6533) 2021-04-22 13:15:20 -07:00
inertial-frame a67b522a26 [v6.1] Editorial Pass/Review - Home (#6544)
* docs: correct footnote
* docs: consistent 2fa
* docs: consistent sentence header casing
* docs: port tics
* docs: correct proper noun
* docs: slightly improve prereqs
* docs: reword limitations
* docs: correct wording, typos
* docs: improve getting started page
* docs: improve user manual
* docs: casing in adopters page
* docs: oxford commas
* docs: improved faq
* docs: tsh in tic marks
* docs: admin and prod guide
2021-04-22 13:15:20 -07:00
Lisa Kim fbc2e4eafb
[auto] Update webassets in master (#6532)
f8f082c Update renew session response and renew URL (#261) https://github.com/gravitational/webapps/commit/f8f082c

Switchback feature

[source: -w master] [target: -t master]
2021-04-21 23:39:41 -07:00
Roman Tkachenko d67e11ff2d
Adding postgres_public_addr and mysql_public_addr (#6426) 2021-04-21 19:52:52 -07:00
Andrew Lytvynov 7ff9d9d5d6 docs: fix typos in sample roles in MFA guide 2021-04-21 22:45:15 +00:00
Andrew Lytvynov 13eb433fc5
Enforce strict teleport.yaml validation (#6520)
* Enforce strict teleport.yaml validation

Strict validation was added in warning mode in
https://github.com/gravitational/teleport/pull/5057 and released in 6.0.

For 7.0, we can drop the legacy custom validation logic, with the
assumption that all bad configs were migrated.

* Implement 'teleport configure --test' command

This command tests an existing config for errors.
2021-04-21 15:10:55 -07:00
George Gaál b66bda89d0
Update Dockerfile (#6499)
remove unnecessary apt-get update and small rework

Co-authored-by: Andrew Lytvynov <andrew@goteleport.com>
2021-04-21 14:19:10 -07:00
colinedwardwood 5ca1b0d848
Update per-session-mfa.mdx (#6531)
moved require_session_mfa: true block out of metadata and into spec.

Co-authored-by: Alexander Klizhentas <klizhentas@gmail.com>
2021-04-21 10:39:18 -07:00
Steven Martin f4ec980bd6
correct dir reference in build instrs for slack plugin (#6527) 2021-04-21 09:03:29 -07:00
Steven Martin b9b170042d
Misspelling (#6503) 2021-04-21 06:01:41 -07:00
Alexander Klizhentas 06b7dc5fd2
Teleport Slackbot for latest slackbot (#6522)
Co-authored-by: Ben Arent <ben@goteleport.com>
2021-04-20 19:08:05 -07:00
Brian Joerger 228029df00
Improve process connection error handling and logging (#6471) 2021-04-20 16:59:01 -07:00
Brian Joerger d830ed6db7
Refactor api package and docs to use pkg.go.dev effectively. (#6388) 2021-04-20 16:44:17 -07:00
Steven Martin f2bf2b9356
Remove teleconsole reference in README (#6509) 2021-04-20 14:52:53 -07:00
Andrej Tokarčík 8b3e50dd61
Convert types.AuthPreference into a proto definition (#6510) 2021-04-20 11:27:03 -07:00
a-palchikov b7f96f8fb7
Wait for key agent to stop between key agent tests to improve reentrancy (#5342) 2021-04-20 09:36:39 -07:00
Trent Clarke 3954ee48f4
RFD-0022: Key Agent Forwarding (#6168)
Proposes changing the default behaviour of tsh ssh -A to forward the System Key Agent to the remote machine, rather than the ephemeral Key Agent that runs inside the tsh process. This change would bring the behaviour of tsh ssh into line with the OpenSSH ssh client.

This builds on a proposed solution to #1517 in order to provide an escape hatch that allows legacy behaviour if necessary.
2021-04-19 19:52:39 -07:00
Lisa Kim 7931977d72
[web] Add ability to switchback to default roles/expiry (#6373)
- Preserve login time with WebSession when user first creates a web session to derive
"default" expiry when user wants to switch back
- Change the signature of ExtendWebSession to accept a 
NewWebSessionRequest struct that contains session information
- Create renewSessionRequest object to read from web request for endpoint renewSession
- Endpoint now also returns SessionExpires time that is used as countdown in UI
2021-04-19 18:53:09 -07:00
Lisa Kim d39600a666
Revert "[web] Check for cloud feature before setting billing access (#6465)" (#6500)
This reverts commit 16be5376f5.

Remove panic caused by nil modules when auth/proxy are run seperately.
2021-04-19 16:48:29 -07:00
Andrew Lytvynov e63710a949
oidc: allow non-GSuite OIDC providers from Google (#5820)
You can follow
https://developers.google.com/identity/protocols/oauth2/openid-connect
to set up an OIDC provider in GCP, which is distinct from GSuite.

This provider uses the same issuer URL ("https://accounts.google.com")
as GSuite. Our code assumes that if that issuer URL is set, then it must
be GSuite, which is not correct. Only attempt to pull more data from
GSuite API if `google_service_account_uri` is set.
2021-04-16 15:23:40 -07:00
Ada 4afa82d78c
Update Terraform examples provider (#6332) 2021-04-16 15:03:14 -07:00
Joel Wejdenstål 33315dc139
set correct auditlog instead of discard (#6431)
Co-authored-by: Russell Jones <russjones@users.noreply.github.com>
2021-04-16 23:16:44 +02:00
Gus Luxton 6c5c911fad
Update region list for AWS AMI publishing (#6282) 2021-04-16 13:48:35 -07:00
Andrew Lytvynov f6ab3a8962
RFD 0: elaborate the deprecated state (#6468) 2021-04-16 11:59:27 -07:00
Andrew Lytvynov f9dbc66353 RFD 25: Hardware security module (HSM) support
Support for HSMs for CA key storage.

I mentioned a few design options in the RFD, but wrote the rest of it
based on my preferred option. It's not set in stone, so speak up if you
think the high-level approach is wrong.

Most of the complexity lies in backend storage and CA rotation. Actually
talking to HSMs over PKCS#11 is relatively simple.
2021-04-16 18:54:33 +00:00
Steven Martin cd98cbb184
Fix missing $ in token example (#6482) 2021-04-16 08:36:42 -07:00
Steven Martin 1b1f05c14e
[v7] cloud getting started updates (#6481)
getting started update
* Update faq.mdx
2021-04-15 18:36:02 -07:00
Lisa Kim 16be5376f5
[web] Check for cloud feature before setting billing access (#6465) 2021-04-15 14:40:08 -07:00
Jane Quintero cf67811a49 remove grafana pass var repeat 2021-04-15 14:02:16 -07:00
Andrej Tokarčík 462451be81
Always generate user certificates with RouteToCluster (#6115) 2021-04-15 13:09:43 -07:00
a-palchikov d5bc20bf95
Implement alternative reverse tunnel address support and add a test case. (#6056) 2021-04-15 12:11:48 -07:00
GMoney bb816769b3 Update README.md
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2021-04-15 11:20:03 -07:00
GMoney c5d0129341 Update README.md
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2021-04-15 11:20:03 -07:00
GMoney 67a37ddc51 Update README.md
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2021-04-15 11:20:03 -07:00
GMoney 247c0d43cb Update README.md
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2021-04-15 11:20:03 -07:00
GMoney caf4994234 Update README.md
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2021-04-15 11:20:03 -07:00
GMoney 0cdf3819d7 Update README.md
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2021-04-15 11:20:03 -07:00
GMoney 6730f50d5f Update README.md
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2021-04-15 11:20:03 -07:00
GMoney 4b1bbd8571 Phrase review the main README.md file
* Updated several strings to increase clarity.
* Modified markdown formatting in a couple of places to make code examples easier to parse.
* Updated strings to active voice, if it didn't interfere with clarity or content.
2021-04-15 11:20:03 -07:00
Brian Joerger 009dfedbd4
Update go-client to user new API client with tsh profile loader. (#6310)
* Update go-client to user new API client with tsh profile loader.

* Apply suggestions from code review

Co-authored-by: Andrew Lytvynov <andrew@goteleport.com>

Co-authored-by: Andrew Lytvynov <andrew@goteleport.com>
2021-04-15 10:10:25 -07:00
Gus Luxton 1d60d723b6
Moves license_file to the correct section and adds unit test (#6420)
Fixes #6411
2021-04-15 09:23:00 -07:00
Andrej Tokarčík e4591ed064
tctl: Return error if profile key is not for the root cluster (#6450) 2021-04-15 18:08:27 +02:00
Alexander Klizhentas 2a7fe213b8
Move introductions to the appropriate sections (#6456) 2021-04-14 17:06:57 -07:00
Andrew Lytvynov 205e811c4d Fix infinite recursion in client.Config.WebProxyHostPort
Also fix the very lax `utils.ParseAddr` logic for addresses without `://`.
Just noticed this during unrelated code review, it's not a known bug.
2021-04-14 23:30:35 +00:00
a-palchikov 3d459db6d3
Test flakes: use ordering tests for keep alives (#5358)
* Evaluate watcher events to decide whether keep-alives are effective
instead of relying on arbitrary TTLs (implemented as absolute time which
adds to trouble).

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

* Replace the approximate expire timestamps comparisons with the ordering tests

* Address review comments. Move ordered keep-alive tests back to backend/test/suite

* Use an alternative implementation of FakeClock.Advance for etcd to use real time.Sleep as etcd server cannot use fakeclock

* Address review comments

* Use fake clock in firestore tests

* Add missing import

Co-authored-by: Andrew Lytvynov <andrew@goteleport.com>
2021-04-14 14:47:14 -07:00
Roman Tkachenko 8230d6e436
Capture postgres extended protocol messages in audit log (#6303) 2021-04-14 13:39:59 -07:00