Commit Graph

186 Commits (deeac5c457e86c6c2bf6db50f00a385ecbf4a360)

Author SHA1 Message Date
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
Jeff Mitchell 0a3f9b8357
Rename connection idle timeout duration -> seconds and sessions max duration -> seconds (#376)
6 years ago
Jeff Mitchell 62baef1b7e
Add multi connection parameters through targets and into session creation (#375)
6 years ago
Jeff Mitchell 07a7e9750a
Tie together the database-driven session handling with the worker and add relevant CLI comands (#370)
6 years ago
Jim e7e70b1b94
new domain functions for the session repo (#368)
6 years ago
Jim 611288bdc7
basic sessions (#337)
6 years ago