Commit Graph
6958 Commits
Author SHA1 Message Date
Jane Quintero 52bf810398 Update workflow files to run workflows in the context of master (#8728) 2021-11-03 11:31:48 -07:00
Lisa Kim 9a10edc26b Bring back previous u2f challenge response for web terminal (#8830) 2021-11-03 10:42:40 -07:00
Joel 9c7ab58a2b Update Go badge to 1.17 (#8841) 2021-11-03 16:06:51 +01:00
Zac Bergquist e281f2c50d Fix the client idle disconnect audit event for desktops
We were attempting to use the desktop name as the server ID,
but in order to publish audit events we must use the HostUUID
of the windows_desktop_service.

Updates #8665
2021-11-03 08:52:43 -06:00
Zac Bergquist fa21858d80 Fix trailing whitespace 2021-11-02 17:48:22 -06:00
Isaiah Becker-Mayer 2ac8ba6a5a Adds a test for scroll wheel 2021-11-02 17:48:22 -06:00
Isaiah Becker-Mayer 0545c976ef updates keyboard test plan 2021-11-02 17:48:22 -06:00
Zac Bergquist a2038cb5d2 Include desktop access in test plan 2021-11-02 17:48:22 -06:00
Roman Tkachenko d87ee8f640 Fix mongo access with mfa and add tests (#8799) 2021-11-02 12:06:58 -07:00
Marek Smoliński 6cf111b241 Fix reverse tunnel web ping call log severity (#8775) 2021-11-02 15:47:34 +01:00
Lisa Kim 49227507b4 Update e-ref (#8819) 2021-11-01 19:58:57 -07:00
Lisa Kim 092e3ab72e Remove checking for error from session end in web terminal (#8797)
Removes the call for wait for ssh.Session end to check for errors
in web terminal which fixes a regression bug where typing "exit" 
in web terminal does not return session end event. 
PR #8081 removed the need to check for errors as it correctly 
returns exit errors whereas before it returned nil.
2021-11-01 20:55:59 -04:00
Zac Bergquist 878539bf49 Update rdp-rs to fix horizontal scroll + extended keys
This pulls in the fixes from gravitational/rdp-rs#4

Updates #8742

Backport to v8 required.
2021-11-01 15:59:52 -06:00
Jeff Anderson ba908da2b0 update to syntax change in terraform provider (#8782)
As of the 7.1.0 version of the terraform provider, kube_groups is now kubernetes_groups:

https://github.com/gravitational/teleport-plugins/commit/191ebbb043cc43244b7502163ccf5e1c4a6d728f#diff-945482f9602d8a0ad1775753261e0e5b1e7ddbb64dad8b4af6d61bdaab27be40L22-R23
2021-11-01 16:44:10 -04:00
Gus Luxton 3cedd55338 [helm] Change path -> mountPath under extraVolumeMounts (#8806) 2021-11-01 11:33:35 -07:00
Gus Luxton 4a0e1e64d8 [ami] Get wildcard DNS cert when using certbot/Letsencrypt with Terraform AMI (#8792) 2021-11-01 09:47:44 -07:00
Roman Tkachenko 9bf88bef01 URL-encode Postgres username in connection string (#8771) 2021-11-01 08:40:06 -07:00
Lisa Kim c5b2da13b7 Return created date with new recovery codes (#8777) 2021-10-29 20:14:56 -07:00
Russell Jones 912704bb51 [auto] Update AMI IDs for 7.3.2 2021-10-29 17:18:42 -07:00
Zac Bergquist 2d34ab4402 Update mac builds
Download Rust and Go per-build to ensure that the right version is used
and that builds do not step on each other.

Also rungs cbindgen in quiet mode to suppress the annoying output it
spews for non-public symbols.
2021-10-29 16:55:53 -06:00
Lisa Kim 14cf9f6d23 Update test plan (#8794) 2021-10-29 14:34:16 -07:00
Alan Parra 41b6ae7b63 Set user verification to "discouraged" for WebAuthn (#8759)
The default user verification setting, "preferred", leaves it open for
client-side implementations whether to to perform verification checks.
In theory it sounds reasonable, but in practice it takes a variety of
forms: Chrome will perform PIN checks if a PIN is configured, a
redundant check in face of our existing password checks. Windows goes a
step further and directs user to set a PIN, a further deviation from the
usual security key workflow.

The traditional workflow is achieved by setting user verification to
discouraged, implemented here.

Reference:
- https://chromium.googlesource.com/chromium/src/+/refs/heads/main/content/browser/webauth/uv_preferred.md

* Set user verification to "discouraged" for WebAuthn
* Add user verification to CredentialAssertion proto
* Add authenticator selection to CredentialCreation proto
2021-10-29 14:06:11 -07:00
Andrew Burke 71ea32fbae Add '+' to key sanitizer whitelist (#8396) 2021-10-28 16:02:55 -07:00
Isaiah Becker-Mayer e6339821d8 flips struct ordering to match with tdp spec (#8753) 2021-10-28 13:36:48 -07:00
Andrew Burke e8f06b0cce Fix error message when direct dial fails (#8678)
New error message no longer refers to reverse tunnel when the error is for direct dials.
2021-10-28 12:53:41 -07:00
Forrest Marshall 596e0cbf88 set packer version 2021-10-28 11:54:34 -07:00
Brian Joerger 20da22ca35 API release automation with go script (#8484) 2021-10-28 10:15:47 -07:00
Trent Clarke 5463c799ea Fix race condition in PipeNetCon (#8643)
The race condition detector is being tripped by a concurrent `Write` and
`Close` in the `PipeNetCon` in several integration tests. This is a naive
fix to serialize the write and close operations to resolve the race
condition.

The affected tests were also not handling asynchronous error reporting
correctly (i.e. it's not legal to call `require.XYZ()` from a goroutine
other than the one executing the test function.). This patch introduces
some plumbing to marshal asynchronous errors back into the main test
routine before failing the test.
2021-10-28 09:38:51 +11:00
Zac Bergquist 8101a3d2aa Update e 2021-10-27 14:36:33 -06:00
Zac Bergquist 4685e6ba1b Ensure that Rust libraries are cleaned 2021-10-27 14:36:33 -06:00
Alan Parra 26e2809cee Update and mark WebAuthn RFD as implemented (#8751) 2021-10-27 12:36:27 -07:00
Marek Smoliński cf16212411 Update TLS routing test plan scenarios (#8731) 2021-10-27 20:59:44 +02:00
Nic Klaassen f884cdd7e3 Make RegisterUsingTokenRequest a Protobuf type (#8690) 2021-10-27 10:59:44 -07:00
Zac Bergquist cdf053eba7 Stop linking lcrypto and lssl
The Rust code now uses vendored mode [1] to statically link openssl,
so we no longer need dynamic linking for these libraries.

This also resolves an issue where extra flags were needed to build
locally on macOS.

[1]: https://docs.rs/openssl/0.10.36/openssl/#vendored
2021-10-27 10:51:43 -06:00
Zac Bergquist b431cf1242 Update e 2021-10-27 10:51:43 -06:00
Zac Bergquist edf9b927f4 Add Rust to buildbox
- Ensure Rust is installed in the buildbox image
- Install Rust toolchains for each arch we support
- Use openssl's vendor feature to ensure we always link a static lib
- Automatically include RDP client if Rust is detected
2021-10-27 10:51:43 -06:00
Brian Joerger 6f17db50b3 Add link to Teleport Changelog in helm chart repository site. (#8734) 2021-10-26 17:43:32 -07:00
Trent Clarke eca9603376 Include package-level failures in formatted test output (#8698)
In some cases, it's possible for a package to be marked as a test
failure even if no tests inside it have failed. The motivating example
for this change is a timeout: a test overshooting the allotted timeout
is considered by go test to be a package-level failure, even if no
tests inside the package are considered failures.

This led to cases where the user would see an "All tests passed"
message from the go test filter, but still mysteriously fail the make
step.

To address this, the test renderer now:

  * treats package-level pass/fail/skip events as first-class citizens
    and includes them in its event count,
  * tracks the cached test output at both a package and individual test
    level, and
  * displays the whole package output if a package is marked as failed,
    but only if there is no obvious failed test top account for the
    package-level failure.

This patch also removes the json files created by the unit tests, as
they are not yet needed for anything.
2021-10-27 11:14:27 +11:00
Lisa Kim a731e3c9ff Fix event code duplication for PrivilegeTokenCreateCode (#8733) 2021-10-26 14:35:22 -07:00
Marek Smoliński 2815404c28 Update AWS CLI application access docs ref (#8634) 2021-10-26 19:55:38 +02:00
Marek Smoliński 3fb2cbab75 Update docs per-connection MFA DB access (#8682) 2021-10-26 19:49:19 +02:00
Roman Tkachenko a132ead57c Add RFD 38 (#7769) 2021-10-26 09:55:51 -07:00
Roman Tkachenko 57fb42371b RFD 31: Dynamic registration for apps and databases (#6787) 2021-10-26 09:43:40 -07:00
Jane Quintero 6d0fa6f794 Update GH Actions Workflow Commands (#8724)
Update path in command for Github Actions (Assign and Check workflows)
2021-10-25 15:27:26 -07:00
Jane Quintero 5a29168512 Development Workflow Automation (#8116) 2021-10-25 14:29:38 -07:00
Roman Tkachenko 17eb200b7a Update app and database access test plan scenarios (#8718) 2021-10-25 11:35:57 -07:00
Nic Klaassen e9f2f8ec06 Add missing aws certs (#8704) 2021-10-25 11:28:17 -07:00
Russell Jones 78b2c1e8b0 Fixed CentOS 6 builds.
Fixed issue that prevented Teleport 8 from being built on CentOS 6.
2021-10-25 10:52:55 -07:00
Gus LuxtonandGaetan 1866f308c8 Add priority class name (#8669)
Add documentation, schema and linter config

Signed-off-by: Gus Luxton <gus@goteleport.com>

Co-authored-by: Gaetan <gaetan.snl@gmail.com>
2021-10-25 07:09:09 -07:00
Tim Ross aef1842c01 add routing_strategy to config docs 2021-10-22 17:12:43 -07:00