Commit graph

15463 commits

Author SHA1 Message Date
dependabot[bot] 761f73740d
Bump the rust group with 2 updates (#33803)
Bumps the rust group with 2 updates: [bitflags](https://github.com/bitflags/bitflags) and [uuid](https://github.com/uuid-rs/uuid).


Updates `bitflags` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.4.0...2.4.1)

Updates `uuid` from 1.4.1 to 1.5.0
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/1.4.1...1.5.0)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 16:06:02 +00:00
fheinecke 25c7ba6d73
Set -reviewers="${{ secrets.reviewers }}" on changelog workflow (#33787) 2023-10-23 15:36:42 +00:00
Grzegorz Zdunek a5ab44deb5
Fix the top bar going outside the window (#33752) 2023-10-23 14:55:34 +00:00
Steven Martin bdd07cb8c8
docs: update local windows getting started to include all scopes (#33789) 2023-10-23 14:41:43 +00:00
Grzegorz Zdunek 2d5e583ecc
Fix d3-color@3.1.0 breaking tests (#33809) 2023-10-23 14:18:37 +00:00
Zac Bergquist 78706e2b5b
Disambiguate directory sharing's disabled and inactive states (#33771)
Prior to this change, the UI would show "disabled" when directory
sharing is disabled due to RBAC and when it is enabled but inactive.

Closes #33748
2023-10-23 14:13:58 +00:00
Steven Martin 006a4f7ea1
docs: reword tctl instructions (#33788)
* docs: reword tctl instructions

* update as macOS instead of MacOS

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-10-23 13:55:57 +00:00
STeve (Xin) Huang 13a423e324
Fix an issue tsh aws ecs execute-command fails (#33705) 2023-10-23 13:05:20 +00:00
Lisa Kim 794773c35f
Web: Redirect to login upon missing session cookie (#33726)
* Web: Redirect to login upon missing session cookie

* Address CR
2023-10-23 07:14:19 +00:00
fheinecke 9f8530e8db
Added workflow to check changelog entries (#32775)
* Added workflow to check changelog entries

* Addressed PR comments
2023-10-20 22:16:51 +00:00
rosstimothy cbf8f66216
chore: import packages only once (#33782)
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
Signed-off-by: Tim Ross <tim.ross@goteleport.com>
Co-authored-by: guoguangwu <guoguangwu@magic-shield.com>
2023-10-20 21:53:44 +00:00
Anton Miniailo 2f5cdf8cfc
Add audit events for headless login (#33719)
* Add audit events for headless login

* Print out error for headless login approve failure event
2023-10-20 21:13:47 +00:00
rosstimothy b236f24ffa
Enable optimistic locking support for roles (#33671)
Updates tctl edit and the web ui to use the new UpdateRole RPC
which uses optimistic locking to enforce that concurrent
modifications to a role are not possible.

A few small improvements  were also done on the github connector tests
which the role tests were based on.

Contributes to #30416.
2023-10-20 20:04:04 +00:00
Anton Miniailo d7791f6280
Add headless mode to 'tsh proxy kube' (#33297)
* Add headless mode to 'tsh proxy kube'

* Require clusters specified for headless mode

* Use cf.Stdout()

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>

* Remove unneeded check.

This error will be returned from 'c.prepare()'

* Extract logic of running headless proxy into a function

* Add comment about cancel function

* Use []byte instead of strings to avoid unnecessary conversions

* Add information note for the user about shell reexec.

* Modify headless kube proxy info print out.

* Fix protos after rebase.

* Fix mismatched number of returns

---------

Co-authored-by: STeve (Xin) Huang <xin.huang@goteleport.com>
2023-10-20 19:50:44 +00:00
Gus Luxton 65eba5da93
tsh: Add support for host:port combinations to tsh puttyconfig (#33518)
* tsh: Add support for host:port combinations to tsh puttyconfig

* docs: Update PuTTY docs to add instructions for adding OpenSSH nodes

* Add OpenSSH example to tsh puttyconfig CLI reference

* Tidying as suggested by tiago
2023-10-20 19:44:06 +00:00
Nic Klaassen 8421f0b875
feat: generate randomized ExternalCloudAudit config (#33555) 2023-10-20 19:15:45 +00:00
Zac Bergquist 8388004aca
docs: improve formatting of bool options (#33658)
We should not use `[true|false]` syntax when describing fields
in a YAML file, as the square brackets may be interpreted as a
YAML list instead of a scalar boolean value.
2023-10-20 18:59:04 +00:00
Zac Bergquist 1e917f3a1b
docs: fix YAML syntax for Grafana header rewrite (#33604)
These are strings, not objects, so they must be quoted.
Also removed the <Var> component here since it makes it
harder to spot the trailing slash and breaks YAML syntax
highlighting.

Closes #32460
2023-10-20 18:57:43 +00:00
Yassine Bounekhla 3ffeaf361a
fix order (#33770) 2023-10-20 18:48:18 +00:00
Gus Luxton 15d058d8ff
docs: Update service type for ACM deployments in Enterprise (#33711)
https://github.com/gravitational/teleport/pull/29454 fixed this for OSS deployments but not Enterprise.
2023-10-20 18:25:01 +00:00
Mike Jensen 7452614827
Remove CodeQL Scanning for release branches (#33723)
* Remove CodeQL Scanning for release branches

In RFD 114 (PR #32233) we setup mirroring for the Teleport release branches to the `teleport-sec-scan` repos.  There are several advantages to moving the CodeQL scanning to these repos:
* It removes the manual process described in `preflight` to update the codeql scanning branch
* It solves the issue of alerts being repeatedly opened and closed as they are found on release branches and only fixed in master, for example: https://github.com/gravitational/teleport/security/code-scanning/560

As such CodeQL has already been configured on these repos and the initial findings triaged: https://github.com/gravitational/teleport-sec-scan-1/blob/master/.github/workflows/codeql-mirror.yml

* codeql: Comment relaese branch scanning
2023-10-20 17:08:16 +00:00
Michael 4bed1c2b79
Check if resource exists before making sort keys to delete (#33678)
This adds a check to make sure the resource we are about to delete actually
exists in the resources map and throws an error if not. Right now, if it
doesn't exist then we cause a panic trying to generate a sort key from `nil`.
2023-10-20 16:56:06 +00:00
Michael 5a7544c127
Always use lowercase when pinning resources (#33721) 2023-10-20 16:05:37 +00:00
Mike Jensen 23907cadd0
snowflake/http: Limit Decompressed Request to 10MB (#33648)
* snowflake/http: Limit Decompressed Request to 10MB

* snowflake/http: Use existing `utils.ReadAtMost` instead of io.LimitReader directly
2023-10-20 16:00:31 +00:00
Steven Martin 5d33f04b97
remove preview from directory sharing button (#33739) 2023-10-20 15:25:49 +00:00
Paul Gottschling a9d9fec7cf
Add an Access Request configuration guide (#33414)
* Add an Access Request configuration guide

Fixes #22496
Fixes #13927
Fixes #6557
Fixes #31095
Fixes #29980
Fixes #17630

The current approach to documenting Access Requests is to include how-to
guides for various scenarios. The downside of this approach is that we
don't have a great place to put general conceptual discussions of Access
Request configuration fields. This leads to confusion among users
regarding the way Teleport handles certain Access Request configuration
options.

This change adds a conceptual guide that explains all of the fields in a
Teleport role that are relevant to configuring Access Requests.

This change also moves conceptual discussions from other guides into the
new guide. To limit the scope of this change, it is not intended to
overhaul the existing guides. If a discussion of a particular
configuration field was buried in another guide, this change moves it
into the new guide:
- `preview_as_roles` discussion in the Role Requests guide
- TTL information in the Role Requests guide
- The reference role in the Role Requests page

* Respond to zmb3 feedback

- Use clearer wording when describing key concepts.
- Include more detail about the `max_duration` field.
- Use consistent version numbers in example roles.

* Fix linter issues
2023-10-20 15:20:00 +00:00
Mike Jensen 79273d393e
Pin d3-color version to ^3.1.0 (#33709) 2023-10-20 15:04:53 +00:00
STeve (Xin) Huang 4f628a23bd
[docs] Automatic user provisioning for MySQL (#33084)
* [docs] Automatic user provisioning for MySQL/MariaDB

* remove mariadb

* address comments

* add Admonition for database username

* fix lint (links)
2023-10-20 13:37:29 +00:00
rosstimothy b511b86bf4
Add users service proto (#33578)
Introduces the new teleport.users.v1.UsersService and deprecates
associated RPCs from the teleport.AuthService.
2023-10-20 13:13:37 +00:00
Rafał Cieślak 0af059a796
Parse deep links sent to Connect (#33639)
* Reorganize uri & tests

* uri routing: Use `routing` instead of `this`

`this` used within objects like this loses type information due to implicit
any used by TypeScript there. Instead, we can refer to `routing` (like
other functions already do) and keep type information.

* Add parseConnectMyComputerUri

* Parse and validate deep link in main process
2023-10-20 10:52:11 +00:00
Rafał Cieślak 4ed8c5efc0
Update Jest to v29 and use custom env to expose TextEncoder & TextDecoder (#33683)
* Use custom Jest environment to expose TextEncoder & TextDecoder

* Update Jest to v29

* Simplify imports and exports

* Update e ref
2023-10-20 10:05:11 +00:00
rosstimothy 3c68797ea3
Enable optimistic locking support for SAML connectors (#33462)
Updates tctl edit and the web ui to start using optimistic locking.
The functionality to support optimistic locking already existed,
the APIs used by both clients were updated to use create/update
instead of upsert so that optimistic locking could be enforced.
Most of the changes introduced are tests to ensure that tctl edit,
tctl create behave as expected.

Note: the web ui changes are include in the e ref update.

Contributes to #30416.
2023-10-19 19:53:17 +00:00
Tim Buckley f90ea42e31
Supporting changes for Cloud email invites (#32439)
* Add WIP implementation of Teleport email invites

This adds a WIP impl of Teleport email invites. Requires a compatible
Enterprise build and Cloud API.

* Bump e ref and add new validation rule

* Various improvements to enable Cloud email invites

* Add description to UI role resources
* Expose various new react-select options
* Add new FieldSelectCreatable
* Add some typing for validation rules
* Tweak invite button for Cloud to use email UI instead of showing
  both buttons
* Partial implementation for onboarding invites

* Add support for Cloud collaborator invites during onboarding

This adds various changes to enable showing the invite collaborators
form during initial user onboarding.

 * Adds a `?initial` URL query parameter for the UI to signify the
   first user; Cloud will append this to invite appropriate invite
   links.
 * Added a new ratelimited public endpoint to return a list of preset
   roles. This just exposes static data available otherwise available
   in Git and that could be obtained from the public Teleport version
   shown in ping responses already.

* Update e ref for the invite-collaborators branch

* Honor the `inputId` parameter if set

* bump e ref

* Improve typing for `requiredEmailLike` to add a error category

The `kind` field can allow the UI to group errors together if several
invalid emails are entered.

* bump e ref

* Destructure the InviteCollaborators component sanely

* Set `setDisplayInviteCollaborators` to `null` instead of `false`

* Split `FieldSelectCreatable` into its own file

* Fix lint

* add story for SelectCreatable

* Add tests for `requiredEmailLike`

* Rename `initial` flag to `invite`

Renaming the flag will hopefully clarify the intent.

* Add tests for invite collaborators feedback and users rendering

* Add rendering test for the invite collaborators card

* Clean up lints

* Rename types.tsx -> shared.tsx

* Relocate invite constant to `Welcome/const.ts`

* Split `SelectCreatable` into its own story

* Clarify SelectCreatable story

* Simplify story; fix lint

* Fix type checker failure

* Rename `preset-roles` endpoint to `presetroles` to follow API conventions
2023-10-19 18:41:04 +00:00
Noah Stride 7e11b3ab58
Machine ID Docs Refactor (#31259)
* Skeleton out docs refactor (#31017)

* Start outlining index pages

* More reshuffling

* Remove old guides index page

* Adjust sidebar config

* Fix redirect

* Fix crosslinks

* Fix changelog links

* Fix more links

* Add short descriptions for platform guides

* Improve some page descriptions/signposting

* Nicer title

* Outline intro page

* Add notes on common usecases

* Remove old sections from introduction

* Start to outline overview topics

* Roughly expand on overview to cover bot user/bot role

* Clarify usecases

* Attempt to break up further reading section to be intelligible

* SPAG

* Add TODOs

* Machine ID Docs Refactor: Kubernetes Platform Guide + some AWS/GCP (#31796)

* Add config files needed for Kubernetes deployment

* Tidy examples under defined headers

* Add namespace to specs

* Add notes on join methods

* Further details on Kubernetes joining

* Document kubernetes rbac resources

* Skeleton out GCP/Linux platform guides

* Add necessary topics to the background for GCP and Linux

* Try and rewrite the blank role mdx to be less rubbish

I'm pulling my hair out over this lol

* Add a todo so I can come back to this part of the description when i can use words

* Further flesh out the background shape and intor shape for the platform guides

* Add more steps to k8s guide

* Fix links to k8s page

* Explain `kubernetes` join method

* Add documentation to the token yaml

* Add reasoning for role

* Document deployment manifest

* Add notes on determining if the deployment is healthy.

* Add token yaml for aws/gcp from my reference notes

* Add token/bot creation step for aws,gcp,linux

* customizing

* Machine ID Docs Refactor: Add `tctl` and `terraform` access guides (#32036)

* Outline `tctl` access doc

* Flesh out Terraform page with an example

* Fill out the copy for the Terraform provider guide

* Add explanation to configure tbot step of Terraform guide

* Add similar explanatory prose to tctl.mdx

* Add example role for tctl guide

* Try to better explain modifying the existing role

* Fix prerequisites

* Note on configuring permissions

* Fix SPAG

* Appease linter

* Expand intro for Terraform

* Please linter with newlines

* Remove spurious newline

* Clarify install/confgiure language

* Update docs/pages/machine-id/access-guides/tctl.mdx

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

* Update docs/pages/machine-id/access-guides/tctl.mdx

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

* Update docs/pages/machine-id/access-guides/tctl.mdx

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

* Update docs/pages/machine-id/access-guides/terraform.mdx

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

* Remove bactics from title

* Make example roles less powerful

* Add example of tctl command to check success

* Correctly say platform guide not access guide

* Be more specific in mentioning `tbot`

---------

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

* Remove V11 support warnings from platform guides

* Machine ID Docs Refactor: Linux VM based Platform Guides (#32472)

* Add pre-requisites

* Add example systemd service

* Notes on oneshot mode

* Offer daemon or oneshot mode docs

* Hide one-shot mode from `token` join based Linux

* Clarify Linux user for access

* Use variables for the token and explain commands

* Explain creating systemd service

* Explain when to prefer one-shot mode

* Add skeleton for Azure

* Document azure join token fields

* Add intros for guides

* Explain why we protect the directory

* Add install instructions

* Remove step regarding writing token to a seperate file

* Move coinfigure outputs to template

* Signify each step as local machine or target host

* Explain gcp/azure join methods

* Explain token and iam join methods

* Remove no longer recommended host certs guide

* Add next step

* Correct list of supported join methods

* Machine ID Docs Refactor: Rewrite GitLab and CircleCI guides (#32834)

* Start reshaping the circleic guide

* Make some changes to the GitLab side as well

* Add role creation to GitLab guide

* Add role creation step to CircleCI guide

* Adjust token file name

* Make sure anonymous telemetry advice is included

* Machine ID Docs Refactor: GitHub Actions docs (#32854)

* Start restructuring GHA guides

* Copy in Kubernetes Action example

* Add example DIY workflow

* Adjust examples with replacement steps

* Link off to the action github pages

* Tidy up introduction for GHA guide

* Explain GHA examples better and more searchably

* Improved title

* Add example role modifications

* Machine ID Docs Refactor: Ansible Access Guide (#32741)

* Rework Ansible with Server Access guide

* SPAG and consistency suggested changes

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

* Clarify intro and use the variable throughout

* suggested fixes

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

* Clarify configuring bot rbac

---------

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

* Machine ID Docs Refactor: Application Access (#32745)

* Rework Application Access docs

* Code review suggestions

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

* Clarify RBAC

---------

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

* Machine ID Docs Refactor: SSH Access guide (#32735)

* Add prereqs for ssh access guide

* Outline steps and output config

* Add guidance on tsha nd OpenSSH

* Guidance on other tools

* Simplify guidance on other tools

* Link to ansible guide

* Apply suggestions from code review

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

* Reorganise RBAC section

* Fix miscopied sentence

---------

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

* Machine ID Docs Refactor: Architecture and Introduction (#32901)

* Rewrite getting started guide next steps

* Rewrite introduction introduction to focus on tangible machine ID benefits

* Overview

* Add todo markers

* Rewrite overview

* Rewrite some of the architecture page

* Apply suggestions from code review

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

* Rearrange "overview" to act as "concepts"

---------

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

* Machine ID Docs Refactor: Database Access (#32743)

* Rewrite database access guide

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Clarify that systemd should be used rather than exercise for reader

---------

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

* Machine ID Docs Refactor: Kubernetes Access (#32744)

* Rewrite Kubernetes access guide

* Code review suggestions

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

* Explain need for kubectl on both client machine and machine id host

* spag

* Fix `kubernetes_resources` example

* Further clarify `kubernetes_resources`

---------

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

* Edit the Machine ID docs refactor (#33596)

* Edit the Machine ID docs refactor

- **Rename the new guides:** Use the "Connect a Bot" and "Deploy Machine
  ID" language instead of "Access Guides" and "Platform Guides" to
  connect these guides more explicitly to the language we use in the
  "Concepts" discussion of the Machine ID landing page.

- **Add context to the deployment guide index page**: Reduce repetition
  and provide information about each deployment method to help users get
  more context about how Machine ID runs and joins a cluster, as well as
  to help users choose a deployment guide.

- **Make links more visible on the Machine ID intro page:** Use a video
  banner for the Machine ID intro so it takes up less space on the page.
  Shorten some sections and add more specific H2s for the links.

- **Streamline some deployment guides:** Where guides include
  "Background" and "Guide" H2s, blend the introductory information with
  the guide so we can promote the "Step" H2s to H3s and direct the reader
  to the step-by-step instructions more quickly.

- **Add new pages to the docs table of contents.**

* Respond to zmb3 feedback

- List cloud platforms before CI/CD platforms on the sidebar
- Recommend using platform-signed identity documents in the deployment
  guide intro page.
- Edit language introducing join tokens.

* Respond to strideynet feedback

- Edit wording in the deployment guide index page, including renaming a
  section heading and adding language re: renewable certs in the static
  token join method.
- Change GitHub Actions link.
- Rename the Access Guides back to "Access Guides"

* Fix spelling

* Appease linter

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-10-19 17:19:29 +00:00
teleport-post-release-automation[bot] 2d14ea0e67
[auto] Update AMI IDs for 14.1.0 (#33706)
Co-authored-by: GitHub <noreply@github.com>
2023-10-19 17:09:06 +00:00
rosstimothy dbc48f2898
Enable optimistic locking support for OIDC connectors (#33458)
Updates tctl edit and the web ui to start using optimistic locking.
The functionality to support optimistic locking already existed, the
APIs used by both clients were updated to use create/update instead
of upsert so that optimistic locking could be enforced. Most of the
changes introduced are tests to ensure that tctl edit, tctl create
behave as expected.

Note: the web ui changes are include in the e ref update.

Contributes to #30416.
2023-10-19 16:09:05 +00:00
dependabot[bot] e3f180ca1f
Bump rustix from 0.36.5 to 0.36.16 (#33653)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.36.5 to 0.36.16.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.36.5...v0.36.16)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 15:51:11 +00:00
Evan Freed 48936db124
bump docs to 13.4.3 (#33608)
Signed-off-by: Evan Freed <evan.freed@goteleport.com>
2023-10-19 13:42:23 +00:00
Marco André Dinis 7acf3584b7
Dynamic Discovery Matchers for Databases (#33472) 2023-10-19 13:15:38 +00:00
Rafał Cieślak 37e52dc8a8
Manually fire OpInit in NodeJoinWait test (#33636) 2023-10-19 12:31:52 +00:00
Rafał Cieślak 618bb5a81e
Configure Connect to intercept deep link clicks (#33637)
* Configure custom protocol in electron-builder

* Set up listeners for deep links

* Change custom protocol to teleport

* Clarify behavior around window focus
2023-10-19 10:58:50 +00:00
Trent Clarke 033e938031
Adds user sync flag to the Okta plugin settings (#33140)
* Up-revs the Okta plugin settings version

Adds a version field to the OktaPlugin settings and updates the associated
protocol files and tests. This is in preparation for adding new behaviour
to the Okta plugin, and will allow Teleport to determine if a plugin
installation was created by the current version of Teleport (and should
get the new behaviour), or an old version (which will get no surprising
behavioural changes)

changing the behaviour of the Okta plugin depending
if the plugin is created from a current or old version of Teleport.

* revert structure up-rev

* Fix spelling

* Revert to simple flag

* Test tidyup

* Update api/types/plugin_test.go

Co-authored-by: Forrest <30576607+fspmarshall@users.noreply.github.com>

---------

Co-authored-by: Forrest <30576607+fspmarshall@users.noreply.github.com>
2023-10-19 10:41:42 +00:00
Olu Oshati d014569faa
update-SSO-troubleshooting docs (#32287)
* update-SSO-troubleshooting

* add low-level context

* clean up docs

* Update docs/pages/includes/sso/loginerrortroubleshooting.mdx

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

* remove typo

* add error message

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-10-19 08:13:56 +00:00
Brian Joerger 053615057f
Extend rsync command timeout in tests. (#33661) 2023-10-18 22:45:59 +00:00
Walt ba3e630a7d
Downgrade create-github-app-token to a pre-nodejs 20 version (#33670)
Because this step runs in a centos7 container, we need a version that
runs an older nodejs release, and is thus compatible with a older GLIBC.
2023-10-18 22:05:45 +00:00
lsgunn-teleport 974f0ab3f1
Align titles in the introduction to topic sections, modify Desktop Ac… (#33660)
* Align titles in the introduction to topic sections, modify Desktop Acces reference

* Typo in the title on the Introduction page
2023-10-18 22:04:13 +00:00
Steven Martin 436d429097
include url and saml connector name in entity descriptor url errors (#33278)
* include url and saml connector name in entity descriptor url errors

* update error message

* update variable output in trace

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>

* update message output

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-10-18 20:56:29 +00:00
Anton Miniailo fd73320933
Require SSH prefix in router.DialHost connections (#33000)
* Require SSH prefix in proxySubsys connections

* Move prefix assertion into router.DialHost()

* Wrap conn separately

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>

* Allow multiple writes to satisfy prefix requirement

* Add comment about concurrent calls

* Advance pointer even when err != nil

* Minimize code for finding smaller entity

* Use pointer to advance

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>

* Test in parallel

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>

* Wrap the error.

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>

* Wrap the error.

Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>

* More specific error assertions

---------

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>
Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2023-10-18 20:43:46 +00:00
STeve (Xin) Huang 263f58d678
[docs] add missing database matchers for discovery config reference (#33657) 2023-10-18 20:40:56 +00:00
Paul Gottschling c3774da60d
Clarify Opsgenie prerequisites (#33030)
Closes #32519

Inline the `commercial-prereqs-tabs.mdx` partial within the
Prerequisites section and modify the language to clarify that this
plugin only supports Teleport Enterprise Cloud.
2023-10-18 20:36:53 +00:00