Commit graph

6180 commits

Author SHA1 Message Date
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
Lisa Kim 1880147bd4
[auto] Update webassets in master (#6436)
88f2044 Type and style tweaks and add unix display date (#257) https://github.com/gravitational/webapps/commit/88f2044

[source: -w master] [target: -t master]

note: billing usage summary and chart
2021-04-13 15:41:50 -07:00
Steven Martin 39cafd6a1c
Added reverse tunnel port info to teleport-kube-agent readme (#5621) 2021-04-13 13:55:10 -07:00
Forrest Marshall 63a6955c44
RFD 0026 - Custom Approval Conditions (#5071) 2021-04-13 13:42:27 -07:00
Brian Joerger 11594a0418
Update docs on oidc prompt logic for 6.1+. (#6427) 2021-04-13 11:18:29 -07:00
Joel Wejdenstål f17e029849
RFD 24: DynamoDB Audit Event Overflow Handling (#6359)
* added rfd 24
2021-04-12 22:39:38 +02:00
Gus Luxton 16cfe3003d
Forward-port 6.1.1 CHANGELOG (#6417) 2021-04-12 13:33:05 -07:00
Andrej Tokarčík f078e54ab9
RFD 16: Reserve the origin label for system use (#6157) 2021-04-12 10:57:37 -07:00
Andrew Lytvynov 6db37df515
drone: allow ARM builds in reprepro config (#6392) 2021-04-12 09:47:41 -07:00
Joel Wejdenstål 47fa2f98fe
Set status of RFD 18 to implemented. (#6358)
Co-authored-by: Alexander Klizhentas <klizhentas@gmail.com>
2021-04-11 08:44:00 -07:00
Alexey Ivanov 80350d70ba
Add new syntax description to the docs (#6384)
Co-authored-by: Alexander Klizhentas <klizhentas@gmail.com>
2021-04-09 20:38:48 -07:00
Alexey Ivanov ee4038812a
Rename images to match logical pixels (#6381)
Co-authored-by: Alexander Klizhentas <klizhentas@gmail.com>
2021-04-09 20:26:13 -07:00
Ben Arent 583de2f509
Add OpenSSH Video (#6371) 2021-04-09 19:35:19 -07:00
Alexander Klizhentas cfd23e9417
Documents dual authz with Mattermost (#6400)
Add Cloud SQL guide
Update preview
2021-04-09 17:45:02 -07:00
Russell Jones 0ea35df10c
Updated CHANGELOG.md. (#6345)
Co-authored-by: Roman Tkachenko <roman@gravitational.com>
2021-04-09 10:44:01 -07:00