Skip to content

Commit

Permalink
Merge branch 'branch/v15' into bot/backport-40723-branch/v15
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaiah Becker-Mayer authored Apr 29, 2024
2 parents 98176d8 + 4fe811f commit e92b93a
Show file tree
Hide file tree
Showing 760 changed files with 100,431 additions and 10,526 deletions.
41 changes: 10 additions & 31 deletions .github/ISSUE_TEMPLATE/testplan.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,38 +719,17 @@ This feature has additional build requirements, so it should be tested with a pr
#### Server Access
These tests should be carried out sequentially. `tsh` tests should be carried out on Linux, MacOS, and Windows.
1. [ ] `tsh login` as user with [Webauthn](https://goteleport.com/docs/access-controls/guides/webauthn/) login and no hardware key requirement.
2. [ ] Request a role with `role.role_options.require_session_mfa: hardware_key` - `tsh login --request-roles=hardware_key_required`
- [ ] Assuming the role should force automatic re-login with yubikey
- [ ] `tsh ssh`
- [ ] Requires yubikey to be connected for re-login
- [ ] Prompts for per-session MFA
3. [ ] Request a role with `role.role_options.require_session_mfa: hardware_key_touch` - `tsh login --request-roles=hardware_key_touch_required`
- [ ] Assuming the role should force automatic re-login with yubikey
- [ ] Prompts for touch if not cached (last touch within 15 seconds)
- [ ] `tsh ssh`
- [ ] Requires yubikey to be connected for re-login
- [ ] Prompts for touch if not cached
4. [ ] `tsh logout` and `tsh login` as the user with no hardware key requirement.
5. [ ] Upgrade auth settings to `auth_service.authentication.require_session_mfa: hardware_key`
- [ ] Using the existing login session (`tsh ls`) should force automatic re-login with yubikey
- [ ] `tsh ssh`
- [ ] Requires yubikey to be connected for re-login
- [ ] Prompts for per-session MFA
6. [ ] Upgrade auth settings to `auth_service.authentication.require_session_mfa: hardware_key_touch`
- [ ] Using the existing login session (`tsh ls`) should force automatic re-login with yubikey
- [ ] Prompts for touch if not cached
- [ ] `tsh ssh`
- [ ] Requires yubikey to be connected for re-login
- [ ] Prompts for touch if not cached
#### Other
Set `auth_service.authentication.require_session_mfa: hardware_key_touch` in your cluster auth settings.
This test should be carried out on Linux, MacOS, and Windows.
Set `auth_service.authentication.require_session_mfa: hardware_key_touch` in your cluster auth settings and login.
- [ ] `tsh login`
- [ ] Prompts for Yubikey touch with message "Tap your YubiKey" (separate from normal MFA prompt).
- [ ] Server Access `tsh ssh`
- [ ] Requires yubikey to be connected
- [ ] Prompts for touch (if not cached)
- [ ] Database Access: `tsh proxy db --tunnel`
- [ ] Requires yubikey to be connected
- [ ] Prompts for touch (if not cached)
### HSM Support
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
pull-requests: write
with:
base-ref: ${{ github.event.pull_request.base.sha || 'branch/v15' }}
allow-ghsas: 'GHSA-xwh9-gc39-5298'
# 'GHSA-6xf3-5hp7-xqqg' is a false positive. That's an old Teleport Vuln,
# but because of the replace, the dependency cannot find the correct
# Teleport version.
allow-ghsas: 'GHSA-xwh9-gc39-5298,GHSA-6xf3-5hp7-xqqg'
allow-dependencies-licenses: >-
pkg:cargo/curve25519-dalek-derive,
pkg:cargo/ring,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flaky-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Run base difftest
uses: ./.github/actions/difftest
with:
flags: --skip="${{ steps.find_excluded.outputs.FLAKE_SKIP }}" -e "integrations/operator/**/*" -e "tool/tsh/**/*" -e "integration/**/*" -e "build.assets/**/*" -e "lib/auth/webauthncli/**/*" -e "lib/auth/touchid/**/*" -e "api/**/*" -e "examples/teleport-usage/**/*" -e "integrations/access/**" -e "integrations/lib/**" -e "integrations/lib/backoff/backoff_test.go" -e "e2e/**/*"
flags: --skip="${{ steps.find_excluded.outputs.FLAKE_SKIP }}" -e "integrations/operator/**/*" -e "integrations/terraform/**/*" -e "integrations/event-handler/**/*" -e "tool/tsh/**/*" -e "integration/**/*" -e "build.assets/**/*" -e "lib/auth/webauthncli/**/*" -e "lib/auth/touchid/**/*" -e "api/**/*" -e "examples/teleport-usage/**/*" -e "integrations/access/**" -e "integrations/lib/**" -e "integrations/lib/backoff/backoff_test.go" -e "e2e/**/*"
target: test-go-unit

- name: Run touch-id difftest
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@ jobs:
working-directory: build.assets/tooling
args: --out-format=colored-line-number
skip-cache: true
- name: golangci-lint (integrations/terraform)
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
working-directory: integrations/terraform
args: --out-format=colored-line-number
skip-cache: true
- name: golangci-lint (integrations/event-handler)
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
working-directory: integrations/event-handler
args: --out-format=colored-line-number
skip-cache: true

- uses: bufbuild/buf-setup-action@88db93f5d74ffa329bb43e42aa95cd822697d214 # v1.29.0
with:
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/unit-tests-integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
ref: ${{ github.event.pull_request.head.ref || github.event.merge_group.head_ref }}
filters: |
changed:
- '/go.mod'
- '/go.sum'
- 'go.mod'
- 'go.sum'
- 'integrations/**'
- 'api/types/**'
- 'gen/**'
Expand Down Expand Up @@ -67,6 +67,14 @@ jobs:
run: make test-integrations-lib
timeout-minutes: 5

- name: Run terraform provider OSS tests
run: make test-terraform-provider
timeout-minutes: 15

- name: Run integrations event-handler tests
run: make test-event-handler-integrations
timeout-minutes: 10

- name: Run operator tests
timeout-minutes: 40
run: make test-operator
Expand Down
58 changes: 45 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,54 @@
# Changelog

## 15.2.3 (04/19/24)

* Fixed spurious ambiguous host errors in SSH routing. [#40706](https://github.com/gravitational/teleport/pull/40706)
* Patch `CVE-2023-45288` and `CVE-2024-32473`. [#40695](https://github.com/gravitational/teleport/pull/40695)
## 15.2.5 (04/26/24)

* Extend proxy templates to allow the target host to be resolved via a predicate expression or fuzzy matching. [#40966](https://github.com/gravitational/teleport/pull/40966)
* Fix an issue where access requests would linger in UI and tctl after expiry. [#40964](https://github.com/gravitational/teleport/pull/40964)
* The `teleport-cluster` Helm chart can configure AccessMonitoring when running in `aws` mode. [#40957](https://github.com/gravitational/teleport/pull/40957)
* Make `podSecurityContext` configurable in the `teleport-cluster` Helm chart. [#40951](https://github.com/gravitational/teleport/pull/40951)
* Allow to mount extra volumes in the updater pod deployed by the `teleport-kube-agent`chart. [#40946](https://github.com/gravitational/teleport/pull/40946)
* Improve error message when performing an SSO login with a hardware key. [#40923](https://github.com/gravitational/teleport/pull/40923)
* Fix a bug in the `teleport-cluster` Helm chart that happened when `sessionRecording` was `off`. [#40919](https://github.com/gravitational/teleport/pull/40919)
* Fix audit event failures when using DynamoDB event storage. [#40913](https://github.com/gravitational/teleport/pull/40913)
* Allow setting additional Kubernetes labels on resources created by the `teleport-cluster` Helm chart. [#40909](https://github.com/gravitational/teleport/pull/40909)
* Fix Windows cursor getting stuck. [#40890](https://github.com/gravitational/teleport/pull/40890)
* Issue `cert.create` events during device authentication. [#40872](https://github.com/gravitational/teleport/pull/40872)
* Add the ability to control `ssh_config` generation in Machine ID's Identity Outputs. This allows the generation of the `ssh_config` to be disabled if unnecessary, improving performance and removing the dependency on the Proxy being online. [#40861](https://github.com/gravitational/teleport/pull/40861)
* Prevent deleting AWS OIDC integration used by External Audit Storage. [#40851](https://github.com/gravitational/teleport/pull/40851)
* Introduce the `tpm` join method, which allows for secure joining in on-prem environments without the need for a shared secret. [#40823](https://github.com/gravitational/teleport/pull/40823)
* Reduce parallelism when polling AWS resources to prevent API throttling when exporting them to Teleport Access Graph. [#40811](https://github.com/gravitational/teleport/pull/40811)
* Fix spurious deletion of Access List Membership metadata during SCIM push or sync. [#40544](https://github.com/gravitational/teleport/pull/40544)
* Properly enforce session moderation requirements when starting Kubernetes ephemeral containers. [#40906](https://github.com/gravitational/teleport/pull/40906)

## 15.2.4 (04/23/24)

* Fixed a deprecation warning being shown when `tbot` is used with OpenSSH. [#40837](https://github.com/gravitational/teleport/pull/40837)
* Added a new Audit log event that is emitted when an Agent or Bot request to join the cluster is denied. [#40814](https://github.com/gravitational/teleport/pull/40814)
* Fixed regenerating cloud account recovery codes. [#40786](https://github.com/gravitational/teleport/pull/40786)
* Changed UI for the sign-up and authentication reset flows. [#40773](https://github.com/gravitational/teleport/pull/40773)
* Added a new Prometheus metric to track requests initiated by Teleport against the control plane API. [#40754](https://github.com/gravitational/teleport/pull/40754)
* Fixed an issue that prevented uploading a zip file larger than 10MiB when updating an AWS Lambda function via tsh app access. [#40737](https://github.com/gravitational/teleport/pull/40737)
* Patched CVE-2024-32650. [#40735](https://github.com/gravitational/teleport/pull/40735)
* Fixed possible data race that could lead to concurrent map read and map write while proxying Kubernetes requests. [#40720](https://github.com/gravitational/teleport/pull/40720)
* Fixed access request promotion of windows_desktop resources. [#40712](https://github.com/gravitational/teleport/pull/40712)
* Fixed spurious ambiguous host errors in ssh routing. [#40706](https://github.com/gravitational/teleport/pull/40706)
* Patched CVE-2023-45288 and CVE-2024-32473. [#40695](https://github.com/gravitational/teleport/pull/40695)
* generic "not found" errors are returned whether a remote cluster can't be found or access is denied. [#40681](https://github.com/gravitational/teleport/pull/40681)
* Fixed a resource leak in the Teleport proxy server when using proxy peering. [#40672](https://github.com/gravitational/teleport/pull/40672)
* Added Azure CLI access support on AKS with Entra Workload ID. [#40660](https://github.com/gravitational/teleport/pull/40660)
* Allow other issue types when configuring JIRA plugin. [#40644](https://github.com/gravitational/teleport/pull/40644)
* Add `regexp.match` to access request `filter` and `where` expressions. [#40642](https://github.com/gravitational/teleport/pull/40642)
* Notify the requester in Slack review request messages. [#40624](https://github.com/gravitational/teleport/pull/40624)
* Added `regexp.match` to access request `filter` and `where` expressions. [#40642](https://github.com/gravitational/teleport/pull/40642)
* Notify the requester in slack review request messages. [#40624](https://github.com/gravitational/teleport/pull/40624)
* Handle passwordless in MFA audit events. [#40617](https://github.com/gravitational/teleport/pull/40617)
* Add auto discover capability to EC2 enrollment in the web UI. [#40605](https://github.com/gravitational/teleport/pull/40605)
* Added auto discover capability to EC2 enrollment in the web UI. [#40605](https://github.com/gravitational/teleport/pull/40605)
* Fixes RDP licensing. [#40595](https://github.com/gravitational/teleport/pull/40595)
* Adds support for the ASCII variants of smartcard calls. [#40566](https://github.com/gravitational/teleport/pull/40566)
* Adds the ability to configure labels that should be set on the Kubernetes secret when using the `kubernetes_secret` destination in `tbot`. [#40550](https://github.com/gravitational/teleport/pull/40550)
* Update cosign to address `CVE-2024-29902` and `CVE-2024-29903`. [#40497](https://github.com/gravitational/teleport/pull/40497)
* Improve the responsiveness of the session player during long periods of idle time. [#40442](https://github.com/gravitational/teleport/pull/40442)
* Fix incorrect format for `database_object_import_rule` resources with non-empty expiry. [#40203](https://github.com/gravitational/teleport/pull/40203)
* Update Opsgenie annotations so approve-schedules is used for both alert creation and auto approval if notify schedules is not set. [#40121](https://github.com/gravitational/teleport/pull/40121)
* Added support for the ascii variants of smartcard calls. [#40566](https://github.com/gravitational/teleport/pull/40566)
* Added the ability to configure labels that should be set on the Kubernetes secret when using the `kubernetes_secret` destination in `tbot`. [#40550](https://github.com/gravitational/teleport/pull/40550)
* Updated cosign to address CVE-2024-29902 and CVE-2024-29903. [#40497](https://github.com/gravitational/teleport/pull/40497)
* The Web UI now supports large number of roles by paginating them. [#40463](https://github.com/gravitational/teleport/pull/40463)
* Improved the responsiveness of the session player during long periods of idle time. [#40442](https://github.com/gravitational/teleport/pull/40442)
* Fixed incorrect format for database_object_import_rule resources with non-empty expiry. [#40203](https://github.com/gravitational/teleport/pull/40203)
* Updated Opsgenie annotations so approve-schedules is used for both alert creation and auto approval if notify schedules is not set. [#40121](https://github.com/gravitational/teleport/pull/40121)

## 15.2.2 (04/11/24)

Expand Down
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e92b93a

Please sign in to comment.