Commit Graph

182 Commits (088564c3853229dec58f973a3cfabce70feefbdc)

Author SHA1 Message Date
Johan Brandhorst-Satzkorn edd323b73a
Key Rotation/Destruction (#2477) (#2607)
3 years ago
Jeff Mitchell 0c96c6ff6c
Split grace period into multiple config values (#2578) (#2603)
3 years ago
Hugo Vieira d206635d74 fix(connection): Make bytes up and down a signed 64-bit integer
4 years ago
Hugo Vieira c81398cbf3 feat(worker): Report bytes up and down on Status updates
4 years ago
Johan Brandhorst-Satzkorn f57454b6b9
Rewrite interface{} to any (#2535)
4 years ago
Hugo Vieira bf1486f75e
refact(target): Add context to RepositoryFactory constructor
4 years ago
Timothy Messier e65f1f32a7
chore(session): Remove repository method that was only used in tests
4 years ago
Timothy Messier eb61ac6304
refact(session): Add context to session factory
4 years ago
Timothy Messier 2fbdcf6ce0
feat(session): Use permissions for limiting list results
4 years ago
Johan Brandhorst-Satzkorn aef9073fa6
Upgrade to Go 1.19 (#2347)
4 years ago
Damian Debkowski 27e9f775be feat: add initial migration hook
4 years ago
Louis Ruch d01f374490
bug(db): Fix credential purpose migration (#2351)
4 years ago
Louis Ruch a17e973712
feat(credentials): Refactor credential purposes (#2260)
4 years ago
Jeff Malnick 1f66685864
feat: set default connection limit to unlimited (-1) instead of 1 (#2234)
4 years ago
Todd 19b549c44a
Rename package servers to server (#2222)
4 years ago
Jeff Mitchell 704d68848c Merge remote-tracking branch 'origin/main' into llb-byow
4 years ago
Todd e379234259
Remove CanonicalAddress, GetApiTags(), and NewWorkerForStatus. (#2196)
4 years ago
Todd beecbbb8a2
Upsert creates a new KMS and Updates PKI workers (#2187)
4 years ago
Louis Ruch 58d9d42a88 feat(session): Add support for session static credentials
4 years ago
Louis Ruch 00dfea1244 feat(target): Add support for static credential as target credential sources
4 years ago
Jeff Mitchell 2d274c3742 Fix merge brokenness
4 years ago
Jeff Mitchell 5d3facf561 Merge remote-tracking branch 'origin/main' into llb-byow
4 years ago
Timothy Messier d741034829
perf(session): Change list behavior around terminated sessions
4 years ago
Timothy Messier 32070678dc
perf(session): Remove connections from session list endpoint
4 years ago
Timothy Messier f9eab71a4a
feat(session): Add periodic job to delete terminated sessions
4 years ago
Timothy Messier de2421cc25
feat(session): Add repository method to delete terminated sessions
4 years ago
Timothy Messier a4d0e3c7f8
refact(session): Rename files with job to use a prefix
4 years ago
Todd 731a45eba6
Merge the worker_status table with the worker table (#2111)
4 years ago
Todd a281d10206
Add worker config table and view (#2090)
4 years ago
Todd 3fbf901739
Add source to worker tags table (#2087)
4 years ago
Todd 2ecd550e27
Add fields to server_worker to be a boundary resource (#2083)
4 years ago
Todd 472d7d520a
Remove the server_id from session table, change it to worker_id on session_connection (#2070)
4 years ago
Jeff Mitchell 2f06513a3a Merge branch 'main' into llb-byow
4 years ago
Jim 785241237e
refactor (kms): adopt the go-kms-wrapping/extras/kms package (#2027)
4 years ago
Johan Brandhorst-Satzkorn 8cef1017e9
fix(session): Fix typo in connection documentation (#2075)
4 years ago
irenarindos 54c30d2cad bug(session): null fkey trigger also checks for session terminated state
4 years ago
Jeff Mitchell 2a8e179692 Update against changes from merge
4 years ago
Jeff Mitchell ab4d542fad Add multihop auth support (#32)
4 years ago
irenarindos 9e27605213 refact(servers): Split server table into worker and controller
4 years ago
Todd 687dd1bda6
Move the session cleanup job logic into the session package. (#2060)
4 years ago
irenarindos c6764e85d9 fix(session): Update session state transition trigger
4 years ago
Timothy Messier f00af362dc
fix(session): Include where clause with order and limit
4 years ago
Jeff Mitchell 4cf2a87e8d
Update targets to new listing method (#2045)
4 years ago
Johan Brandhorst-Satzkorn 9e424db0a3
test(session): Ignore unique error on session create
4 years ago
Johan Brandhorst-Satzkorn 7f9b294a7e
refact(all): Use testing.TB for test helpers
4 years ago
Jeff Mitchell b41e983503
Reorder authz check for sessions (#2042)
4 years ago
Jim addbfee593
chore: upgrade gofumpt to v0.3.1 (#2028)
4 years ago
Jeff Mitchell 58a448fc6a
Put session ID in ALPN (#1966)
4 years ago
Lars Lehtonen b6ee5dc9cc
internal/session: fix dropped test errors (#1928)
4 years ago
Jeff Mitchell 7eb29261b2
Update to go-kms-wrapping version 2, and plugin-based KMS (#1901)
4 years ago
Timothy Messier 9aa2d4cd84
test(session): Speed up some tests around dead worker cleanup
4 years ago
Timothy Messier 79670180a7
refact(session): Move domain logic of Worker Status into domain service
4 years ago
Timothy Messier 4de6464978 refact(session): Make CloseDeadConnectionsForWorker more testable
4 years ago
Timothy Messier e0603534c0 lint(session): Whitespace and missing ; in sql queries
4 years ago
irenarindos 32132d6bc1 refactor(session connections): Refactor connection closure
4 years ago
irenarindos 3482f91a17 refactor(connections): Move connect connect to the Connection repo
4 years ago
Irena Rindos 5a2c0db586 fix(session connections): Create session connection repository
4 years ago
Irena Rindos 5d6aa3b729 refactor(session): Remove dead session termination code
4 years ago
Irena Rindos 963fbcbdf2 bug(session): Fix CreateSession foundStates logical ordering
4 years ago
Irena Rindos edae7c899f bug(session): Allow only valid state transitions
4 years ago
Jim 591ec476e7
refactor: Update internal/db and oplog to use go-dbw package for database operations. (#1785)
4 years ago
Louis Ruch 5fe23ab14d feat(session): Store session credentials
4 years ago
Jim baa1d88f1f
feature: Add client ip to inbound request information (#1678)
4 years ago
Timothy Messier 533b434d1a
refact(controller/targets): Move tcp functionality into subpackage
4 years ago
Thor ad31b6d6c3
repo: Return connection informat in Session response object (#1690)
4 years ago
Jim dd2c3807cd
refactor: Move functions from kms pkg to new libs/crypto pkg (#1650)
5 years ago
Jim 4df3b40def
feature (db): Add support for multi-column PKs (#1658)
5 years ago
Timothy Messier 1b7cfb1704
feat(target): Add support for credential library validation
5 years ago
Timothy Messier 2cc58ff901
refact(target): Change repository to take CredentialLibraries
5 years ago
Timothy Messier eac433f7ff
refact(target): Move tcp into subpackage
5 years ago
Jim 8d6dee09a9
refact: Add db.DB wrapper and refact all test fixtures to use it. (#1535)
5 years ago
Jim 136ac00b49
refact: Changes required for gorm v2 (#1528)
5 years ago
Timothy Messier 99d0d2f682
wh: Add wh_credential_dimension and bridge tables
5 years ago
Jeff Mitchell f8a51b987c
Migrate target host sets -> host sources (#1424)
5 years ago
s-christoff 6b78108ecf
Update primary error functions to take a context, deprecate old functions (#1358)
5 years ago
Jeff Mitchell ab6f3eaeb4
Migrate credential-library nomenclature around targets to credential-source (#1413)
5 years ago
Jeff Mitchell 528d54b4ad
Add token/userinfo claims to account read output (#1419)
5 years ago
Chris Marchesi 1ebb8efab6
Apply extra review feedback from #1340 (#1400)
5 years ago
Jeff Mitchell ce52acb968 Update strutil import
5 years ago
Jeff Mitchell 140c54e319 Repoint base62 import
5 years ago
Chris Marchesi 5a70875726
internal/servers/controller: Worker failure connection cleanup (#1340)
5 years ago
Jeff Mitchell 2cbcf9a563
Update usage of shared-secure-libs (#1393)
5 years ago
Chris Marchesi 48e55f156a
worker: ensure connections are closed in local state on controller fail (#1369)
5 years ago
Michael Gaffney df35699c4e
Integrate with Vault to retrieve and manage per session credentials (#1308)
5 years ago
Jeff Mitchell b47b71d26c
Refactor connection listing for tests (#1224)
5 years ago
Jeff Mitchell 6f34da8923
Add cleanup of dead connections no longer reported by a worker (#1220)
5 years ago
Michael Gaffney 0b5ac930ac
Fix godoc wording
5 years ago
Michael Gaffney b8831b16f1
Fix some minor godoc problems
5 years ago
Michael Gaffney 88c3fdc043
Fix godoc spelling
5 years ago
Jim 75108cbc8b
Ongoing OIDC: return the primary account info along with the user. (#1145)
5 years ago
Jim dd0f34bc35
Add new OIDC auth method. (#1090)
5 years ago
Michael Gaffney aafbada3ae
Remove calls to `t.Helper()` from test methods (not helpers) (#1063)
5 years ago
Jim c281e808d6
refactor to use WithOrderByCreateTime(...) (#1058)
5 years ago
Louis Ruch 7387cec475
Remove sentinel errors (#968)
5 years ago
Jeff Mitchell c63529e020
Fix WithKeyId after recent PR (#978)
5 years ago
Jeff Mitchell c3684d20db
Fix WithKeyId option (#970)
5 years ago
Louis Ruch 178d4efa64
ICU-745/Refactor internal/session to new domain errors (#877)
5 years ago
Todd Knight 02cd972043
Create Sessions List Self Action (#888)
5 years ago
Jeff Mitchell 6cd97a4a6e
Add support for recursive listing (#885)
5 years ago
Jeff Mitchell 717a3b52ee
Add worker tagging (#862)
5 years ago