Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
c55586a
Metrics: add IsSSO to Discover Events (#23791)
marcoandredinis Mar 31, 2023
f0fcf62
Integration resource: add types and grpc methods (#23553)
marcoandredinis Mar 31, 2023
a478585
Set CRL LDAP path based on certificate authority type (#23814)
gabrielcorado Mar 31, 2023
065d782
split and notate new vs existing mysql user (#18010)
Mar 31, 2023
5478cde
Fix Flaky Tests Detector bypass on merge queue (#23896)
tigrato Mar 31, 2023
79d9812
Implement `tctl create -f` for devices (#23801)
codingllama Mar 31, 2023
e7e6307
Prevent unknown ssh requests from terminating sessions (#23874)
rosstimothy Mar 31, 2023
e139e6d
Update SFTP library (#23711)
jakule Mar 31, 2023
efd790b
Migrate to OpenSSL 3.0 (#23810)
codingllama Mar 31, 2023
10a075c
Hosted plugins onboarding prerequisites (#23234)
justinas Mar 31, 2023
3fbe7f7
Use RUNNER_TEMP for teleport bins in plugin tests (#23773)
justinas Mar 31, 2023
0f3c14e
Add Support for Oracle protocol (#23227)
smallinsky Mar 31, 2023
311b1be
kube-updater: Wire up main executable (#23565)
hugoShaka Mar 31, 2023
99c5002
Add Flaky detector Bypass before merging (#23923)
stevenGravy Mar 31, 2023
cbe300c
Add advisory and troubleshooting on non-tls mode for machineid kube (…
stevenGravy Mar 31, 2023
e6212ba
Show the server name (instead of UUID) in errors (#23724)
zmb3 Mar 31, 2023
ac0abe7
chore: Bump libfido2 from 1.12.0 to 1.13.0 (#23926)
codingllama Mar 31, 2023
739d590
docs: add description of config versions (#23624)
zmb3 Mar 31, 2023
8c1d84f
Recommend Proxy Service in event-handler guides (#23879)
ptgott Mar 31, 2023
ef8da17
Security fixes 03/23 (#23864)
r0mant Mar 31, 2023
f978c9e
Update e ref. (#23938)
mdwn Mar 31, 2023
e9f76c7
Add a guide to creating Teleport roles via the API (#23204)
ptgott Mar 31, 2023
91a6dea
Add Azure auto-join docs (#22752)
atburke Mar 31, 2023
054bc9e
Reduce DefaultIdleTimeout to 30s (#23943)
rosstimothy Mar 31, 2023
f238c1b
Allow make update-tag to push to teleport-private (#23957)
wadells Apr 2, 2023
99bebe2
Add Docker Hub login to Drone's Kubernetes pipelines (#23956)
wadells Apr 3, 2023
af8fe6f
release: Update build for product signing (#23820)
camscale Apr 3, 2023
36e6154
RFD Spell fixes (#23954)
stevenGravy Apr 3, 2023
fb95466
Kube forward identity RFD (#22533)
tigrato Apr 3, 2023
dce36df
athena audit logs - config (#23703)
tobiaszheller Apr 3, 2023
fb72fa8
Fixes unsused flags from `tsh kube exec` command (#23836)
tigrato Apr 3, 2023
5902a96
GitLab Delegated Joining docs (#23047)
strideynet Apr 3, 2023
7b5299d
Enforce Kubernetes license when creating Kube resources (#23755)
tigrato Apr 3, 2023
114b127
Docs: prefer `curl .../auth/export` instead of `tctl auth export` (#2…
marcoandredinis Apr 3, 2023
d3276b2
Make `proxy.Client` infer the cluster name from Proxy (#23644)
rosstimothy Apr 3, 2023
d82fe41
tsh: Fix redundant error in PPK generation on relogin (#23899)
webvictim Apr 3, 2023
1c89f71
docs: include enable teleport service in systemctl start (#23971)
stevenGravy Apr 3, 2023
b8497e8
ClusterItem: Remove usage of colors.secondary.lighter (#23979)
ravicious Apr 3, 2023
73425c6
Integration status: proto (#23912)
marcoandredinis Apr 3, 2023
1ffcfb5
Update e reference (#23983)
smallinsky Apr 3, 2023
13dbf2c
Fix relaxed moderator joining for Kube Access (#23674)
tigrato Apr 3, 2023
ea85f05
Move ALPN dialer, ALPN conn upgrade, Ping conn to api (#23860)
greedy52 Apr 3, 2023
91b0f61
Bump github.com/crewjam/saml in /examples/api-sync-roles (#23942)
dependabot[bot] Apr 3, 2023
b795140
Batched Dependabot updates (#23975)
dependabot-batcher[bot] Apr 3, 2023
aaeb2b2
Headless Authn: documentation (#23272)
Joerger Apr 3, 2023
dbeabf9
Bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/mysql/armm…
dependabot[bot] Apr 3, 2023
bf26499
helm: Add support for imagePullSecrets to teleport-cluster chart (#23…
webvictim Apr 3, 2023
a9c2351
Close auth clients in tctl tests (#24011)
zmb3 Apr 3, 2023
afb7bd2
fix joining moderated sessions in ui (#23807)
rudream Apr 3, 2023
5f492b8
Define an explicit device resource as DeviceV1 (#23901)
codingllama Apr 3, 2023
2210f49
Add agentless items to test plan (#23918)
capnspacehook Apr 3, 2023
060143b
operator: revert to old dockerfile and oci image build process (#24022)
hugoShaka Apr 3, 2023
4c59d2f
Declare device resource CRUD methods (#23913)
codingllama Apr 3, 2023
4f795a5
docs: device trust edits (#23639)
stevenGravy Apr 3, 2023
bdee053
Fix listing of participant modes in UI (#23858)
rudream Apr 3, 2023
f90b665
change default session join mode to observer and add message (#23886)
rudream Apr 3, 2023
4905c03
Update default session join mode in docs (#23934)
rudream Apr 3, 2023
e71a4ec
GHA: Update path filters to include workflow files and Makefile (#23940)
r0mant Apr 4, 2023
d27bcb3
Add missing `join_method` in azure joining docs (#24013)
strideynet Apr 4, 2023
cd34134
add `set -eu` to discovery installer (#23761)
Apr 4, 2023
057ff52
Connect: Collect protocol origin (#23898)
gzdunek Apr 4, 2023
d229a53
Connect: Add SearchBar (#23980)
gzdunek Apr 4, 2023
3340829
docs: correct mongodb atlas example config (#24041)
stevenGravy Apr 4, 2023
428701b
Support SQL Server through RDS Proxy (#23600)
gabrielcorado Apr 4, 2023
e0796b6
Update RFD Template for security reviewers to include @jentfoo (#24010)
jentfoo Apr 4, 2023
3ccfad0
Introduce `tsh bench kube` tool (#23781)
tigrato Apr 4, 2023
f1d8044
helm: delete hook-related resource on re-apply (#24054)
hugoShaka Apr 4, 2023
ab8ae0e
Docs: Remove Details block from tctl partial. (#24000)
Apr 4, 2023
78c2286
Add MDM-related protobuf definitions (#23880)
codingllama Apr 4, 2023
b7f0c08
update Makefile to use cargo sparse protocol in all cargo commands (#…
Apr 4, 2023
00113d4
Bump Cloud SLA to 99.9% (#24076)
jimbishopp Apr 4, 2023
81a0e68
Remove the Access Controls FAQ (#23997)
ptgott Apr 4, 2023
877f1e1
Discover: Add more database type event names (#23742)
kimlisa Apr 4, 2023
a9fafcb
Clarify how to decide undocumented style questions (#23999)
ptgott Apr 4, 2023
fc91914
chore: Bump Go to 1.20.3 (#24060)
codingllama Apr 4, 2023
a5898a2
Convert `tsh ssh` to use the proxy transport service instead of ssh (…
rosstimothy Apr 4, 2023
f38f88e
DiscoverWeb: Emit events when clicking on unguided resources (#23746)
kimlisa Apr 4, 2023
d7d3857
Remove deprecated web api routes (#24050)
avatus Apr 4, 2023
f12f9a5
Merge branch 'master' into jakule/dev-ai-master-0406
jakule Apr 6, 2023
a3cc31b
Fix compilation errors after branch update
jakule Apr 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2,182 changes: 2,144 additions & 38 deletions .drone.yml

Large diffs are not rendered by default.

33 changes: 32 additions & 1 deletion .github/ISSUE_TEMPLATE/testplan.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ as well as an upgrade of the previous version of Teleport.

- [ ] RBAC

Make sure that invalid and valid attempts are reflected in audit log.
Make sure that invalid and valid attempts are reflected in audit log. Do this with both Teleport and [Agentless nodes](https://goteleport.com/docs/server-access/guides/openssh/).

- [ ] Successfully connect to node with correct role
- [ ] Unsuccessfully connect to a node in a role restricting access by label
Expand Down Expand Up @@ -166,33 +166,57 @@ as well as an upgrade of the previous version of Teleport.

- [ ] tsh ssh \<regular-node\>
- [ ] tsh ssh \<node-remote-cluster\>
- [ ] tsh ssh \<agentless-node\>
- [ ] tsh ssh \<agentless-node-remote-cluster\>
- [ ] tsh ssh -A \<regular-node\>
- [ ] tsh ssh -A \<node-remote-cluster\>
- [ ] tsh ssh -A \<agentless-node\>
- [ ] tsh ssh -A \<agentless-node-remote-cluster\>
- [ ] tsh ssh \<regular-node\> ls
- [ ] tsh ssh \<node-remote-cluster\> ls
- [ ] tsh ssh \<agentless-node\> ls
- [ ] tsh ssh \<agentless-node-remote-cluster\> ls
- [ ] tsh join \<regular-node\>
- [ ] tsh join \<node-remote-cluster\>
- [ ] tsh join \<agentless-node\>
- [ ] tsh join \<agentless-node-remote-cluster\>
- [ ] tsh play \<regular-node\>
- [ ] tsh play \<node-remote-cluster\>
- [ ] tsh play \<agentless-node\>
- [ ] tsh play \<agentless-node-remote-cluster\>
- [ ] tsh scp \<regular-node\>
- [ ] tsh scp \<node-remote-cluster\>
- [ ] tsh scp \<agentless-node\>
- [ ] tsh scp \<agentless-node-remote-cluster\>
- [ ] tsh ssh -L \<regular-node\>
- [ ] tsh ssh -L \<node-remote-cluster\>
- [ ] tsh ssh -L \<agentless-node\>
- [ ] tsh ssh -L \<agentless-node-remote-cluster\>
- [ ] tsh ls
- [ ] tsh clusters

- [ ] Interact with a cluster using `ssh`
Make sure to test both recording and regular proxy modes.
- [ ] ssh \<regular-node\>
- [ ] ssh \<node-remote-cluster\>
- [ ] ssh \<agentless-node\>
- [ ] ssh \<agentless-node-remote-cluster\>
- [ ] ssh -A \<regular-node\>
- [ ] ssh -A \<node-remote-cluster\>
- [ ] ssh -A \<agentless-node\>
- [ ] ssh -A \<agentless-node-remote-cluster\>
- [ ] ssh \<regular-node\> ls
- [ ] ssh \<node-remote-cluster\> ls
- [ ] ssh \<agentless-node\> ls
- [ ] ssh \<agentless-node-remote-cluster\> ls
- [ ] scp \<regular-node\>
- [ ] scp \<node-remote-cluster\>
- [ ] scp \<agentless-node\>
- [ ] scp \<agentless-node-remote-cluster\>
- [ ] ssh -L \<regular-node\>
- [ ] ssh -L \<node-remote-cluster\>
- [ ] ssh -L \<agentless-node\>
- [ ] ssh -L \<agentless-node-remote-cluster\>

- [ ] Verify proxy jump functionality
Log into leaf cluster via root, shut down the root proxy and verify proxy jump works.
Expand All @@ -206,6 +230,7 @@ as well as an upgrade of the previous version of Teleport.
- [ ] Interact with a cluster using the Web UI
- [ ] Connect to a Teleport node
- [ ] Connect to a OpenSSH node
- [ ] Connect to a Agentless node
- [ ] Check agent forwarding is correct based on role and proxy mode.

- [ ] `tsh` CA loading
Expand Down Expand Up @@ -241,12 +266,18 @@ interactive sessions the 12 combinations are below.
- [ ] Connect to a OpenSSH node in a local cluster using OpenSSH.
- [ ] Connect to a OpenSSH node in a local cluster using Teleport.
- [ ] Connect to a OpenSSH node in a local cluster using the Web UI.
- [ ] Connect to an Agentless node in a local cluster using OpenSSH.
- [ ] Connect to an Agentless node in a local cluster using Teleport.
- [ ] Connect to an Agentless node in a local cluster using the Web UI.
- [ ] Connect to a Teleport node in a local cluster using OpenSSH.
- [ ] Connect to a Teleport node in a local cluster using Teleport.
- [ ] Connect to a Teleport node in a local cluster using the Web UI.
- [ ] Connect to a OpenSSH node in a remote cluster using OpenSSH.
- [ ] Connect to a OpenSSH node in a remote cluster using Teleport.
- [ ] Connect to a OpenSSH node in a remote cluster using the Web UI.
- [ ] Connect to an Agentless node in a remote cluster using OpenSSH.
- [ ] Connect to an Agentless node in a remote cluster using Teleport.
- [ ] Connect to an Agentless node in a remote cluster using the Web UI.
- [ ] Connect to a Teleport node in a remote cluster using OpenSSH.
- [ ] Connect to a Teleport node in a remote cluster using Teleport.
- [ ] Connect to a Teleport node in a remote cluster using the Web UI.
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-macos-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ run-name: Skip Build on Mac OS
on:
pull_request:
paths-ignore:
- '.github/workflows/build-macos.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
Expand All @@ -22,8 +23,10 @@ on:
- 'Cargo.lock'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
paths-ignore:
- '.github/workflows/build-macos.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
Expand All @@ -32,6 +35,7 @@ on:
- 'Cargo.lock'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'

jobs:
build:
Expand Down
38 changes: 32 additions & 6 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ run-name: Build on Mac OS
on:
pull_request:
paths:
- '.github/workflows/build-macos.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
Expand All @@ -12,8 +13,10 @@ on:
- 'Cargo.lock'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
paths:
- '.github/workflows/build-macos.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
Expand All @@ -22,6 +25,7 @@ on:
- 'Cargo.lock'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'

jobs:
build:
Expand All @@ -36,15 +40,37 @@ jobs:
- name: Checkout Teleport
uses: actions/checkout@v3

- name: Get Go version
id: go-version
shell: bash
run: echo "go-version=$(make --no-print-directory print-go-version | tr -d '\n')" >> $GITHUB_OUTPUT
- name: Determine Toolchain Versions and cache paths
run: |
echo NODE_VERSION=$(make -C build.assets print-node-version) >> $GITHUB_ENV
echo GOLANG_VERSION=$(make -C build.assets print-go-version | sed 's/^go//') >> $GITHUB_ENV
echo RUST_VERSION=$(make -C build.assets print-rust-version) >> $GITHUB_ENV
echo PKG_CONFIG_PATH="$(build.assets/build-fido2-macos.sh pkg_config_path)" >> $GITHUB_ENV

- name: Setup Go
- name: Print versions
run: |
echo "make: $(make --version)"
echo "node: ${NODE_VERSION}"
echo "go: ${GOLANG_VERSION}"
echo "rust: ${RUST_VERSION}"

- name: Install Node Toolchain
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}

- name: Setup yarn
run: |
corepack enable yarn

- name: Install Go Toolchain
uses: actions/setup-go@v3
with:
go-version: ${{ steps.go-version.outputs.go-version }}
go-version: ${{ env.GOLANG_VERSION }}

- name: Configure Rust Toolchain
run: |
rustup override set ${{ env.RUST_VERSION }}

- name: Build
run: make binaries
4 changes: 4 additions & 0 deletions .github/workflows/build-windows-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,24 @@ on:
# We only build tsh on Windows so only consider Go code as tsh doesn't
# run any Rust.
paths-ignore:
- '.github/workflows/build-windows.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
# We only build tsh on Windows so only consider Go code as tsh doesn't
# run any Rust.
paths-ignore:
- '.github/workflows/build-windows.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'

jobs:
build:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@ on:
# We only build tsh on Windows so only consider Go code as tsh doesn't
# run any Rust.
paths:
- '.github/workflows/build-windows.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
# We only build tsh on Windows so only consider Go code as tsh doesn't
# run any Rust.
paths:
- '.github/workflows/build-windows.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'

jobs:
build:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/flaky-tests-bypass.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# This workflow is required to ensure that required Github check passes even if
# the actual "Flaky Tests Detector" workflow is skipped due to path filtering.
# Otherwise it will stay forever pending.
# the actual "Flaky Tests Detector" workflow is skipped due to path filtering. Otherwise
# it will stay forever pending. Another bypass is used for the merge queue.
#
# See "Handling skipped but required checks" for more info:
#
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
#
# Note both workflows must have the same name.

name: Flaky Tests Detector
run-name: Skip Flaky Tests Detector - ${{ github.run_id }} - @${{ github.actor }}
run-name: Flaky Tests Detector

on:
pull_request:
paths-ignore:
- '**.go'

- '.github/workflows/flaky-tests.yaml'
jobs:
test:
name: Flaky Tests Detector
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/flaky-tests-merge-queue.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This check runs only on PRs that are in the merge queue.
#
# PRs in the merge queue have already been approved but the reviewers check
# is still required so this workflow allows the required check to succeed,
# otherwise PRs in the merge queue would be blocked indefinitely.
#
# See "Handling skipped but required checks" for more info:
#
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
#
# Note both workflows must have the same name.
name: Flaky Tests Detector
on:
merge_group:

jobs:
test:
name: Flaky Tests Detector
runs-on: ubuntu-latest

permissions:
contents: none

steps:
- run: 'echo "Skipping reviewers check in merge queue"'
1 change: 1 addition & 0 deletions .github/workflows/flaky-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:
paths:
- '**.go'
- '.github/workflows/flaky-tests.yaml'

jobs:
test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integration-tests-non-root-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@ run-name: Skip Integration Tests (Non-root) - ${{ github.run_id }} - @${{ github
on:
pull_request:
paths-ignore:
- '.github/workflows/integration-tests-non-root.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
paths-ignore:
- '.github/workflows/integration-tests-non-root.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'

jobs:
test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integration-tests-non-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ on:
- branch/*
pull_request:
paths:
- '.github/workflows/integration-tests-non-root.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
paths:
- '.github/workflows/integration-tests-non-root.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'

jobs:
test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integration-tests-root-bypass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@ run-name: Skip Integration Tests (Root) - ${{ github.run_id }} - @${{ github.act
on:
pull_request:
paths-ignore:
- '.github/workflows/integration-tests-root.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
paths-ignore:
- '.github/workflows/integration-tests-root.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'

jobs:
test:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/integration-tests-root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ on:
- branch/*
pull_request:
paths:
- '.github/workflows/integration-tests-root.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'
merge_group:
paths:
- '.github/workflows/integration-tests-root.yaml'
- '**.go'
- 'go.mod'
- 'go.sum'
- 'build.assets/Makefile'
- 'build.assets/Dockerfile*'
- 'Makefile'

jobs:
test:
Expand Down
Loading