Johan Brandhorst-Satzkorn
bcddef87a2
internal/pagination: stop using unknown resource type
2024-01-05 07:43:21 -08:00
Todd
d453a2a48a
Check in client wrapper if cache daemon is already in use ( #4172 )
2024-01-05 07:43:21 -08:00
Michael Li
3e4feac261
test(e2e): Add test for pagination of hosts
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
17b6ad5c5c
handlers/hosts: implement pagination for hosts
...
Adds protobuf types and handler logic to support pagination of hosts.
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
cea80413c9
internal/host: add static host pagination
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
473facbc5f
internal/host: add plugin host pagination
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
faf7ebce85
internal/host: add pagination options
...
Add options to support pagination of hosts, host sets and host catalogs.
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
21c593ab71
internal/db: add host indexes
2024-01-05 07:43:21 -08:00
Todd
6f488d7c59
Evanulate if cache daemon should be skipped after the flags are parsed ( #4168 )
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
8175086be7
internal/pagination: avoid import cycle
...
The iam package is very foundational, and now depends
on the pagination package. Thus, the pagination package
must not import any packages that may import iam,
such as the plugin package. Move the plugin helpers
to a subdirectory to avoid this import cycle.
2024-01-05 07:43:21 -08:00
Todd
5aa560387c
Add pagination for iam Roles ( #4161 )
...
* Add pagination for iam Roles
2024-01-05 07:43:21 -08:00
Todd
9ebb69f2a4
Add target type and session user_id as searchable ( #4076 )
...
* Add target type and session user_id to search
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
df93313b9a
all: fix test failures after rebase
...
The stability of the authorized_actions have been removed in main,
so we need to add these sorts to all our new tests.
2024-01-05 07:43:21 -08:00
Johan Brandhorst-Satzkorn
77b76ae685
internal/db: reorder pagination schema files
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
6c9bc84790
testing/e2e: add credential store pagination test
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
0259f2f26b
internal/handlers: add credential store pagination
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
a7ebb7a3ef
internal/credential: add store pagination logic
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
3197ab763f
internal/credential/static: add store pagination logic
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
7efb43ac03
internal/credential/vault: add store pagination logic
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
22ce2b4468
internal/db: add cred store pagination schema changes
...
Add create time, update time columns to base table,
add indexes used by list queries.
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
7b27d7d20f
internal/target: fix some test typos
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
576e25bd27
internal/session: fix some test typos
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
dc0b8cfc62
internal/credential: fix some test typos
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
cb109da5b2
internal/pagination: add generic ListPlugins functions
...
These new methods can be used in places where the caller wants
to automatically paginate over a resource that is returned
together with a slice of plugins, such as host catalogs.
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
97ba8b3bad
internal/pagination: add generic ListPlugin functions
...
These new methods can be used in places where the caller wants
to automatically paginate over a resource that is returned
together with a plugin, such as plugin hosts, host sets and storage buckets.
2024-01-05 07:43:20 -08:00
Michael Milton
335ccbfdaf
Session pagination e2e tests ( #4134 )
...
* Tests session pagination over CLI
* session pagination tests
* Add cleanup and fix api test
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
1411eeafff
testing/e2e: add credential library pagination test
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
9047d5b22a
testing/e2e: add credential store API helper
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
780dfe20ad
internal/db: move pagination migrations to same folder ( #4142 )
...
Since rebasing on main, we are no longer working in 79, but 80 instead.
2024-01-05 07:43:20 -08:00
Todd
3558589c90
Return and consume InvalidListToken error code ( #4141 )
...
* Return and consume InvalidListToken error code
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
7dce5396f5
testing/e2e: add API helper for u/pw credentials
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
0b1217fdb6
testing/e2e: check returned targets in pagination
2024-01-05 07:43:20 -08:00
Johan Brandhorst-Satzkorn
d9edd9dda6
testing/e2e: add credential pagination test
2024-01-05 07:43:20 -08:00
Todd
2d18f82c9f
Rename refresh token errors to list error ( #4138 )
2024-01-05 07:43:20 -08:00
Todd
a1bc2be136
Remove accidentally re-added refresh token files
2024-01-05 07:43:20 -08:00
Todd
9025e126fb
Fix dependency that got reverted to older version
2024-01-05 07:43:20 -08:00
Todd
deab274ec0
make gen
2024-01-05 07:43:20 -08:00
Todd
97f800d396
Fix rebase issues
2024-01-05 07:43:20 -08:00
Todd
c74579cead
Allow forced refresh attempt when searching ( #4077 )
...
* Allow forced refresh attempt when searching
2024-01-05 07:43:20 -08:00
Todd
cdc6fb0973
Refresh specific resources before searching when they are stale ( #4046 )
...
validate versions for all handlers. Refresh specific user before searching
Pass flags on to the background process
Allow the search refresh timeout to be configured
2024-01-05 07:43:20 -08:00
Todd
b3d268eae5
Include terminated sessions in the client cache ( #4051 )
2024-01-05 07:43:20 -08:00
Todd
8974606dea
Remove auth token when it is not found ( #4050 )
2024-01-05 07:43:20 -08:00
Todd
9aab26e91b
clientcache commands now can output curl strings ( #4042 )
2024-01-05 07:43:20 -08:00
Todd
b71d134e06
Create Client and update Errors for client daemon commands ( #4011 )
...
* Create a client cache daemon client
* Fix error formatting for the client cache cmds
2024-01-05 07:43:20 -08:00
Todd
8af20349e7
update mql and clean search flags ( #4030 )
2024-01-05 07:43:20 -08:00
Todd
f6b9162953
consistently expect snake case json values in token handler ( #4015 )
2024-01-05 07:43:20 -08:00
Todd
a077be691c
Add scope id and target id as searchable fields ( #4012 )
2024-01-05 07:43:20 -08:00
Todd
9448fc931e
Search uses base.Client's token to perform the search ( #4006 )
2024-01-05 07:43:20 -08:00
Todd
ab4ab0e8f9
Handle log rotation ( #3948 )
...
* Handle log rotation
2024-01-05 07:43:20 -08:00
Todd
71b09222ae
Add status command to the boundary client cache ( #3871 )
...
* Add status command to the boundary client cache
2024-01-05 07:43:20 -08:00