cbb76ea7c8
feat: storage plugin list objects ( #6723 )
...
* feat(proto): add storage plugin proto definitions for session recording recovery
Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com >
Co-authored-by: Ryan Derr <ryan.derr@hashicorp.com >
* feat(gen): add generated storage plugin code for session recording recovery
Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com >
Co-authored-by: Manjeet Singh <manjeet.singh@hashicorp.com >
* feat(plugin): add plugin loopback support for session recording recovery
Co-authored-by: Ryan Derr <ryan.derr@hashicorp.com >
Co-authored-by: aditya2548 <aditya25dec2000@gmail.com >
---------
Co-authored-by: Ryan Derr <ryan.derr@hashicorp.com >
Co-authored-by: Manjeet Singh <manjeet.singh@hashicorp.com >
Co-authored-by: aditya2548 <aditya25dec2000@gmail.com >
2026-05-14 13:02:32 -05:00
Damian Debkowski
a4f88e7888
chore: update go version to 1.25.7 ( #6404 )
2026-02-05 15:48:46 -05:00
Damian Debkowski
d1feb5665a
chore: update changelog to include bug fix ( #5654 )
2025-04-16 14:06:35 -07:00
Damian Debkowski
1820d43d38
fix(daemon): set correct permissions on cache.db file ( #5613 )
2025-03-18 12:29:26 -07:00
Damian Debkowski
70cdd3823c
fix(db): return expected rows err for migration logs ( #5597 )
2025-03-13 17:18:05 -07:00
Damian Debkowski
29ab0c3594
fix(handlers): resolve nil reference pointer for authorize session ( #5596 )
2025-03-13 16:20:17 -07:00
Damian Debkowski
32be170562
fix(token): utilize a more accurate comparison method ( #5594 )
2025-03-13 15:08:09 -07:00
Damian Debkowski and Johan Brandhorst-Satzkorn
acc40e0d08
fix: resolve small issues in db transactions ( #5522 )
...
* fix: use the db transaction reader and writer
* fix: internal/server: use ctx when scanning rows
* fix(host): pass db tx reader/writer into helper funcs
* fix: more precise nil check against db.Reader & db.Writer
---------
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
2025-02-06 12:20:39 -08:00
Damian Debkowski
5bd142ddb4
fix(worker): set session.CloseCallTimeout to non-zero value ( #5510 )
2025-02-04 13:47:32 -08:00
Damian Debkowski
94e2aceaca
fix(alias): remove unnecessary subquery from alias refresh ( #5481 )
2025-01-27 14:18:42 -08:00
Damian Debkowski
efe9fe780d
chore: update changelog with bug fix ( #5460 )
2025-01-22 10:05:16 -08:00
Damian Debkowski
dc66aa0556
fix(enos): bump default db version to new required minimum ( #5426 )
2025-01-08 22:42:08 -08:00
Damian Debkowski
868d7b8a2d
test(daemon): remove tests with multihop ( #5397 )
2024-12-30 12:21:52 -08:00
Damian Debkowski
dd1482b5ac
test(cluster): check worker status multiple times ( #5393 )
2024-12-23 11:39:58 -08:00
Damian Debkowski
98bb4c8c31
test(cluster): split tests between parallel and sequential packages ( #5390 )
2024-12-20 13:53:37 -08:00
Damian Debkowski
65c8af1f23
chore: update go dependency ( #5303 )
2024-12-04 10:58:39 -08:00
Damian Debkowski
bc10cbb35b
chore: update dependencies ( #5269 )
...
* chore: update go-retryablehttp
* chore: update x/net
* chore: update protobuf
* fix: missing dependency
* chore: update jwt dependency
2024-11-21 11:12:41 -08:00
Damian Debkowski
79bf12bd23
fix(cmd): resolve make gen issue ( #5124 )
2024-09-20 13:29:26 -07:00
Damian Debkowski
29efd5e6c6
test: ensure ipv6 compatability ( #5110 )
2024-09-20 11:30:27 -07:00
Damian Debkowski
9576ed40dc
test: improve test to ensure ipv6 compatability ( #5113 )
2024-09-19 08:55:27 -07:00
Damian Debkowski
390fca3306
test(server): validate ipv6 address for upsert worker status ( #5079 )
2024-09-11 13:02:19 -07:00
Damian Debkowski
26a07c1418
fix(sbc): ensure secrets cannot be empty & add unit tests ( #5102 )
2024-09-11 13:01:45 -07:00
Damian Debkowski
89c9a309ce
test(host): validate ipv6 address for hosts ( #5052 )
2024-09-05 10:44:55 -07:00
Damian Debkowski
bd03c99f89
test(target): validate ipv6 address for tcp targets ( #5076 )
2024-09-05 10:30:30 -07:00
Damian Debkowski
5707a64b20
fix(db): remove storage_plugin_storage_bucket_secret-rewrapping-job table ( #4993 )
2024-08-02 09:08:16 -07:00
Damian Debkowski
85b9adea81
feat(loopback): support dynamic credentials ( #4982 )
2024-07-30 10:15:57 -07:00
Damian Debkowski
1be0e5d413
fix: pass along storage bucket credential id for sb update job ( #4947 )
2024-07-22 12:06:35 -04:00
Damian Debkowski
a20aae9879
update persisted storage bucket credential states from worker status
2024-07-17 14:23:11 -04:00
Damian Debkowski
4131c4b324
feat(cmd): display remote storage states for workers
2024-07-17 14:23:11 -04:00
Damian Debkowski
c0cf5c4e1b
feat(api): return remote storage states for worker
2024-07-17 14:23:11 -04:00
Damian Debkowski
00e4c5448b
feat: workers filtered by sbc state
2024-07-17 14:23:11 -04:00
Damian Debkowski
9bc5e492f6
feat(sbc): add upsert worker storage bucket job
2024-07-17 14:23:11 -04:00
Damian Debkowski
162a857a29
feat(sbc): Add domain changes for SBC
2024-07-17 14:23:11 -04:00
Damian Debkowski
7a3c484147
feat(storage): add UpsertStorageBucket & GetStorageBucketStates methods
2024-07-17 14:23:11 -04:00
Damian Debkowski
88c67e4eea
feat(proto): define storage bucket state in worker status
2024-07-17 14:23:11 -04:00
Damian Debkowski
dc21e714a5
feat(db): tracking storage bucket by worker
2024-07-17 14:23:11 -04:00
Damian Debkowski
7256957127
chore: update boundary api & sdk versions ( #4756 )
2024-04-30 14:39:31 -07:00
Damian Debkowski
649804d950
chore: update change log ( #4723 )
2024-04-30 07:54:37 -07:00
Damian Debkowski
facd7d33a2
chore: dependency upgrade to resolve GHSA-c5pj-mqfh-rvc3 vulnerability ( #4742 )
2024-04-29 09:25:51 -07:00
Damian Debkowski
cebcc696e4
chore: update changelog ( #4644 )
2024-04-15 10:51:29 -07:00
Damian Debkowski
aea473c77b
feat: new worker config for minimumAvailableCapacity
2024-04-05 16:45:52 -04:00
Damian Debkowski
29c09f5bc2
fix(bsr): resolve race condition errors in signature file ( #4393 )
...
* fix(bsr): resolve race condition errors in signature file
* chore(bsr): add comment to define purpose of mutex lock
2024-02-14 10:33:20 -08:00
Damian Debkowski
d0b10b020e
fix(bsr): acquire mutex lock on all methods of Sha256SumWriter ( #4383 )
2024-02-08 15:57:59 -08:00
5dbf57ebfa
chore: add storage policy documentation ( #4246 )
...
* chore: update create storage bucket readme
* chore: update domain model docs for storage policy
* fix(website): update docs nav data
* docs: Update navigation
* docs: Copy edits
* chore: add resultant set of policy examples
* doc: Update resultant set of policy examples
* docs: Add policies to CLI commands
* docs: Add note about default policy name
* adds configure storage policies usage docs
* updates s3 policies to include the bucket resource itself
* adds commands/policies routes back
* Apply suggestions from code review
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
* adds Manual deletion section
* updates UI step
* adds update storage policies usage doc
* attribute description updates and formatting fixes
* Apply suggestions from code review
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
---------
Co-authored-by: Dan Heath <76443935+Dan-Heath@users.noreply.github.com >
Co-authored-by: stellarsquall <stellarsquall@protonmail.ch >
Co-authored-by: Robin Beck <stellarsquall@users.noreply.github.com >
2024-01-30 20:20:43 -05:00
Damian Debkowski
2dda19aafe
fix: reapply-storage-policy
2024-01-16 13:53:44 -08:00
Damian Debkowski
621b535dde
chore: move infinity retention definition
2024-01-16 13:53:44 -08:00
Damian Debkowski
5c1ef080cc
feat(cmd): session recording reapply storage policy
2024-01-16 13:53:44 -08:00
Damian Debkowski
9e533912cd
feat(api): session recording reapply storage policy
2024-01-16 13:53:44 -08:00
Damian Debkowski
0a853c2262
feat(handler): reapply storage policy unimplemented
2024-01-16 13:53:44 -08:00
Damian Debkowski
c27d12c189
fix(db): add target_org_id to session_recording_aggregate table
2024-01-16 13:53:44 -08:00
Damian Debkowski
5858e4c69c
feat(proto): add reapply storage policy method
2024-01-16 13:53:44 -08:00
Damian Debkowski
3d1f7bc892
chore: update website permissions resource table
2024-01-16 13:53:44 -08:00
Damian Debkowski
b7739cd214
chore: generated files
2024-01-16 13:53:44 -08:00
Damian Debkowski
40ce80bc55
feat(iam): read storage policy id for scope output
2024-01-16 13:53:44 -08:00
Damian Debkowski
6ca1bc3c3f
feat(handlers): utilize service func for scope service
2024-01-16 13:53:44 -08:00
Damian Debkowski
1be1636883
feat(iam): support scope storage policy
2024-01-16 13:53:44 -08:00
Damian Debkowski
7dce1206ab
feat(types): support new grant types
2024-01-16 13:53:44 -08:00
Damian Debkowski
50990d1b19
chore: generated files
2024-01-16 13:53:44 -08:00
Damian Debkowski
a39bf33598
proto(iam): add scope policy storage policy
2024-01-16 13:53:44 -08:00
Damian Debkowski
7cdbcd71ca
fix(bsr): missing buffer opts for channel writers
2024-01-11 09:58:32 -05:00
Damian Debkowski
208611ec3e
feat(bsr): invoke writeAndClose() in encode
2024-01-11 09:58:32 -05:00
Damian Debkowski
2157a29e6e
fix(fstest): return a LimitedSpaceFile on OpenFile()
2024-01-11 09:58:32 -05:00
Damian Debkowski
450da59686
feat(bsr): create checksum writer
2024-01-11 09:58:32 -05:00
Damian Debkowski
4f42dbf59f
feat(bsr): utilize rolling buffer
2024-01-11 09:58:32 -05:00
Damian Debkowski
87b19504d7
feat(storage): remove withMinimumBuffer
2024-01-11 09:58:32 -05:00
Damian Debkowski
2f62f65252
fix(db): make bucket_prefix column immutable for storage buckets ( #4108 )
2024-01-02 08:53:49 -08:00
Damian Debkowski
3394d3e13a
chore: update go mod and dependencies ( #4073 )
2023-11-30 11:45:00 -08:00
Damian Debkowski
12600617ba
fix(plugin): remove unit test race condition ( #4002 )
2023-11-07 09:17:36 -08:00
Damian Debkowski
1be59e3d76
chore(plugins): update aws version to v0.2.0 ( #3767 )
2023-09-22 12:57:09 -07:00
Damian Debkowski
e3e848d847
feat(event): new storage event type ( #3719 )
2023-09-14 10:31:01 -07:00
Damian Debkowski
0dcdee4758
feat(bsr): support container validation ( #3504 )
2023-07-28 13:38:51 -07:00
Damian Debkowski
da7e8f7c1c
fix(bsr): allow reading twice from the same fstest.MemFile ( #3498 )
2023-07-27 09:25:01 -07:00
Damian Debkowski
a67e42b00f
refactor(bsr): optimize ChunkEncoder.Encode() ( #3476 )
2023-07-26 09:12:19 -07:00
Damian Debkowski
e285a8ef6f
refactor: make secrets optional for storage bucket ( #3353 )
2023-07-19 14:32:33 -07:00
Damian Debkowski
e7420eb690
fix(plugin): correct spelling mistake
2023-05-31 12:18:24 +00:00
Damian Debkowski
9aa4d40d95
feat(storage): provide optional chunk size field for GetObject
2023-05-31 12:18:22 +00:00
Damian Debkowski
234c4ade86
refactor(plugin): use flat file system for loopback storage
2023-05-31 12:18:18 +00:00
Damian Debkowski
331254402a
feat(loopback): add ability to mock putObject response
2023-05-31 12:18:18 +00:00
Damian Debkowski
95c3b2d56a
test(storage): improve loopback mock err & update storage container closed err msg
2023-05-31 12:18:17 +00:00
Damian Debkowski
39a07252b6
refactor(storage): read from local disk for putObject
2023-05-31 12:18:15 +00:00
Damian Debkowski
9ef94892f4
test(plugin): Support storage service in loopback plugin
2023-05-31 12:18:12 +00:00
Damian Debkowski
87eb94e026
feat(proto): plugin support validate permissions
2023-05-31 12:18:09 +00:00
Damian Debkowski
39f3e391ae
feat(proto): add headObject to storage plugin service
2023-05-31 12:18:09 +00:00
Damian Debkowski
79eea06dd7
feat(proto): storage bucket plugin grpc definitions ( #252 )
2023-05-31 12:18:08 +00:00
Damian Debkowski
c5b1b7bbc7
fix(handler): return human readable error for json cred w/ empty object ( #3109 )
...
* fix(handler): return human readable error for json cred w/ empty object
* fix(handler): sync error messages for create/update json cred
* fix(handler): sync error logic for create/update json cred
2023-04-19 10:17:07 -07:00
Damian Debkowski
bbbd6b1e51
backport 0.12.1 release ( #3079 )
...
* chore: update version
* fix(tests): break out of infinite loop for bats tests
* chore: update changelog
* fix: make-gen-delta check
2023-03-14 10:19:11 -07:00
Damian Debkowski
cabe362534
fix(handler): return targetId as hostId for cli edge case support ( #2920 )
2023-02-07 10:14:01 -08:00
Damian Debkowski
84b410974b
fix(handlers): return error when updating json cred w/ empty obj ( #2903 )
...
* fix(handlers): return error when updating json cred w/ empty obj
* chore(handlers): split cond stmt & refactor func name
2023-02-06 08:20:12 -08:00
Damian Debkowski
a8ee18e177
fix(db): target address relabel migration id ( #2769 )
2023-01-09 14:00:28 -08:00
Damian Debkowski and Hugo
b3ba9c5b4d
test(enos): new e2e test for target address ( #2732 )
...
Co-authored-by: Hugo <hugoamvieira@users.noreply.github.com >
2023-01-09 15:39:55 +00:00
Damian Debkowski
1d3930a711
feat(handlers): Support address field on a Target
2023-01-09 15:39:55 +00:00
Damian Debkowski
bca7c371d8
feat(session): Support connecting to an address associated to a Target
2023-01-09 15:39:55 +00:00
Damian Debkowski
760671f223
feat(target): Support connecting to an address associated to a Target
2023-01-09 15:39:55 +00:00
Damian Debkowski
0dbe18e453
fix(db): remove migration test 59_01
...
This test uses the target domain repository code to test the ingress
& egress worker filter. With our changes we have updated the target
domain repository logic to fetch the target address. When this migration
test is invoked, the target_address table does not exist and the domain
code will always return an error making this test invalid.
2023-01-09 15:39:55 +00:00
Damian Debkowski
3dd4b1c63d
feat(db): Support a direct address association to a Target
2023-01-09 15:39:55 +00:00
Damian Debkowski
27e9f775be
feat: add initial migration hook
2022-08-22 12:15:20 -07:00
Damian Debkowski
c4aa9a0358
test(sql) add tests to validate project scope for target_static_credential
2022-08-22 12:15:20 -07:00