Commit Graph
21464 Commits
Author SHA1 Message Date
Stephen Levine 5fa17d4d31 [teleport-update] Warn instead of erroring when disabling the deprecated updater (#51759)
* Warn instead of erroring when disabling old updater

* Update lib/service/service.go

* Update lib/service/service.go
2025-02-03 17:43:20 +00:00
marie 593988fafc docs: adding redirects for broken links (#51736)
* adding redirects for broken links

* adding redirects for broken links
2025-02-03 17:40:47 +00:00
Stephen Levine e8c2f56ec3 [teleport-update] Only use CDN for community / enterprise editions (#51726)
* Only use CDN for community / enterprise

* wording
2025-02-03 17:05:53 +00:00
Evan Freedandrosstimothy c64253265b Add kubernetes enrichment option with pyroscope (#51521)
* feat: add kubernetes enrichment option for pyroscope

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

* fix license and refactor

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

* Update lib/service/pyroscope.go

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

* Update lib/service/pyroscope.go

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

* refactor and tests

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

* review comments

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

* Update lib/service/pyroscope.go

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

* fix

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

* Update lib/service/pyroscope.go

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

* review comments for tests

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

* Update lib/service/pyroscope_test.go

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

* logger

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

* replace logger

Signed-off-by: Evan Freed <evan.freed@goteleport.com>

---------

Signed-off-by: Evan Freed <evan.freed@goteleport.com>
Co-authored-by: rosstimothy <39066650+rosstimothy@users.noreply.github.com>
2025-02-03 16:31:01 +00:00
rosstimothy 1ef1f843fd Improve instance join error message (#51714)
This replaces context cancellation messages with a nicer and more
intuitive message that folks unfamiliar with Go and gRPC will
understand.
2025-02-03 16:24:06 +00:00
Rafał Cieślak d3bd4ed544 Update e ref (#51770) 2025-02-03 16:20:45 +00:00
dependabot[bot] a22aefb761 Bump aws-actions/configure-aws-credentials in /.github/workflows (#51757)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4.0.2 to 4.0.3.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/e3dd6a429d7300a6a4c196c26e071d42e0343502...4fc4975a852c8cd99761e2de1f4ba73402e44dd9)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 16:16:53 +00:00
dependabot[bot] 04620e5390 Bump docker/build-push-action in /.github/workflows (#51756)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.12.0 to 6.13.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/67a2d409c0a876cbe6b11854e3e25193efe4e62d...ca877d9245402d1537745e0e356eab47c3520991)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 15:20:43 +00:00
dependabot[bot] 2042c80ed2 Bump github.com/alecthomas/kong (#51748)
Bumps the go group in /integrations/event-handler with 1 update: [github.com/alecthomas/kong](https://github.com/alecthomas/kong).


Updates `github.com/alecthomas/kong` from 1.6.1 to 1.7.0
- [Release notes](https://github.com/alecthomas/kong/releases)
- [Commits](https://github.com/alecthomas/kong/compare/v1.6.1...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/kong
  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>
2025-02-03 15:20:40 +00:00
dependabot[bot] bd81ccab73 Bump github.com/bmatcuk/doublestar/v4 (#51753)
Bumps the go group in /build.assets/tooling with 1 update: [github.com/bmatcuk/doublestar/v4](https://github.com/bmatcuk/doublestar).


Updates `github.com/bmatcuk/doublestar/v4` from 4.8.0 to 4.8.1
- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: github.com/bmatcuk/doublestar/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 15:20:40 +00:00
dependabot[bot] ea44558490 Bump the go group in /assets/aws with 3 updates (#51745)
Bumps the go group in /assets/aws with 3 updates: [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2), [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) and [github.com/aws/aws-sdk-go-v2/service/ec2](https://github.com/aws/aws-sdk-go-v2).


Updates `github.com/aws/aws-sdk-go-v2` from 1.33.0 to 1.36.0
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.33.0...v1.36.0)

Updates `github.com/aws/aws-sdk-go-v2/config` from 1.29.1 to 1.29.4
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/config/v1.29.1...config/v1.29.4)

Updates `github.com/aws/aws-sdk-go-v2/service/ec2` from 1.200.0 to 1.202.2
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/changelog-template.json)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/service/ec2/v1.200.0...service/ec2/v1.202.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: github.com/aws/aws-sdk-go-v2/config
  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
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 15:20:38 +00:00
Steven Martin 3cf208e74c docs: remove sudo tctl users reference in cloud install docs (#51461) 2025-02-03 15:18:52 +00:00
dependabot[bot]andAlan Parra 518028773a Bump the go group in /api with 11 updates (#51752)
* Bump the go group in /api with 11 updates

Bumps the go group in /api with 11 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/gravitational/trace](https://github.com/gravitational/trace) | `1.4.0` | `1.5.0` |
| [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.58.0` | `0.59.0` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.58.0` | `0.59.0` |
| [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) | `1.33.0` | `1.34.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace](https://github.com/open-telemetry/opentelemetry-go) | `1.33.0` | `1.34.0` |
| [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) | `1.33.0` | `1.34.0` |
| [go.opentelemetry.io/otel/metric](https://github.com/open-telemetry/opentelemetry-go) | `1.33.0` | `1.34.0` |
| [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) | `1.33.0` | `1.34.0` |
| [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) | `1.33.0` | `1.34.0` |
| [google.golang.org/genproto/googleapis/rpc](https://github.com/googleapis/go-genproto) | `0.0.0-20250102185135-69823020774d` | `0.0.0-20250115164207-1a7da9e5054f` |
| [google.golang.org/grpc](https://github.com/grpc/grpc-go) | `1.69.2` | `1.69.4` |


Updates `github.com/gravitational/trace` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/gravitational/trace/releases)
- [Commits](https://github.com/gravitational/trace/compare/v1.4.0...v1.5.0)

Updates `go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc` from 0.58.0 to 0.59.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.58.0...zpages/v0.59.0)

Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.58.0 to 0.59.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.58.0...zpages/v0.59.0)

Updates `go.opentelemetry.io/otel` from 1.33.0 to 1.34.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.33.0...v1.34.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace` from 1.33.0 to 1.34.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.33.0...v1.34.0)

Updates `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` from 1.33.0 to 1.34.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.33.0...v1.34.0)

Updates `go.opentelemetry.io/otel/metric` from 1.33.0 to 1.34.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.33.0...v1.34.0)

Updates `go.opentelemetry.io/otel/sdk` from 1.33.0 to 1.34.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.33.0...v1.34.0)

Updates `go.opentelemetry.io/otel/trace` from 1.33.0 to 1.34.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.33.0...v1.34.0)

Updates `google.golang.org/genproto/googleapis/rpc` from 0.0.0-20250102185135-69823020774d to 0.0.0-20250115164207-1a7da9e5054f
- [Commits](https://github.com/googleapis/go-genproto/commits)

Updates `google.golang.org/grpc` from 1.69.2 to 1.69.4
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.69.2...v1.69.4)

---
updated-dependencies:
- dependency-name: github.com/gravitational/trace
  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
  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/metric
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: go.opentelemetry.io/otel/trace
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go
- dependency-name: google.golang.org/genproto/googleapis/rpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump google.golang.org/grpc to v1.70.0

* Tidy modules

* Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alan Parra <alan.parra@goteleport.com>
2025-02-03 15:09:08 +00:00
Hugo ShakaandEdoardo Spadolini f818816ff3 Always create debug socket and expose health endpoints (#51616)
* Always create debug socket and expose health endpoints

* Consolidate the diagnostic multiplexers in a single function

* Fix tests

* Apply suggestions from code review

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

---------

Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>
2025-02-03 15:08:06 +00:00
Rafał Cieślak cee98c50fd Update integrity keys used by corepack (#51761)
* Add shasum for pnpm in packageManager field

The shasum was generated  by executing `corepack use pnpm@9.9.0`.

* Make corepack use updated keys

* Export keys where needed instead of saving to $GITHUB_ENV

* Add COREPACK_INTEGRITY_KEYS to Dockerfiles and build.ps1
2025-02-03 14:50:38 +00:00
Lisa Kim 2004893be0 Web: make SelectResource.tsx component leaner (#51698)
* Web: Move resource specs into resource directory

* Web: move code out into separate files
2025-02-01 00:18:19 +00:00
Nicolas 4d4a406f5a Convert Sequence Diagram img to mermaid (#51723)
* Convert Sequence Diagram img to mermaid

* Remove PTY communication documentation files
2025-01-31 22:50:03 +00:00
Steven Martin 79b11308ca Fix spelling for error message and logging (#51727) 2025-01-31 22:39:53 +00:00
Zac Bergquist 7c92500164 Fix TELEPORT_ALLOW_NO_SECOND_FACTOR (#51676)
Some parts of Teleport required this env var to be set to "true"
while other parts required a value of "yes" - this made it
impossible to pass all of the checks.

Use ParseBool instead to be more generous in what values are allowed.
2025-01-31 22:36:29 +00:00
Yassine Bounekhla 098441d6fb update eref (#51730) 2025-01-31 21:51:26 +00:00
Paul Gottschling 551a051ad4 Import the Mattermost bot logo as a module (#51193)
Closes #50827
Closes #50826

This allows us to create a download link using the `a` tag.

Depends on gravitational/docs-website#114
2025-01-31 20:26:02 +00:00
Andrew Burke 5494b72e63 Deflake TestStaticHostUserHandler (#51578) 2025-01-31 19:29:52 +00:00
Yassine Bounekhla 061b2df094 remove local notifications (#51624) 2025-01-31 18:10:08 +00:00
Tiago SilvaandRoman Tkachenko 5ecddcf8f6 docs: Add NetIQ documentation (#51703)
* docs: Add NetIQ documentation

This PR adds the documentation for NetIQ enrollment.

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

* handle code review comments

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

* Update docs/pages/admin-guides/teleport-policy/integrations/netiq.mdx

Co-authored-by: Roman Tkachenko <roman@goteleport.com>

* update teleport release version

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
Co-authored-by: Roman Tkachenko <roman@goteleport.com>
2025-01-31 17:39:05 +00:00
Alan Parra 1b2f13be83 fix: Don't attempt to renew sessions that are about to expire (#51675)
* Return session expiration (in seconds) from lib/web

* fix: Don't attempt to renew sessions that are about to expire

* Appease linter

* Return early if no token; simplify code
2025-01-31 17:31:58 +00:00
Edward DowlingandPawel Kopiczko 46b23ce10d Respect role max duration when request does not set it (#51467)
* Respect role max duration when request does not set it

* Update lib/services/access_request_test.go

Co-authored-by: Pawel Kopiczko <pawel.kopiczko@goteleport.com>

* Update lib/services/access_request.go

Co-authored-by: Pawel Kopiczko <pawel.kopiczko@goteleport.com>

* Add test for max_duration when a requesting user has multiple roles

* Refactor max duration calculation to be clearer

* Fix typo

---------

Co-authored-by: Pawel Kopiczko <pawel.kopiczko@goteleport.com>
2025-01-31 17:27:48 +00:00
Yassine Bounekhla af77efbae1 fix typo (#51712) 2025-01-31 17:19:51 +00:00
Pawel Kopiczko 8d7f61b717 Revert "Add temporary protobuf liter exception" (#51710)
This reverts commit cabbbc7a63 from PR #51709
2025-01-31 16:55:08 +00:00
Yassine Bounekhla 5b4dee8bd0 periodically create access list reminder notifications when needed (#51581) 2025-01-31 15:59:23 +00:00
Pawel Kopiczko a3150103ee Restore field order in UpdateIntegrationRequest proto (#51709)
* Restore field order in UpdateIntegrationRequest proto

Restore field order after https://github.com/gravitational/teleport/pull/51637. It turned out those
fields got to v17.

* Add temporary protobuf liter exception
2025-01-31 15:58:41 +00:00
rosstimothy 6fa487296a Convert lib/services to use aws-sdk-go-v2 (#51706)
There was only one usage of the legacy sdk, a call to arn.IsARN,
which has a direct replacement in the v2 arn package.
2025-01-31 15:53:33 +00:00
STeve (Xin) Huang 7b160600b8 Fix misaligned command usage for 'help' commands of Teleport binaries (#51660)
* Fix an issue command help is not aligned for help command

* align when unknown command/subcommand
2025-01-31 15:35:31 +00:00
Hugo Shaka a539832762 Ensure proxy version getter adds the leading 'v' (#51687) 2025-01-31 14:49:31 +00:00
rosstimothy 2c1280c0d5 Improve web ui host dialing for file transfers (#51447)
Converts web file transfers to use the same in process dialing that
web sessions use. This eliminates extra latency by avoiding an SSH
dial from the proxy to the proxy as a result of no longer using
client.TeleportClient to establish the connection to the target host.

Closes https://github.com/gravitational/teleport/issues/24419.
2025-01-31 14:09:27 +00:00
Bartosz Leper 797936d9e2 Support more fields in the role editor (#51458)
* Add more fields to the role editor

* Review
2025-01-31 14:00:13 +00:00
Steven Martin 38e28dd375 docs: update github integration (#51678) 2025-01-31 13:00:31 +00:00
Gabriel Corado 33dce48683 feat(usagereporter): add user agent to database session start usage event (#51591) 2025-01-31 12:54:45 +00:00
Edoardo Spadolini 724457ad34 Stable UNIX users: docs (#51662)
* Stable user UID addition to the host user creation guide

* tctl stable-unix-users-ls docs

* CAP resource reference

* auth service reference

* Uncomment defaulted field in fileconf

* Clarify conditions for stable uids
2025-01-31 11:43:10 +00:00
Steven Martin a20a7630eb update tsh github login command description (#51605) 2025-01-31 11:39:39 +00:00
rosstimothy 1edb69677b Convert examples/teleport-usage to aws-sdk-go-v2 (#51677)
* Convert examples/teleport-usage to aws-sdk-go-v2

* fix: apply fips to global config
2025-01-31 11:34:17 +00:00
Pawel Kopiczko 88e1cd402e Revert "Add temporary protobuf liter exception" (#51699)
This reverts commit 6fc264ae2c from PR #51637.
2025-01-31 09:35:23 +00:00
Marco Dinis f18259727d Allow Regions query when listing ECS Services (#51585)
Listing ECS Services requires an AWS Region.
Instead of guessing the AWS Regions, this PR allows the API Client to
send a list of AWS Regions which are used call the ECS APIs
2025-01-31 09:02:17 +00:00
rosstimothy 2f9bd2af8f Remove unused aws-sdk-go S3 metrics wrapper (#51674)
The wrapper is no longer used since all S3 code has been converted
to use aws-sdk-go-v2.
2025-01-30 23:42:28 +00:00
rosstimothy f2401d54c3 Stop using default aws http client in access plugins (#51683)
Updates the servicenow and opsgenie plugins to create an http
client manually like all other access plugins. In addition to
unifying client creation, this allows us to remove the dependency
on the legacy aws sdk.
2025-01-30 23:41:47 +00:00
Gavin Frazar ee119ea6d6 Remove remaining db and discovery AWS SDK imports (#51628)
This eliminates all remaining references to AWS SDK v1 in the
lib/srv/db/... and lib/srv/discovery/... packages.
Most of the changes are simply to remove dead code.
2025-01-30 23:06:09 +00:00
rosstimothy 32d2aa9515 Remove aws-sdk-go depdenency in bot tests (#51680)
The use of static credentials in the test was unnecessary and the
same result can be achieved using static strings.
2025-01-30 22:06:58 +00:00
Pawel Kopiczko a24fe3e258 Okta API: Remove unused fields and update docs (#51637)
* Okta API: Remove unused fields and update docs

* Add temporary protobuf liter exception
2025-01-30 20:46:15 +00:00
Gavin Frazar b69d49b2a2 Simplify lib/utils/aws (#51627)
This eliminates the SigningService in favor of a free function
SignRequest, which eliminates AWS credential loading and simplifies the
AWS utils package.
In the process of doing this refactor, the AWS app handler has been
changed to use AWS SDK v2 to load its credentials as well.
2025-01-30 20:14:45 +00:00
Vadym Popov e3c36a0dbf Remove timeout for TestUpdate (#51666) 2025-01-30 20:07:49 +00:00
Nic Klaassen c0b3e62f25 [vnet] refactor osconfig (#51577)
* [vnet] refactor osconfig

This PR refactors VNet's OS configuration code.
There is now a `osConfigurator` struct that runs the OS configuration
loop and calls out to a `targetOSConfigProvider` which determines the
current target OS configuration.
This `targetOSConfigProvider` can be implemented for the MacOS daemon
process by moving some of the existing code around.
In a following PR I will implement it for Windows which will call out to
the user process to get the current target OS configuration.

This PR doesn't really change any of the logic that runs on MacOS, it
just refactors things so that we can swap in a different implementation
for Windows.

FYI, after I get the Windows code fully working, I plan to migrate the
MacOS code to follow the new way Windows handles things, where the admin
process handles all networking and calls out to the user process for
everything that uses a Teleport client.
This will unify multiple codepaths and eliminate the
profileOSConfigProvider added here.

* fix lint on linux

* use ip-aware function to compute TUN address
2025-01-30 18:55:32 +00:00