Jim
6a37c93d77
fix: properly handle rows.Err() ( #4261 )
...
* fix (auth): properly handle rows.Err()
* fix (auth/ldap): properly handle rows.Err()
* fix (auth/oidc): properly handle rows.Err()
* fix (auth/password): properly handle rows.Err()
* fix (authtoken): properly handle rows.Err()
* fix (credential): properly handle rows.Err()
* fix (credential/static): properly handle rows.Err()
* fix (credential/vault): properly handle rows.Err()
* fix (db): properly handle rows.Err()
* fix (db/schema): properly handle rows.Err()
* fix (db/migrations): properly handle rows.Err()
* fix (host): properly handle rows.Err()
* fix (host/plugin): properly handle rows.Err()
* fix (host/static): properly handle rows.Err()
* fix (iam): properly handle rows.Err()
* fix (kms): properly handle rows.Err()
* fix (oplog): properly handle rows.Err()
* fix (pagination/purge): properly handle rows.Err()
* fix (plugin): properly handle rows.Err()
* fix (job/scheduler): properly handle rows.Err()
* fix (server): properly handle rows.Err()
* fix (session): properly handle rows.Err()
* fix (target): properly handle rows.Err()
2024-01-22 14:03:40 -05:00
Jim
c6714c1302
refact: remove used limit parameter in query funcs ( #4263 )
2024-01-22 14:02:50 -05:00
Jim
81c217c1b0
refact (authmethods): remove used list auth methods ( #4264 )
2024-01-22 14:02:24 -05:00
Jeff Mitchell
3414e09cbb
Remove announced deprecated code allowing ports in target addrs ( #4265 )
...
We made it an error in the API to do this a while back; this cleans up
the logic to disallow it for existing targets too.
2024-01-22 13:49:17 -05:00
Todd
30066c06f5
Add log location to the status output ( #4260 )
2024-01-22 08:42:19 -08:00
Jeff Mitchell and Johan Brandhorst-Satzkorn
fff5f9506f
Migrate proxy logic to the API package ( #4216 )
...
This allows arbitrary programs to have an easy mechanism to make
connections through Boundary using Go. Internal cluster tests and test
helpers have been migrated to use this package, as well as the `connect`
command.
---------
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
2024-01-21 22:34:33 -05:00
David Bond
422bd6c224
Use correct argument name in log line ( #4252 )
...
This commit modifies a log line produced in the WorkerStatusReport function when closing
orphaned connections that appears to incorrectly label a worker identifier as a controller
identifier.
Signed-off-by: David Bond <davidsbond93@gmail.com >
2024-01-19 15:21:57 -08:00
Devon Anderson
43c37ab1d9
Bump UI commit ( #4259 )
2024-01-19 15:20:53 -08:00
Johan Brandhorst-Satzkorn
b229ece914
internal/db: use more efficient index for host listing ( #4256 )
...
In tests, the index including the catalog_id performs significantly
better.
2024-01-19 10:59:18 -08:00
Louis Ruch
22fcf8a2ba
Projects do not have perm to attach/detach policy
2024-01-19 09:39:13 -08:00
Louis Ruch
d620dcbd4f
feat(db): Update storage policy override default to false
2024-01-19 09:39:10 -08:00
dani
a2c7bc8545
fix(e2e): update enos policies to include s3:ListBucket ( #4255 )
2024-01-19 12:27:45 -05:00
Louis Ruch
2bf08e2627
chore: Update changelog ( #4253 )
2024-01-18 18:04:18 -08:00
Todd
b8f4e16ecf
Fix flaky log rotation test ( #4257 )
...
* Fix flaky log rotation test
2024-01-18 14:44:53 -08:00
Timothy Messier
af5779e92b
Merge pull request #4254 from hashicorp/tmessi-disable-jit
...
Disable postgres JIT for boudary dev
2024-01-18 14:38:14 -05:00
Timothy Messier
1e51dbef4f
feat(test): Add docker images for additional postgres versions
2024-01-18 19:37:46 +00:00
Timothy Messier
e255284996
feat(test): Disable JIT for test database image
2024-01-18 19:37:46 +00:00
Timothy Messier
9c5c17a3ee
feat(cmd): Disable postgres JIT for boundary dev
...
After updating `boundary dev` to use postgres:12 by default, it was
noticed that the responsiveness of boundary was noticeably slower. This
is due to the introduction of JIT being enabled by default in
postgres:12. JIT seems to incur noticeable overhead without providing
benefits, at least for the instance used for `boundary dev`.
It is also worth noting that for postgres:14 and newer, JIT does not get
triggered for the same queries since they seem to result in a cheaper
query plan that does not exceed the default threshold for JIT.
See:
https://www.postgresql.org/docs/current/jit.html
ICU-12283
2024-01-18 19:37:46 +00:00
Todd
884a0cb1fc
Fix daemon synopsis and command grouping ( #4249 )
2024-01-18 09:54:21 -08:00
Jeff Mitchell
253d79116c
Swap id field in grants to ids since that's now standardized ( #4250 )
...
* Swap id field in grants to ids since that's now standardized
* Fix some tests I missed
* Update generated resource table
2024-01-17 23:54:49 -08:00
Todd
962f9bd638
Pass in options to NewCommand call ( #4248 )
2024-01-17 16:41:28 -08:00
Devon Anderson
66393ca3d6
Bump UI commit ( #4245 )
2024-01-17 15:47:28 -05:00
Jeff Mitchell
8c1bdb2190
Fix Unix listener causing 500s on Mac ( #4243 )
...
Some platforms use `@` for a Unix socket address, and some leave it
empty. In the empty case this causes the rate limiting code to throw a
500 error. This commit standardizes on using `@` for incoming
connections over a Unix socket.
2024-01-17 11:38:53 -08:00
Louis Ruch
957cd59d91
test(e2e): Update e2e timeout ( #4241 )
2024-01-17 09:45:34 -08:00
Jeff Mitchell
e07503add4
Remove some long-standing commented code ( #4242 )
...
This actually was implemented elsewhere for eventing but the commented
code wasn't removed. We can finally be free.
2024-01-17 09:29:31 -08:00
Louis Ruch
5505833702
chore: reorder db migrations from llb
2024-01-16 15:47:12 -08:00
Danielle Miu
e903947bef
Create delete_session_recording job and associated infra
2024-01-16 15:47:09 -08: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
Louis Ruch
b237fe24f1
feat(cmd): Add help text for storage policy scope funcs
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
Louis Ruch
f26243e9af
feat(recording): Delete Session Recording
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
Louis Ruch
e621c0d5ff
chore: Update AWS plugin to 0.3.0 ( #858 )
2024-01-16 13:53:44 -08:00
Johan Brandhorst-Satzkorn
07be75b7be
internal/handlers: add pagination to storage policies
2024-01-16 13:53:44 -08:00
Johan Brandhorst-Satzkorn
b454b28912
internal/handlers: add policy list resource type
2024-01-16 13:53:44 -08:00
Johan Brandhorst-Satzkorn
dc4ea67d6e
internal/db: changes for pagination
2024-01-16 13:53:44 -08:00
Louis Ruch
86f10f3ea4
feat(recording): Add RetainUntil and DeleteAfter to Session Recording CLI
2024-01-16 13:53:44 -08:00
Hugo
0d71976437
feat(proto): Add RetainUntil and DeleteAfter timestamps on Session Recordings
2024-01-16 13:53:44 -08:00
Danielle Miu
39b3bb2d1d
fix(db): allow session_recording_aggregate to return recordings correctly
2024-01-16 13:53:44 -08:00
Louis Ruch
853ce5dcd6
feat(policy): Use int32 to avoid json converting int64->float64 string
2024-01-16 13:53:44 -08:00
Louis Ruch
360dd616ff
fix(rate-limiting): Add support for Scope-StoragePolicy actions
2024-01-16 13:53:44 -08:00
Louis Ruch
20897640cd
feat(cli): Add support for Scope Storage Policy
2024-01-16 13:53:44 -08:00
Louis Ruch
45de26bfe9
feat(scope): Add API for Attach/Detach StoragePolicy to scope
2024-01-16 13:53:44 -08:00
Hugo
08e8d96514
feat(cmd): Policies
2024-01-16 13:53:44 -08:00