Commit graph

15336 commits

Author SHA1 Message Date
Gabriel Corado 0388483945
test(db): simplify active connections tests setup (#32923) 2023-10-04 17:46:43 +00:00
Lisa Kim 7a2f8c6b10
Web: Create (re-use) step navigator for general use (#32939)
* Create (re-use) step navigator for general use

* Re-use shared styles with discover nav
2023-10-04 17:35:57 +00:00
Mike Jensen 8a736d7816
Yarn dependency upgrades (#32933)
* Upgrade eslint packages to latest minor version

* Pin `trim` version to `0.0.3`
2023-10-04 17:27:27 +00:00
Lisa Kim 5097c8dc26
Web build: fix circular dep warnings (#32941) 2023-10-04 16:57:26 +00:00
teleport-post-release-automation[bot] b12df4d93b
[auto] Update AMI IDs for 14.0.1 (#32623)
Co-authored-by: GitHub <noreply@github.com>
2023-10-04 15:44:43 +00:00
Anton Miniailo 4c300822e3
Fix switch condition in Proxy listeners setup (#32895) 2023-10-04 15:43:59 +00:00
rosstimothy 24ebac905b
Track user connections across clusters (#32688)
Ensure that `proxy_ssh_sessions_total` is incremented in both the
root and the leaf cluster if a session to a node in the leaf cluster
is established through the root cluster. This now also prevents
leaf clusters from terminating during a graceful shutdown if there
is an active connection that was created from the root.

Fixes #32605.
2023-10-04 15:35:11 +00:00
Grzegorz Zdunek dffb5620b3
removeSecure() should close the file before removing it on Windows (#32948)
* `removeSecure()` should close the file before removing it on Windows

* Do not return early if `Close()` returns an error
2023-10-04 15:31:52 +00:00
Tiago Silva c31e07841a
Fix kubectl log commands when they refer to deployment instead of pod (#32912)
This PR fixes a typo on our automatic updates documentation where the
`kubectl log` commands should refer to the deployment since Kubernetes
appends random strings to deployment names when building the pod name.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2023-10-04 14:53:35 +00:00
Marco André Dinis 44209ce8dc
DiscoveryMatchers: move checkandset to types package (#32857)
* DiscoveryMatchers: move checkandset to types package

* add opensearch to iamrole as users
2023-10-04 13:48:09 +00:00
dependabot[bot] 41edd25cb5
Bump zod from 3.21.2 to 3.22.3 (#32945)
Bumps [zod](https://github.com/colinhacks/zod) from 3.21.2 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.21.2...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 13:27:18 +00:00
Joel 1ba049c34d
Special case TestOpenFileLinks on macOS (#32870)
* special case TestOpenFileLinks on macOS since the stdlib TempDir returns a special path that doesn't allow symlinks

* add note about why we're doing this

* use teleport marked random hex instead of int

* use os.MkdirTemp instead

* remove fatal

* remove ifs
2023-10-04 10:54:38 +00:00
Nic Klaassen 22dafc6a9d
disable etcd debug logging (#32943)
I'm hoping this makes the Dockerfile compatible with both etcd 3.3.9 and
3.5.9
2023-10-04 03:14:12 +00:00
Nic Klaassen a30f23d6ba
upgrade test etcd to v3.5.9 (#32936) 2023-10-03 23:44:19 +00:00
Anton Miniailo 00feaf2d1a
Fix desktop listener PROXY mode setting (#32922) 2023-10-03 23:36:17 +00:00
Lisa Kim 5af309c4be
Update e (#32932) 2023-10-03 23:04:57 +00:00
Michael Wilson 049363b882
Add in audit review recurrence presets. (#32843)
Access Lists now have audit review recurrence presets. These allow users to
specify review frequencies of 1, 3, 6, or 12 months, and specify the 1st,
15th, or last days of the target month. Presets have been used for their
simplicity over other various recurrence definition mechanisms, as these
presets are much clearer than many of the other options.
2023-10-03 22:36:05 +00:00
Alan Parra 64832452c1
chore: Address crypto/elliptic package deprecations (#32806)
* chore: Address crypto/elliptic package deprecations

* Pre-allocate slices, drop needless `[:]`
2023-10-03 21:39:23 +00:00
Gavin Frazar ce42cd9e81
remove db name checkers for protocols (#32530)
* dont enforce RBAC on connection to oracle/snowflake db

* require --db-name for oracle in tsh

* fix snowflake test

* fix format database connect args
2023-10-03 17:20:15 +00:00
Evan Freed d972480035
update cloud docs to 13.4.0 (#32486)
Signed-off-by: Evan Freed <evan.freed@goteleport.com>
2023-10-03 17:06:32 +00:00
Steven Martin 1923b65b12
set scopes for GitHub SSO (#32904) 2023-10-03 16:27:52 +00:00
Steven Martin 47f2bb28e1
Update error message on GitHub OSS (#32818)
* Update error message on GitHub OSS

* add specific error message variable for github

* update code comments

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

* update error message

* keep error message format

* update language

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

* update comment

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

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2023-10-03 15:36:44 +00:00
dependabot[bot] c1a994cffb
Bump webpki from 0.22.1 to 0.22.2 (#32883)
Bumps [webpki](https://github.com/briansmith/webpki) from 0.22.1 to 0.22.2.
- [Commits](https://github.com/briansmith/webpki/commits)

---
updated-dependencies:
- dependency-name: webpki
  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-03 14:35:14 +00:00
Tiago Silva 3e8832e33a
Pin Teleport Terraform Provider to Teleport major version (#32784)
* Pin Teleport Terraform Provider to Teleport major version

The previous constrain `>= (=teleport.version=)` allows Terraform to
pick any version bigger than the specified version. This is a problem
because `>= 12.0.0` can actually select `14.0.0` which breaks our client
guarentees when connecting to Auth server.

This PR forces Terraform to pick any version `>=12.0.0` and `< 13.0.0`.
The pessimist version constrain prevents Terraform provider to use
versions outside of the specified major version.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* fix spell

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2023-10-03 09:03:24 +00:00
Rafał Cieślak 5454ae0e55
Connect My Computer: Improve copy and UI consistency (#32841)
* CMC Status: Use namespace import for icons

* CMC Status: Use vertical three dots icon for the menu

This makes it consistent with the vertical three dots icon we use for
additional actions in the top bar.

* Change the name of agent cleanup daemon logfile

"cleanup" alone is too vague.

* Pass --insecure to agent if Connect runs in insecure mode

* Update copy related to security

* Sprinkle some whitespace in connectMyComputer context

* Explain why we can't remove connections before killing the agent

* Mention file URL in download error message

Without this, the UI would just show the previous message, but the user
would have no idea what exactly was being downloaded. This was especially
the case when updating the agent after it was already set up.
2023-10-03 06:32:03 +00:00
Rafał Cieślak 9c3dff5254
MenuIcon: Support arbitrary icon through Icon prop (#32840) 2023-10-03 04:39:55 +00:00
Gavin Frazar ed4c0073b0
update --db-user and --db-name docs (#32523) 2023-10-02 22:32:30 +00:00
Joel fb77d4ff23
Implement semantic search API for unified resources (#31881)
* Implement semantic search API for unified resources

* use require.eventually to complete test faster

* reset mod and sum

* Update lib/auth/assist/assistv1/test/service_test.go

Co-authored-by: Jakub Nyckowski <jakub.nyckowski@goteleport.com>

* use correct proto numbering

* reset e

* make grpc

---------

Co-authored-by: Jakub Nyckowski <jakub.nyckowski@goteleport.com>
2023-10-02 19:57:54 +00:00
Alan Parra ba907374b5
Deprecate DeleteMFADevice and move tests to its "sync" variant (#32773)
* Deprecate DeleteMFADevice and its top-level messages

* Update generated protos

* Deprecate api/client.Client.DeleteMFADevice

* Deprecate lib/auth.IdentityService.DeleteMFADevice

* Deprecate lib/auth.GRPCServer.DeleteMFADevice

* Combine "last device" tests

* TestMFADeviceManagement renames (no functional changes)

* Use DeleteDeviceMFASync on TestMFADeviceManagement

* Add a test for DeleteMFADevice

* Add deprecation nolints
2023-10-02 17:55:32 +00:00
dependabot[bot] f39177409f
Bump the go group in /api with 4 updates (#32821)
Bumps the go group in /api with 4 updates: [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib), [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib), [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go) and [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go).


Updates `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from 0.44.0 to 0.45.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.44.0...zpages/v0.45.0)

Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.44.0 to 0.45.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.44.0...zpages/v0.45.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.18.0...v1.19.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 17:41:50 +00:00
lsgunn-teleport 4b76292614
docs: Draft of troubleshooting topics for Server Access (#31997)
* New branch without the extraneous files

* Clarify file system permissions, add x-ref

* Fixes and clarifications from Paul's review

* wording changes, remove code from output snippet

* Typo and spelling update

* Missing file extension

* Updates from Zac's review

* typo faila > fails

* Update docs/pages/server-access/troubleshooting-server.mdx

Co-authored-by: Steven Martin <steven@goteleport.com>

---------

Co-authored-by: Steven Martin <steven@goteleport.com>
2023-10-02 17:34:13 +00:00
Alan Parra b95e020949
Rewrite tsh mfa rm using DeleteMFADeviceSync (#32767) 2023-10-02 17:18:17 +00:00
Steven Martin cafe1ac948
docs: remove old versions ref (#32809)
* docs: remove old versions ref

* verbiage change

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

---------

Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
2023-10-02 17:01:42 +00:00
dependabot[bot] 6f7fc220ce
Bump the go group in /assets/aws with 1 update (#32825)
Bumps the go group in /assets/aws with 1 update: [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2).

- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.120.0...service/ec2/v1.122.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 16:58:43 +00:00
dependabot[bot] 1e2ea98e43
Bump the go group with 15 updates (#32826)
Bumps the go group with 15 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) | `1.45.15` | `1.45.19` |
| [github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue](https://github.com/aws/aws-sdk-go-v2) | `1.10.39` | `1.10.40` |
| [github.com/aws/aws-sdk-go-v2/feature/s3/manager](https://github.com/aws/aws-sdk-go-v2) | `1.11.86` | `1.11.87` |
| [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2) | `1.120.0` | `1.122.0` |
| [github.com/go-resty/resty/v2](https://github.com/go-resty/resty) | `2.8.0` | `2.9.1` |
| [github.com/hashicorp/golang-lru/v2](https://github.com/hashicorp/golang-lru) | `2.0.6` | `2.0.7` |
| [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `1.16.0` | `1.17.0` |
| [github.com/snowflakedb/gosnowflake](https://github.com/snowflakedb/gosnowflake) | `1.6.24` | `1.6.25` |
| [go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.44.0` | `0.45.0` |
| [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.44.0` | `0.45.0` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.44.0` | `0.45.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go) | `1.18.0` | `1.19.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) | `1.18.0` | `1.19.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp](https://github.com/open-telemetry/opentelemetry-go) | `1.18.0` | `1.19.0` |
| [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.142.0` | `0.143.0` |


Updates `github.com/aws/aws-sdk-go` from 1.45.15 to 1.45.19
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.45.15...v1.45.19)

Updates `github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue` from 1.10.39 to 1.10.40
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/feature/dynamodb/attributevalue/v1.10.39...feature/dynamodb/attributevalue/v1.10.40)

Updates `github.com/aws/aws-sdk-go-v2/feature/s3/manager` from 1.11.86 to 1.11.87
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/feature/s3/manager/v1.11.86...feature/s3/manager/v1.11.87)

Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.120.0 to 1.122.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.120.0...service/ec2/v1.122.0)

Updates `github.com/go-resty/resty/v2` from 2.8.0 to 2.9.1
- [Release notes](https://github.com/go-resty/resty/releases)
- [Commits](https://github.com/go-resty/resty/compare/v2.8.0...v2.9.1)

Updates `github.com/hashicorp/golang-lru/v2` from 2.0.6 to 2.0.7
- [Release notes](https://github.com/hashicorp/golang-lru/releases)
- [Commits](https://github.com/hashicorp/golang-lru/compare/v2.0.6...v2.0.7)

Updates `github.com/prometheus/client_golang` from 1.16.0 to 1.17.0
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.16.0...v1.17.0)

Updates `github.com/snowflakedb/gosnowflake` from 1.6.24 to 1.6.25
- [Release notes](https://github.com/snowflakedb/gosnowflake/releases)
- [Changelog](https://github.com/snowflakedb/gosnowflake/blob/master/release.go)
- [Commits](https://github.com/snowflakedb/gosnowflake/compare/v1.6.24...v1.6.25)

Updates `go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws` from 0.44.0 to 0.45.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.44.0...zpages/v0.45.0)

Updates `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from 0.44.0 to 0.45.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.44.0...zpages/v0.45.0)

Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.44.0 to 0.45.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.44.0...zpages/v0.45.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.18.0...v1.19.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.18.0...v1.19.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp` from 1.18.0 to 1.19.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.18.0...v1.19.0)

Updates `google.golang.org/api` from 0.142.0 to 0.143.0
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.142.0...v0.143.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/manager
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/service/ec2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/go-resty/resty/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/hashicorp/golang-lru/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/snowflakedb/gosnowflake
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: google.golang.org/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 16:58:19 +00:00
Jonathan Lassoff 824fa0661b
BUILD_macos.md: Tidy and Update (#32448) 2023-10-02 16:57:59 +00:00
fheinecke f01acfdd1c
Fixed integration test issue causing unnecessary runs (#32853) 2023-10-02 16:54:17 +00:00
Steven Martin 297c87ae7d
docs: update tctl tsh version location in prereqs (#32763)
* docs: update tctl tsh version

* lint fix
2023-10-02 16:46:45 +00:00
Michael Wilson 0ec08a20b0
Add the internal access list review resource. (#32563)
* Add the internal access list review resource.

The internal access list review resource has been added.

* Parse date and duration strings.

* Run GCI.
2023-10-02 16:39:49 +00:00
Gus Luxton a4b3248a45
puttyconfig: Switch to string-based Validity format and deprecate MatchHosts (#32598)
* puttyconfig: Switch to string-based Validity format and deprecate MatchHosts

* Switch to more restrictive, reliable parsing

* Add validity string errors to docs

* Remove invalid test case

* Add test case

* Remove any spaces from user-provided input and use sanitized hostname

* Apply fixes from code review

* Tidy up errors, provide consistent detail about which field contains an error

* Disable docs lint for dots in heading

This is needed here, as there are 5 error messages which all start the same way but end differently.

* Catch a few more error cases

* Only delete old MatchHosts key after new Validity key has been written successfully

* Apply suggestions from code review

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

* Address Zac's comments from code review

---------

Co-authored-by: Zac Bergquist <zac.bergquist@goteleport.com>
2023-10-02 16:09:12 +00:00
Jakub Nyckowski 21772c6c9c
Add new methods to AccessResourcesGetter interface (#32805) 2023-10-02 16:08:59 +00:00
STeve (Xin) Huang c334f4eab2
MySQL auto-user provisioning support for Aurora and version check (#32685)
* MySQL auto-user provisioning support for Aurora

* fix typo
2023-10-02 14:32:55 +00:00
Tiago Silva 955331b73e
Prevent Kube proxy from set the default Kube impersonation headers (#32839)
This PR removes the ability of the Kubernetes Proxy to set the default
values of Kubernetes Impersonation headers. This task is delegated to
the kubernetes_service or kubernetes legacy proxy that handles the
request.

This is required because under certain contiditons it might have
requests that failed because the values were improperly defined.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2023-10-02 14:26:09 +00:00
rosstimothy 030b0ea1e3
Refactor GitHub connector marshaling (#32653)
1) Adds MarshalOptions to resource unmarshaling so that the
   resource revision can be set
2) Exposes the internal resource marshaling logic so that it can
   be reused in enterprise instead of being implemented in both
   places
2023-10-02 13:57:29 +00:00
Rafał Cieślak 3ea1e2630c
Remove Connect My Computer feature flag (#32835) 2023-10-02 13:40:06 +00:00
Krzysztof Skrzętnicki 10453b97e5
Use a context with a different scope for diagnostic trace upload (#32558) 2023-10-02 07:17:32 +00:00
lsgunn-teleport b90107f38e
docs: change open source/OSS references to community edition (#32771)
* Change Open source and OSS to Teleport Community Edition

* Change open-source to Teleport Community Edition

* Role access requests in the nav and title
2023-09-29 22:06:45 +00:00
Jakub Nyckowski 21895cc241
Fix max_duration when session TTL is short (#32356)
* Fix max_duration when session TTL is short

* prettier

* Fix linter issues

* The commit makes minor corrections to the comment, aligning it with the standard comment style for better code readability and to avoid potential linting errors.

The beginning of the multi-line comment has been changed from '/*' to '/**', making it consistent with the standard JavaScript documentation comment style. This ensures our linter recognizes it as a documentation comment, thus preventing any unnecessary linter warnings or errors.

* Update middleValues function in AccessRequests service

The middleValues function has been updated to include 'accessRequest.created' in addition to the 'sessionTTL' and 'maxDuration'.

* prettier

* Address code review comments
Support session TTL < max duration < 1d case

* Round access request duration to 10 minutes
2023-09-29 21:52:32 +00:00
lsgunn-teleport d0e50809da
docs: Add how to verify the binaries are FIPS-compliant (#32169)
* Add how to verify the binaries are FIPS-compliant

* Clean up some wording and typos

* Typo and spellchecker update

* Links to headings changes

* Path to the link was missing the file extension

* Modify regions that support FIPS/FedRAMP

* Replace version, git, and go version with variables
2023-09-29 21:51:56 +00:00
Alan Parra 6797d3dd54
Require at least Teleport v15 for tsh (#32776)
* Warn if the Teleport version is too low for tsh

* Allow v15 development versions
2023-09-29 21:33:49 +00:00