Commit Graph

383 Commits (b24f6dcee825caf59cd484fbf6edfeb4cab72e75)

Author SHA1 Message Date
Timothy Messier a7730b02ac
test(host_catalog): Fix flaky assertion
2 years ago
Timothy Messier 35b91c66de
refact(ratelimit): Rename MaxEntries to MaxQuotas
2 years ago
Timothy Messier a150c588bb
feat(controller): Emit sys event detailing the rate limit configuration
2 years ago
Timothy Messier 9438be4506
feat(ratelimier): Support disabling rate limiting
2 years ago
Timothy Messier 3c2bed92b0
feat(ratelimit): Expose metrics on quota usage
2 years ago
Timothy Messier 0bc423ebd8
feat(controller): Reload api rate limits on SIGHUP
2 years ago
Timothy Messier e337cf8f69
feat(controller): Add authtoken public id to request context
2 years ago
Timothy Messier 059d4992de
feat(ratelimit): Add support for limits per ip address and auth token
2 years ago
Timothy Messier 00bd2899af
feat(controller): Add ratelimiter http middleware
2 years ago
Timothy Messier 6da47443fd
feat(ratelimit): Create rate limits from configs
2 years ago
Timothy Messier 51adde4b2c
feat(handlers): Register actions for each resource type
2 years ago
Timothy Messier c52caae345
refact(action): Make ActionSet behave as a set instead of a list
2 years ago
Jim 798e86cefe
tests (ldap managed groups): extend tests to include ldap grps for GrantsForUser(...) (#3972)
2 years ago
Johan Brandhorst-Satzkorn a89573b35f
subtypes,handlers: add runtime trace regions (#4060)
2 years ago
Elim Tsiagbey 8b8d2822df
feat(oidc): OIDC Prompt (#4053)
2 years ago
Jeff Mitchell b6df5693b5
Add generic read/update/delete commands (#3992)
2 years ago
Jeff Mitchell a9e372930d
Revert 0bf60996c5 (#3990)
3 years ago
Jeff Mitchell 0bf60996c5
Add generic read/update/delete commands (#3967)
3 years ago
Michael Gaffney 90276b5e91
tests: Set a default job run interval based on the test deadline
3 years ago
Sepehr 4dce290aeb
telemetry(observations): fix the details flag check (#3960)
3 years ago
Jim 75cef86a34
feat (authmethod/password): add additional telmemetry for passwd acct authen (#3958)
3 years ago
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