Commit Graph

412 Commits (c2bc19c71fac7c3ccf106b3cdf0c19fb7ecf899d)

Author SHA1 Message Date
Johan Brandhorst-Satzkorn 6081b6c58d
internal/credential: simplify TestObject test helper (#3899)
3 years ago
Sepehr f9dee55e4d
Telemetry(observations): add oidc and ldap observation events (#3945)
3 years ago
dani c89777de41
Expose Valid Principals for Vault SSH Signed Certs (#3791)
3 years ago
Jeff Mitchell fb4a5a98dc
Add some target fields and move some things around (#3879)
3 years ago
Jeff Mitchell 20ac42c851
Add some useful dev flags (#3865)
3 years ago
Jeff Mitchell eb20b80c71
Migrate some credential bits around (#3864)
3 years ago
Jim 1ed0a13004
refact (kms): convert to the new stdlib slices pkg (#3836)
3 years ago
Michael Li dc912e2a86
test: Update tests to account for deprecated features in 0.14.0 (#3776)
3 years ago
dani a7c1876d7b
remove deprecated option application-credential-source (#3728)
3 years ago
Sepehr 167161448b
Add write observation interceptors, add validation check, fix default deny filter
3 years ago
Jeff Mitchell b64eadedbf
Fix flaky TestServer_ReloadInitialUpstreams (#3758)
3 years ago
Johan Brandhorst-Satzkorn 2e0587bff0
credential: fix lint errors (#3746)
3 years ago
Jim 0d19892e03
fix (events): convert multierror to stdlib error (#3743)
3 years ago
Irena Rindos 9733a250fa
refact(event): move observability/event to event (#3704)
3 years ago
Johan Brandhorst-Satzkorn f89515a19c
all: avoid mutating global state in parallel tests (#3687)
3 years ago
Jim dc89ca28a1
feat: add API support for additional LDAP auth method fields. (#3679)
3 years ago
Johan Brandhorst-Satzkorn 90cf20d0dd
handlers/targets/tcp: run tests in parallel (#3639)
3 years ago
hashicorp-copywrite[bot] 29da0bcb92
[COMPLIANCE] License changes (#3567)
3 years ago
Lars Lehtonen ecadeaee2d
internal/daemon/controller/handlers/sessions: fix dropped error (#3529)
3 years ago
Jim f8ea8c9744
fix (ldap): support only updating the bind-dn and/or bind-password (#3511)
3 years ago
Irena Rindos 39953fe329
fix(targets): return LookupTargets error in AuthorizeSession (#3484)
3 years ago
Jim 474afe4671
fix: allow ldap managed grps to be set and removed as principals… (#3363)
3 years ago
Jim 84cc3a5988
fix(ldap managed grp): allow ldap managed grps to be added as principals (#3361)
3 years ago
Jeff Mitchell 8322916fb4 Remove all deprecated Err/Wrap/E calls (#3286)
3 years ago
Jeff Mitchell feb3aea38f Support multiple IDs in grants (#3263)
3 years ago
Jeff Mitchell 74e8491f85
Disallow updates on all types of KMS workers (#3295)
3 years ago
Michael Milton fbf56793c6
Add snapshot job (#3282)
3 years ago
Jim 2b3e50ebdd
fix (listing): return all resources from listing requests (#3278)
3 years ago
Jim 5029be9999
fix: allow responses larger than the default 4194304 recv msg size (#3276)
3 years ago
Louis Ruch 281f217dcc
feat(plugins): Refactor host plugins to boundary plugins (#3262)
3 years ago
Jim d4e537c88d
chore: updgrade pgx direct deps to v5 (#3258)
3 years ago
Jeff Mitchell 3d5bed9ce8
Don't allow managed workers to be deleted (#3254)
3 years ago
Timothy Messier f64f03ed46
fix(targets): Support authorize session request with target name (#3252)
3 years ago
Todd 6178dd516e
Let a target subtype validate the authorize session's session state
3 years ago
Jim d49fde2299
feat(cli/session-recordings): add download cmd
3 years ago
Jim 9207ec08f2
feat: add request ctx stream interceptor
3 years ago
Jim 0c465706cc
chore: increment base version to 0.13.0
3 years ago
Jeff Mitchell 18e59998e9
Add storage bucket worker filter handling
3 years ago
Todd 25d50d1077
Add tests for recording collection actions on scopes
3 years ago
Todd cfe0dc08d9
Add session recording service stuff
3 years ago
Johan Brandhorst-Satzkorn 328b039138
scopes: fix test expectation
3 years ago
Louis Ruch 1662445e8e
feat(storage): Wire up storage buckets in session recording
3 years ago
Louis Ruch 8ea61054cd
feat(storage): Add support for Storage Bucket API
3 years ago
Danielle Miu a4a14fc7fc
merged commit for plugin rework, storage bucket sql and proto, storage bucket secret rewrapping, storage bucket repository
3 years ago
Johan Brandhorst-Satzkorn ad62df6b36
cluster: pass controller ext to authorize conn
3 years ago
Johan Brandhorst-Satzkorn 5837d6f387
target: add PostSessionAuthorization callback
3 years ago
Johan Brandhorst-Satzkorn 13e1196797
target: add error handling to authorize session
3 years ago
Johan Brandhorst-Satzkorn 517fc91ebf
target: return selected worker when authorizing
3 years ago
Johan Brandhorst-Satzkorn 6d219bd5d1
target: add controller extension to service handler
3 years ago
Todd bc48f2d0e0
Add monitor session job proto and controller changes
3 years ago
Jim 4d60f42210
feat(bsr): add bsr kms support in config, dev and tests
3 years ago
Louis Ruch 798a1f952a
feat(storage): Add support for storage plugins
3 years ago
Damian Debkowski 9ef94892f4
test(plugin): Support storage service in loopback plugin
3 years ago
Louis Ruch 351444f1bd
refact(plugin): Move host loopback plugin into internal/plugin/loopback
3 years ago
Jim c4b31313a6
feat (controller): define a ControllerExtension
3 years ago
Johan Brandhorst-Satzkorn 7632143861
add session recording API definitions
3 years ago
Jim f9b45ca5b7
refact: extend registerControllerUpstreamMessageService to reg hdrs
3 years ago
Jim 410bec1e00
feature(worker/controller): register UpstreamMessageServiceServer
3 years ago
Jim 20cf521cc0
feat(bsr): add bsr kms support in config, dev and tests
3 years ago
Michael Milton 9ae2bdfae6
feat: license util config (#3248)
3 years ago
Jeff Mitchell 769a7c9e1c
Remove cleanup calls for test controller/worker (#3245)
3 years ago
Hugo dba7d88523
fix(handlers/scopes): Whitespace on Name and Description fields (#3235)
3 years ago
Jeff Mitchell e8559d142a
Fix worker auth rotation test (#3243)
3 years ago
Jeff Mitchell e0787f4de0 Simplify worker auth rotation timing logic (#3237)
3 years ago
Jeff Mitchell 77fd51fb12 Add more logging to worker auth rotation and test flags
3 years ago
Jeff Mitchell 037dc0cf18 Add missing nil check in test
3 years ago
Jeff Mitchell f9f7ee2cc4 Fix build
3 years ago
Jeff Mitchell bbe9719e19
Add tracking of worker used for injection (#3204)
3 years ago
Elim Tsiagbey a2f8d87bfb
Add support for setting, adding & deleting LDAP account assoicated to a user (#3198)
3 years ago
Jeff Mitchell c6d7dc01a0
Exit before filtering if no workers are listed (#3196)
3 years ago
Jim 667ea285be
feature (boundary dev): add support for dev ldap auth method (#3192)
3 years ago
Jeff Mitchell e7bf134710
Enhance tcp client port vet logic (#3175)
3 years ago
Jeff Mitchell 20391e3503
Add default client port to targets and use in connect command (#2767)
3 years ago
Damian Debkowski c5b1b7bbc7
fix(handler): return human readable error for json cred w/ empty object (#3109)
3 years ago
Jim a4f54cb98f
refactor (events): QOL fix: turn off events for tests. (#3163)
3 years ago
Hugo Vieira 45dc8251ec feat(api): Support plugin host external_name field
3 years ago
Jeff Mitchell bdf7bf7702
Do not allow PKI-KMS workers to have names updated via API (#3143)
3 years ago
Haotian 5b26634b8a
feat(ui): serve controller metadata from ui handler (#3120)
3 years ago
Jeff Mitchell 163ce184b8
KMS-PKI Workers (#3101)
3 years ago
Elim Tsiagbey 16f48686a7
Refactor Target Repository (#3092)
3 years ago
Jeff Mitchell fc664eb35f
Improve grant validation (#3081)
3 years ago
Jim 86192f75eb
feature (auth/ldap): add LDAP auth method along with associated accounts and managed groups (#2912)
3 years ago
Jeff Mitchell b76b24a4ad
Move prefixes for many packages into the globals package (#3069)
3 years ago
Todd 6adc0c86b5
Rename downstream router to receiver (#3068)
3 years ago
Jeff Mitchell b2bab45c13
Port over changes (#3061) (#3062)
3 years ago
Johan Brandhorst-Satzkorn 18eed58ec5
fix(targets): Use correct error string in enterprise (#2984)
3 years ago
Johan Brandhorst-Satzkorn 8a0ee97f3b
fix(targets): Readd WorkerFilterDeprecationMessage (#2982)
3 years ago
Johan Brandhorst-Satzkorn ac3543bdfb
fix(targets): Use correct field name in deprecation warning (#2978)
3 years ago
Todd fe5b554370 AuthorizedDownstreamWorkers now separated from AuthorizedWorkers to maintain API compatibility (#2957)
3 years ago
Johan Brandhorst-Satzkorn cf412b95a2
fix: Support streaming HTTP responses (#2956)
3 years ago
Todd 1e89be1b1a Downstream worker connections are tracked by worker id (#2949)
3 years ago
Damian Debkowski cabe362534
fix(handler): return targetId as hostId for cli edge case support (#2920)
3 years ago
Damian Debkowski 84b410974b
fix(handlers): return error when updating json cred w/ empty obj (#2903)
3 years ago
Timothy Messier e25b0e7888
fix(credentiallibraries): Fallback logic to support 0.11.x cli (#2910)
3 years ago
Johan Brandhorst-Satzkorn 3c29308673 chore: Add license headers to all files
3 years ago
Timothy Messier 718e183a1e
fix(credentiallibraries): Correctly populate attrs for vault-generic (#2901)
3 years ago
Irena Rindos 4114b41527
Filter managed workers from egress workers when the host address is unsafe (#2899)
3 years ago
Hugo e455e31f9e
fix(target): Incorrectly allowing whitespace on Target's address field (#2862)
3 years ago
Timothy Messier 12a53bbfa9
feat(target): Allow vault ssh cert library as credential source
3 years ago
Timothy Messier 1aaaf4af1d
feat(controller): Translate ssh certificate credentials for worker
3 years ago
Haotian 43f0ba89cf
feat(credentiallibraries): support vault ssh certificates
3 years ago
Johan Brandhorst-Satzkorn 55259029f1
Add job run cleaner (#2866)
3 years ago
Jeff Mitchell 19180af0eb
Fix target port handling (#2846)
3 years ago
Todd d66b92abe0
Add directly connected downstream workers to the worker resource api (#2831)
3 years ago
Todd 87b09d5e27
Rename router to receiver for secondary connections (#2816)
3 years ago
Todd b359561e51
Filter WorkerList by feature and go from version string to version.Info (#2807)
3 years ago
Jim e64163ad1d
fix (controller): prevent panic when controller stops when there's no listener (#2793)
3 years ago
Irena Rindos d3d1fa0b55
initial commit (#2768)
3 years ago
Hugo Vieira f85da3ee2b feat(cmd): Create target using address on boundary dev / database init
3 years ago
Damian Debkowski 1d3930a711 feat(handlers): Support address field on a Target
3 years ago
Johan Brandhorst-Satzkorn 61c90c5623
Add grant parsing fuzz test (#2534)
3 years ago
Irena Rindos 9135cc7668
In absence of ingress filter, use directly connected worker (#2757)
3 years ago
Irena Rindos 24bbf57a19
AuthorizeConnection with filters (#2734)
3 years ago
Todd a0600138fa
Fix wrapped reverse grpc listener (#2687)
3 years ago
Haotian fbd0a8272b
feat(metric): adds accepted/closed connections counters to worker and controller servers (#2668)
3 years ago
Irena Rindos 5b162a4433
add worker version to network graph (#2672)
3 years ago
Danielle 5f8d292ea1
Inject Custom Response Headers By Status (#2587)
3 years ago
Irena Rindos 834a2a88f7
feat(targets): Addition of egress and ingress worker filters (#2654)
3 years ago
Haotian 2b84013379
Revert " feat(metric): adds accepted/closed connections counters for controller and worker cluster connections (#2656)" for failing a build test (#2660)
3 years ago
Haotian 80f72b8511
feat(metric): adds accepted/closed connections counters for controller and worker cluster connections (#2656)
3 years ago
Irena Rindos 70e20b5cf5
revert merge llb-multihop-sessions (#2628)
3 years ago
Johan Brandhorst-Satzkorn edd323b73a
Key Rotation/Destruction (#2477) (#2607)
3 years ago
Irena Rindos 011a7cf640
Dataplane routing (#2623)
3 years ago
Jeff Mitchell 0c96c6ff6c
Split grace period into multiple config values (#2578) (#2603)
3 years ago
Todd 2a4ce02de6
Disconnect PKI workers from upstreams when they are no longer authorized (#2515)
4 years ago
Irena Rindos b26814a3cc
move user variables into globals (#2580)
4 years ago
Irena Rindos 946dab487e
enable recovery user to list targets and sessions (#2576)
4 years ago
Jeff Mitchell cede1aec93
Add initial templating support to Vault credential libraries (#2569) (#2575)
4 years ago
Jeff Mitchell b86430c2af
Add some common account bits and change over some getOpts -> GetOpts funcs (#2565) (#2566)
4 years ago
Johan Brandhorst-Satzkorn f57454b6b9
Rewrite interface{} to any (#2535)
4 years ago
Jeff Mitchell 37273d7a9c Fix two items: (#2544)
4 years ago
Haotian 3be8b6efed
refactor(metric): move common metrics functions out of 'internal' directory (#2536)
4 years ago
Todd 412e7a2418
Add interfaces and error codes for processing downstream router connections (#2511)
4 years ago
Louis Ruch f23a28cf01
chore: Add white space (#2516)
4 years ago
Todd d270513b5a
Add error printing when cluster listeners and their consumers error. (#2488)
4 years ago
Todd 06fd086004
Add health endpoint for worker (#2442)
4 years ago
Irena Rindos d951e1ebc1
Worker graceful shutdown (#2455)
4 years ago
Damian Debkowski 546c5dc5be
feat: static json credentials (#2423)
4 years ago
Irena Rindos 821d8317dc
address op state review feedback (#2453)
4 years ago
Jeff Mitchell 53b5e532d5
Remove deprecated methods/fields on targets (#2393)
4 years ago
Jeff Mitchell 37fb9815ce Add session endpoint test for #2448 (#2450)
4 years ago
Louis Ruch 5812a42ba3
feat(scheduler): set intervals from config (#2443)
4 years ago
Irena Rindos fc0ead73e6
feat(workers): worker operational state (#2427)
4 years ago
Hugo Vieira 8ab9ffbcac refact(cmd): Encapsulate some functionality on Command and Server
4 years ago
Timothy Messier 047a66e87d
fix(worker): Improper reload when running as controller and worker (#2438)
4 years ago
Irena Rindos 18dff62b7b
Merge BYOW GA branch to main (#2398)
4 years ago
Hugo Vieira bf1486f75e
refact(target): Add context to RepositoryFactory constructor
4 years ago
Hugo Vieira bf263fbd7d
perf(target): Use new Permissions object to determine resource access
4 years ago
Hugo Vieira 63196ee4ca
feat(target): Implement new WithPermissions option
4 years ago
Hugo Vieira 224f8d2d4e
refact(controller): Move Target Repository Factory to the target package
4 years ago
Timothy Messier eb61ac6304
refact(session): Add context to session factory
4 years ago
Timothy Messier febf0b9984
refact(controller): Use session repo factory that takes options
4 years ago
Timothy Messier 68568828e6
perf(sessions): Use session repository with permissions
4 years ago
Timothy Messier e4bb847ad1
feat(auth): Expose ACL from VerifyResults
4 years ago
Timothy Messier 39fedd843c
test(targets): Remove auth.DisabledAuthTestContext from tests
4 years ago
Timothy Messier 02cef3d8a8
test(sessions): Remove auth.DisabledAuthTestContext from tests
4 years ago
Hugo Vieira ccb17df01a
feat(auth): Get all authorised scope info for a given list request
4 years ago
Haotian 5c715478e4
feat(workers): Add metrics for worker server-side grpc connections, refactor repeated code into common location (#2367)
4 years ago
Louis Ruch d7c4c648ec
bug(vault): Correctly handle credential stores with expired tokens (#2399)
4 years ago
Jeff Mitchell 01fb949d0b
Add controller-led worker auth flow (#2413)
4 years ago
Irena Rindos db21ead31c
Vault proxy supporting code (#2415)
4 years ago
Jeff Mitchell 9b271d7dd8
Fix error about unimplemented HcpbWorkers call (#2361)
4 years ago
Irena Rindos b4b95e0f0e
refactor(vault): add context and remove deprecated errors (#2396)
4 years ago
Johan Brandhorst-Satzkorn aef9073fa6
Upgrade to Go 1.19 (#2347)
4 years ago
Johan Brandhorst-Satzkorn ac591d8283
fix(managed_groups): Fix validation function panic (#2390)
4 years ago
Renato Costa ec3d2ef360
Fix incorrect use of loop variable in parallel tests (#2389)
4 years ago
Damian Debkowski 27e9f775be feat: add initial migration hook
4 years ago
Jim 2818bb65cd
feature (downstreams): Add hooks for optional downstream workers/router (#2359)
4 years ago
Jim 7aa7deafa3
chore: update go-dbw dependencies (#2298)
4 years ago
Jeff Mitchell 7df1331e93
Update configutil/pluginutil deps (#2346)
4 years ago
Jeff Mitchell 02dd28f587
Add support for SSH private key passphrases (#2331)
4 years ago
Jeff Mitchell 8800ec9c94
Reorganize logic to allow a poison pill (#2317)
4 years ago
Damian Debkowski c25b9285c0
fix(test) uncomment ro tests for cred update (#2301)
4 years ago
Todd 1aad2627c8
OSS side of second downstream connections (see enterprise PR 69) (#2292)
4 years ago
Jeff Mitchell 67d789cb6d
When allowed_origins is "*" use that in response (#2289)
4 years ago
irenarindos 4908aba546 feat(vault): Add unimplemented worker filter support to OSS
4 years ago
Louis Ruch 52c1a4f9f9 feat(targets): Support extraWorkerFilterFunc in target
4 years ago
Louis Ruch a17e973712
feat(credentials): Refactor credential purposes (#2260)
4 years ago
Jeff Mitchell 271cc8f781
Add ssh private key to CLI (#2265)
4 years ago
Louis Ruch ef5ac07f02
Add ssh_private_key support for Vault libraries and targets (#2263)
4 years ago
Jeff Mitchell 011e2e7425
Add ssh private key type and add type to static store (#2262)
4 years ago
Jeff Mitchell 8c56a5648d
Migrate plugin host/set/catalog prefixes to typed (#2256)
4 years ago
Haotian 28f53a64b4
feat(workers): implement worker service add/set/remove api tags
4 years ago
Jeff Mitchell 81af61ae7d
Add client next protos to KMS connection info (#2246)
4 years ago
Jeff Mitchell 1596ff3d1c
Update against new nodee conn type (#2245)
4 years ago
Jeff Malnick 1f66685864
feat: set default connection limit to unlimited (-1) instead of 1 (#2234)
4 years ago
Damian Debkowski 3e9c99c217
refactor(user_password) rename all references of user_password to username_password (#2232)
4 years ago
Damian Debkowski afd4437492
fix(error) validate credential store id when creating username/password credentials (#2231)
4 years ago
Todd 9af6c09c36
Move generated pb.go file in to the internal/gen directory (#2225)
4 years ago
Todd 19b549c44a
Rename package servers to server (#2222)
4 years ago
Jim aaf669a044
fix (API): check attributes missing appropriately. (#2219)
4 years ago
Jeff Mitchell c31b8a4383
Fix harmless but nasty-looking error (#2214)
4 years ago
irenarindos b7120bf88e bug(workers): Do not update description for status update
4 years ago
Louis Ruch 9671daf6e0 Revert "refactor(user_passsword) change all references of user_password into username_password (#2189)"
4 years ago
Damian Debkowski ab58b24142
refactor(user_passsword) change all references of user_password into username_password (#2189)
4 years ago
Jeff Mitchell 9a4545e59e
Fix eventing and worker name setup (#2204)
4 years ago
Todd 214ca9a668
Check that WorkerAuthKms is not nil before trying to decrypt with it (#2205)
4 years ago
irenarindos be0f07cc65 Merge remote-tracking branch 'origin/llb-byow'
4 years ago
Jeff Mitchell 704d68848c Merge remote-tracking branch 'origin/main' into llb-byow
4 years ago
Louis Ruch 618bcb451e
fix(target): fix type check (#2202)
4 years ago