Commit Graph
9 Commits
Author SHA1 Message Date
Noah StrideandMarco Dinis 0586278cde Migrate GetClusterName to gRPC (#53164)
* Adjust GetClusterName method signature to include context.Context

* Start hacking on gRPC GetClusterName impl

* Fix test mocks to match signature

* Fix integration tests

* Fix integrations tests

* Missing ctx

* New GetClusterName RPC implementatin

* Add fallback cluster name

* Correct godoc comment

* Remove unused method

* Remove unused import

* Fix E2E test

* Fix tests

* Fix deferred context cancel in test conflicting with parallel subtests

* Fix import

* Fix imports

* Update lib/auth/auth_with_roles.go

Co-authored-by: Marco Dinis <marco.dinis@goteleport.com>

---------

Co-authored-by: Marco Dinis <marco.dinis@goteleport.com>
2025-03-20 10:07:02 +00:00
STeve (Xin) Huang 4696be3655 GitHub proxy: emit rbac failure event and add prometheus counters (#51878)
* GitHub proxy: emit rbac failure event and add prometheus counters

* move device metadata to sshca.identity
2025-02-21 16:15:44 +00:00
Forrest b9232c3013 transition ssh enforcement to sshca.Identity (#51468) 2025-02-04 18:01:53 +00:00
Forrest 5791a9888a Add host fields and protos for ssh identities (#51024)
* add host fields to sshca.Identity

* add ssh identity proto
2025-01-27 18:51:37 +00:00
STeve (Xin) Huang ef96070925 GitHub proxy: download GitHub server keys (#50891)
* GitHub proxy: download GitHub server keys

* review comments
2025-01-21 14:59:10 +00:00
STeve (Xin) Huang db4527521e Fix flaky git.TestForwardServer test (#51112) 2025-01-16 15:01:15 +00:00
STeve (Xin) Huang b1b6548611 GitHub Proxy: complete audit event flow and add an enterprise guard (#51049) 2025-01-15 15:47:41 +00:00
STeve (Xin) Huang f0abbce0fd GitHub proxy part 6: proxing Git using SSH transport (#49980)
* GitHub proxy part 6: proxing Git using SSH transport

* better command parsing and update suite

* refactor

* revert unnecearrty files

* address review comments

* ut fix

* revert localsite_test.go

* change special suffix to teleport-github-org for routing

* fix routing ut

* minor typo edit

* fix ut after sshca change

* add UT to sshutils

* minor review comments

* fix api ut because of special suffix change

* GitServerReadOnlyClient

* downgrade error to warning

* run go mod tidy. not sure why it's needed

* rename mock.go to mock_test.go
2025-01-14 21:48:04 +00:00
STeve (Xin) Huang 95c1697f7c GitHub proxy: git command recorder (#50505)
* GitHub proxy: recording git command

* address review

* review comments

* allow flags after repository for git-upload-pack
2025-01-14 17:54:52 +00:00