Irena Rindos
2945692bf4
Client cache API paging ( #5107 )
...
* internal/clientcache: add -force-reset-schema flag
* clientcache: stream list pages directly to DB
---------
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
(cherry picked from commit ccea8a4ce53f7b0d1105c1c1e4875e443635d96a)
2024-09-24 14:18:53 +00:00
Jeff Mitchell
3a4ee032d9
Paginate targets in cache ( #5101 )
...
* Update Go API to support pagination
* Implement pagination of targets in cache
(cherry picked from commit cd25fad42f325fc050b7ea3bec3336780d2b5e16)
2024-09-24 14:18:53 +00:00
Jeff Mitchell
35d1df7388
Two fixes in our Go API code: ( #5066 )
...
* Replace `interface{}` with `any`
* For options that are bools, don't always set true; set to the actual
value passed in (some options already behaved this way, but they all
should)
2024-09-04 11:40:43 -04:00
Johan Brandhorst-Satzkorn
4a031d9910
api: remove items deleted during refresh pagination ( #5056 )
...
The API automatically paginates to the end of a pagination,
and would take into account any items updated and subsequently
removed since the last pagination. It now also removes any items
removed during the current pagination.
2024-08-29 12:43:54 -07:00
Todd
608b6bb2b7
Add ListResolvableAliases SDK changes ( #4653 )
...
* Add API changs for list resolvable aliases
2024-04-17 11:13:08 -07:00
Jeff Mitchell and Damian Debkowski
35cef97bd4
Linter fixes PR 3 ( #4415 )
...
* Linter fixes
* fix(bsr): update test to register TEST protocol once
---------
Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com >
2024-02-16 08:30:16 -05: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
Hugo
0d71976437
feat(proto): Add RetainUntil and DeleteAfter timestamps on Session Recordings
2024-01-16 13:53:44 -08:00
Johan Brandhorst-Satzkorn
acc048a1d1
internal/genapi: correct list response body and map
...
When using the new auto-pagination logic, we would previously return
the Body and Map of the last response, instead of one corresponding
to the returned result. Correct this by overwriting the Body and Map
after pagination has finished.
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
3b54611d14
api: update api listing
...
Change from refresh token to list token
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
ef3bdfd5eb
api: add automatic list pagination
...
Updates all List endpoints to automatically paginate
through results to preserve backwards compatibility.
Adding support for user controllable pagination could
be considered at a later time.
2024-01-05 07:43:20 -08:00
dani
c89777de41
Expose Valid Principals for Vault SSH Signed Certs ( #3791 )
...
* allow additional valid principals when creating vault ssh signed cert cred lib
* add additional_valid_principals field to credential libraries documentation page
2023-10-24 12:44:51 -04:00
Todd
8d9222bec3
Add credential and libraries to session recording resource ( #3374 )
2023-06-28 09:55:29 -07:00
Johan Brandhorst-Satzkorn
ebcd6d2828
api: remove connection ID ( #3298 )
...
Removing this until we figure out why it's sometimes missing.
May add it back again later.
2023-06-08 09:15:12 -07:00
Johan Brandhorst-Satzkorn
610df9892b
all: propagate more history metadata ( #3279 )
...
A few target and host properties were missed when reading historical
data from the history tables.
2023-06-05 10:19:11 -07: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
Jim
d49fde2299
feat(cli/session-recordings): add download cmd
2023-05-31 12:18:22 +00:00
Johan Brandhorst-Satzkorn
3374d32a55
api: add created, updated times to conn, chan
...
In addition to session recordings, connection and
channel recordings now also include the created and
updated time.
2023-05-31 12:18:21 +00:00
Todd
5f20eb60ad
Add Host and Catalogs to the API resource
2023-05-31 12:18:19 +00:00
Johan Brandhorst-Satzkorn
15524f3408
api: add created, updated times to recordings
2023-05-31 12:18:19 +00:00
Jim
35a2296092
feat(cli): add session recordings: read and list cmds
2023-05-31 12:18:19 +00:00
Johan Brandhorst-Satzkorn
4387a59ce5
sessionrecordings: add endpoint
2023-05-31 12:18:18 +00:00
Johan Brandhorst-Satzkorn
89befba55e
api: add state and error details fields to recordings
2023-05-31 12:18:18 +00:00
Todd
ee6a5f05b5
Add historical target and scope information to session recording
2023-05-31 12:18:17 +00:00
Todd
cfe0dc08d9
Add session recording service stuff
2023-05-31 12:18:17 +00:00
Johan Brandhorst-Satzkorn
281989e595
regenerate API files
2023-05-31 12:18:17 +00:00
Jim
70a950b7a3
feat (session recordings): Read, List and Download API
2023-05-31 12:18:16 +00:00