Louis Ruch
07dbaaf052
chore(plugins): Update plugin deps ( #3266 )
...
* chore(plugins): Update plugin deps
2023-06-02 10:05:37 -07:00
Jeff Mitchell
1b0330ad8e
Update dev worker auth flag names ( #3265 )
...
This brings it in line with the updated names that have been settled on
in light of deprecating the old KMS method.
2023-06-02 12:47:59 -04:00
Louis Ruch
281f217dcc
feat(plugins): Refactor host plugins to boundary plugins ( #3262 )
2023-06-02 08:04:50 -07:00
Johan Brandhorst-Satzkorn
97977f1995
update perms table for session recordings and storage buckets ( #3253 )
2023-06-01 12:45:27 -07:00
Cameron Perera
5a64946f9d
chore: bump ui commit ( #3261 )
2023-06-01 11:47:48 -05:00
Louis Ruch
86220fefa7
chore: Update plugin tags
2023-06-01 08:40:38 -07:00
Timothy Messier
75ef443ae1
chore: Update api and sdk tags
2023-06-01 15:11:57 +00:00
Jim
9ea00088bd
chore: update go-kms-wrapping dep ( #3260 )
2023-06-01 11:04:42 -04:00
Cameron Perera
1cd084459d
chore: bump UI commit ( #3259 )
2023-06-01 09:35:17 -05:00
Johan Brandhorst-Satzkorn
0c8177590f
Upgrade grpc-gateway dependency ( #3257 )
...
* proto: correct classification of authz token
The target authorization token had the invalid classification
"private". Fortunately, classification is a fail-closed system,
so this won't have exposed users authorization tokens, but
we should still use the correct classification. Use "secret".
* scripts: add Go script to remove gotags comments
The new version of grpc-gateway includes our gotags
comments in the generate swagger documentation. This
script removes all mentions of these.
* Upgrade grpc-gateway dependency
Mainly we need this to fix generation of our docs side API docs,
but it also includes a nice fix for the new Download RPC, i.e. it
now contains the correct response schema (a binary stream).
2023-06-01 06:41:09 -07:00
Jim
d4e537c88d
chore: updgrade pgx direct deps to v5 ( #3258 )
2023-06-01 08:59:38 -04:00
Johan Brandhorst-Satzkorn
c765db2bb8
Upgrade go-secure-stdlib dependencies ( #3256 )
2023-05-31 17:58:48 -07:00
Jim
536551dc0c
fix: update go-dbw dep and refactor conversion of pgx errors ( #3242 )
2023-05-31 20:23:33 -04:00
Jeff Mitchell
3d5bed9ce8
Don't allow managed workers to be deleted ( #3254 )
...
This also adds checks to ensure the tag cannot be added to workers via
the API.
2023-05-31 14:23:57 -04:00
Timothy Messier
84b96f89a7
chore: Bump version
2023-05-31 16:01:03 +00:00
Timothy Messier
61a37ef4a4
fix(schema): Add missing endpoint column to session recording view
2023-05-31 15:53:16 +00:00
Timothy Messier
f64f03ed46
fix(targets): Support authorize session request with target name ( #3252 )
...
For requests to the target authorize session endpoint we support passing
a target name instead of an id. This means that `req.GetId()` might not
be the target's public id. Since the first thing authorize session does
includes retrieving the target as part of the authorization checks, this
subtype check can leverage the public id of the target instead of using
the request.
Fixes: 6178dd516e
2023-05-31 11:25:03 -04:00
Louis Ruch
4e5c3d6a5d
Merge pull request #3251 from hashicorp/louis-mod
...
chore(deps): Update plugin deps
2023-05-31 08:53:35 -04:00
Louis Ruch
9cd82a0526
chore(deps): Update plugin deps
2023-05-31 08:49:30 -04:00
Timothy Messier
c2da88d2a5
test(cmd/config): Fix test compilation error
...
Refs: 9ae2bdfae
2023-05-31 12:47:20 +00:00
Timothy Messier
29b9a508a3
chore(lint): Ignore warning about deprecated field
...
This is being explicitly tested until it is removed, so this silences
the linter for this specific case.
2023-05-31 12:18:24 +00:00
Timothy Messier
cdf18b6369
test(cli/targets): Add test case for default client port
2023-05-31 12:18:24 +00:00
Todd
fb1ea92a30
Pass both the control and data context into handle
2023-05-31 12:18:24 +00:00
irenarindos
8c96d3ef9b
fix(cmd): add session recording resource prefixes
2023-05-31 12:18:24 +00:00
Johan Brandhorst-Satzkorn
3e07b2ffaf
bsr: rename fields and remove project id from meta
2023-05-31 12:18:24 +00:00
Johan Brandhorst-Satzkorn
64764e29e5
bsr: invert credential, cred store relationship
...
This lifts the credential sources up to the top of
the SessionMeta struct, avoiding indirection through
the credential stores.
2023-05-31 12:18:24 +00:00
Johan Brandhorst-Satzkorn
e0700570a2
bsr: add endpoint to session meta
...
The endpoint stores the address of the host
the egress worker proxies to.
2023-05-31 12:18:24 +00:00
Johan Brandhorst-Satzkorn
59f78ac1f8
config: allow wasm execution under UI CSP
...
The wasm-unsafe-eval option is necessary for the asciinema
player on the Admin UI
2023-05-31 12:18:24 +00:00
Danielle Miu
b4137a14c3
update test.sh to use loopback flag
2023-05-31 12:18:24 +00:00
Damian Debkowski
e7420eb690
fix(plugin): correct spelling mistake
2023-05-31 12:18:24 +00:00
Todd
6178dd516e
Let a target subtype validate the authorize session's session state
2023-05-31 12:18:23 +00:00
Timothy Messier
9f2c83f3b0
refact(bsr): Rename const to denote when interpolation is needed
2023-05-31 12:18:23 +00:00
Jim
21e4827178
fix(Upstream Msg): limit types used in tests
2023-05-31 12:18:23 +00:00
Timothy Messier
b88b4cce75
feat(bsr/ssh): Add file transfer direction to channel summary
...
When an SSH channel is used for a file transfer, the summary will report
the detected direction of the file transfer as either an upload or
download, relative to the end client.
2023-05-31 12:18:23 +00:00
Timothy Messier
78ea1a9f3a
refact(bsr): Use JSON for session meta and summary data
...
The session metadata is provided all at once when a new bsr is opened.
While the session recording metadata records metadata about a recording
while the recording is happening, notably it records each time a new
connection occurs.
The nested structure of the session metadata does not lend itself to the
append-only syntax of the recording meta file. In addition we do not
want to mix different kinds of metadata together. Thus the session
metadata is now written to a separate file in the BSR, and is written as
JSON which better handles the nested structure and allows for simpler
encoding/decoding.
Similarly the summary files are intended to be written to as containers
close and have been switched to JSON.
2023-05-31 12:18:23 +00:00
Jim
7dc15f1f39
fix(Upstream Msg): limit types supported in toMsgType(...)
2023-05-31 12:18:23 +00:00
Louis Ruch
203d4bb048
fix(storage): Remove client
2023-05-31 12:18:23 +00:00
Danielle Miu
1052118836
remove field masks from proto
2023-05-31 12:18:23 +00:00
Louis Ruch
f0e95d7267
docs(storage): Update comments
2023-05-31 12:18:23 +00:00
Timothy Messier
f53d65eacd
refact(sql): Rename migrations to avoid number conflicts
2023-05-31 12:18:23 +00:00
Todd
2359d5b7a5
remove filter flags and options for session recordings
2023-05-31 12:18:23 +00:00
Todd
d1a5f3a2ff
Update attribute fields to be proto struct so generated api becomes map[string]any
2023-05-31 12:18:22 +00:00
irenarindos
4785f2388f
chore(session recording): update cmd typo
2023-05-31 12:18:22 +00:00
Todd
4063880bbe
Add credential history views
2023-05-31 12:18:22 +00:00
Louis Ruch
95398d3b65
fix(dev): Fix panic in controller-only dev mode
...
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb8 pc=0x16626b0]
goroutine 1 [running]:
github.com/hashicorp/boundary/internal/cmd/commands/dev.(*Command).Run(0xc000b90000, {0xc00003e110, 0x1, 0x1})
github.com/hashicorp/boundary/internal/cmd/commands/dev/dev.go:484 +0x490
github.com/mitchellh/cli.(*CLI).Run(0xc0003323c0)
github.com/mitchellh/cli@v1.1.5/cli.go:262 +0x5f8
github.com/hashicorp/boundary/internal/cmd.RunCustom({0xc00003e100?, 0x60?, 0x0?}, 0x0?)
github.com/hashicorp/boundary/internal/cmd/main.go:189 +0xa16
github.com/hashicorp/boundary/internal/cmd.Run(...)
github.com/hashicorp/boundary/internal/cmd/main.go:95
main.main()
github.com/hashicorp/boundary/cmd/boundary/main.go:16 +0xc7
2023-05-31 12:18:22 +00:00
Louis Ruch
9a3006e42a
feat(storage): Include type plugin in API response for buckets
2023-05-31 12:18:22 +00:00
Jim
468c58836b
feat(recordings/cli): more read detail info
2023-05-31 12:18:22 +00:00
Damian Debkowski
9aa4d40d95
feat(storage): provide optional chunk size field for GetObject
2023-05-31 12:18:22 +00:00
irenarindos
b57692f8fc
chore(bsr): check index bounds for meta unmarshal
2023-05-31 12:18:22 +00:00
Jim
d49fde2299
feat(cli/session-recordings): add download cmd
2023-05-31 12:18:22 +00:00