Commit Graph

155 Commits (3bf925ca325964acd3b6c8d108e00a6aef5e65ff)

Author SHA1 Message Date
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
Louis Ruch 8151b30ce9
ICU-743/Domain errors internal/kms refactor (#848)
5 years ago
Michael Gaffney 94cb79bbdd
See how Boundary would look with gofumpt applied (#853)
5 years ago
Louis Ruch 4e31fdb10e
Swap assert.Eqaul actual/expected (#849)
5 years ago
Louis Ruch bfbb179741
ICU-738/Refactor internal/db to domain errors (#815)
5 years ago
Jim af6ef1b687
Refactor existing sentinel errors (#774)
6 years ago
Jim a8d75db00a
prevent session state changes after session has terminated. (#540)
6 years ago
Jim dc379ed09f
handle unlimited connections when terminating sessions. (#536)
6 years ago
Jim bd547fd0d6
terminate a canceled session when its last connection is closed. (#520)
6 years ago
Jim 19aecfefae
terminate "completed" sessions (#477)
6 years ago
Jim 1e71c55920
deprecate access to underlying *sql.DB via internal/db.DB() (#506)
6 years ago
Jim 978f7dc34c
fix immutable columns for session_state and session_connnection_state (#449)
6 years ago
Jim 57da9f918e
cancel a session when one of its FKs is set to null (#406)
6 years ago
Jim cfc76eb88f
add support for WithSessionIds in ListSesions (#395)
6 years ago
Jeff Mitchell f25186f78a
Standardize on one spelling of "canceled" (#399)
6 years ago
Jeff Mitchell 1adbe64160
Update some tests that are failing due to 300 nano difference in time comparisons between create and lookup (#393)
6 years ago
Jim b334aeff41
refactor CancelSession and updateStates to be idempotent (#390)
6 years ago
Jeff Mitchell 9cbc7b5c3d
Add connection close call from worker to controller (#387)
6 years ago
Jeff Mitchell 7ff4b7f106
Send connected RPC to controller (#386)
6 years ago
Jeff Mitchell 4669c95999
Pass more session info around, make proxy UX nicer (#385)
6 years ago
Todd Knight e937b0ea27
Sessions Read/List/Cancel API and SDK (#369)
6 years ago
Jeff Mitchell 697ea561e0 Fix breakage from dual merges
6 years ago
Jim 5764b2c70a
return States as a field of Connection repo operations. (#382)
6 years ago
Jeff Mitchell edffc7863d
Change connection limit to -1 for unlimited so it works with TF (#383)
6 years ago
Jeff Mitchell 5214f14105
Work on connection authorization (#381)
6 years ago
Jim 223591d835
return connection authz info from session.AuthorizeConnection (#380)
6 years ago
Jim 66400c9cff
changes needed for sessions.AuthorizeConnection (#377)
6 years ago
Jeff Mitchell 5bf555cca2
Remove connection idle timeout seconds for now (#379)
6 years ago