Michael Gaffney
094bdcdd2b
protobuf: remove unused imports ( #1267 )
...
This removes unused imports in the protobuf files which are reported as
warnings by the protoc compiler.
2021-06-02 14:59:36 -04:00
Todd Knight
71673ea161
Pass disable_discovered_config_validation in the API change-state call ( #1100 )
2021-04-12 08:49:22 -07:00
dd0f34bc35
Add new OIDC auth method. ( #1090 )
...
Co-authored-by: Todd Knight <T.Alan.Knight@gmail.com >
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
Co-authored-by: Michael Gaffney <mgaffney@users.noreply.github.com >
2021-04-08 20:54:32 -04:00
Jeff Mitchell
6605b4c9f8
Revamp authenticate ( #1025 )
2021-03-24 16:07:43 -04:00
Todd Knight
97b404032b
Add ability to filter List*Requests ( #952 )
2021-02-22 10:09:25 -07:00
Jeff Mitchell
c6fa737e51
Add a duplicate authenticate:login API verb ( #912 )
2021-02-10 15:43:59 -05:00
Jeff Mitchell
cb3980cb8c
Remove list:self from main ( #915 )
...
* Remove list:self from main
As per futher discussions, we won't be supporting this, in favor of
simply read:self and cancel:self (since listing now already filters out
items on which you have no permissions).
This doesn't remove list:self entirely from the code base as much of
that will simply be converted to read:self and cancel:self -- that will
be in a later PR. However, with this removed if we want to release we
won't expose an API publicly that isn't going to stick around.
2021-02-05 14:01:03 -05:00
Todd Knight
02cd972043
Create Sessions List Self Action ( #888 )
2021-02-02 13:37:32 -07:00
Jeff Mitchell
6cd97a4a6e
Add support for recursive listing ( #885 )
2021-01-25 19:37:40 -05:00
Jeff Mitchell
6b58a3317d
Add recursive listing to roles ( #881 )
...
This also lays the framework for adding recursive listing to the rest of the resources.
2021-01-23 13:39:04 -05:00
Jeff Mitchell
813d21565f
Allow authorize-session to be invoked with target name ( #737 )
2020-10-22 08:40:00 -04:00
Jeff Mitchell
1dd145e707
Fix up swagger title, which was in the authentication service
2020-10-12 18:06:22 -04:00
Jeff Mitchell
dd8973dd9f
Move authenticate service into auth method service ( #635 )
...
This was always an RPC-only distinction and from that perspective it
makes sense; however it causes the generated docs to treat it as an
entirely separate service even though it's under the same collection
path as auth methods and this is confusing.
2020-10-12 18:03:15 -04:00
Jeff Mitchell
9237d6f787
Rename authorize to authorize-session ( #531 )
...
As pointed out by Rob, this makes it clearer what the action actually
is. We were sort of torn on it before, but I've definitely come around
to it.
2020-10-05 11:02:23 -04:00
Jeff Mitchell
a38f40606e
Create default roles in scopes to allow authentication and listing scopes/auth methods ( #502 )
2020-09-29 20:38:16 -04:00
Todd Knight
0eb35f49d5
Correcting a bunch of incorrect documentation for the different API services and resources. ( #494 )
2020-09-29 13:17:59 -07:00
Jeff Mitchell
b1fc9fd547
Sanitize protos ( #471 )
2020-09-26 08:30:27 -04:00
Todd Knight
0e5a849402
Adding Add|Set|Remove Accounts on the user resource ( #461 )
2020-09-25 20:44:55 -07:00
Jeff Mitchell
33b0021547
Add Sessions CLI command and add session cleanup to worker ( #388 )
2020-09-21 02:22:59 -04:00
Todd Knight
e937b0ea27
Sessions Read/List/Cancel API and SDK ( #369 )
2020-09-20 20:22:57 -04:00
Jeff Mitchell
07a7e9750a
Tie together the database-driven session handling with the worker and add relevant CLI comands ( #370 )
2020-09-19 00:18:17 -04:00
Todd Knight
33e7b4538e
WorkerCoordination and GetSession API refactoring ( #354 )
...
* Possible api changes.
* Worker API update.
* Updating import alias name.
* Moving session down a level as a member of the GetSessionResponse.
* Marshal the auth flag into the GetSessionResponse proto instead of the session.
2020-09-12 21:54:18 -07:00
Jeff Mitchell
41ed95bdec
Remove old-style pathing ( #353 )
2020-09-11 17:41:03 -04:00
Jeff Mitchell
f94f21fd97
Update API codes ( #336 )
2020-09-08 23:57:26 -04:00
Todd Knight
c3ecea172d
Generate new version of SDK resources and Add Tests ( #331 )
2020-09-08 16:27:51 -04:00
Todd Knight
1c2c078e0a
Adding Authz checks that support new pathing ( #328 )
2020-09-04 14:48:11 -07:00
Jeff Mitchell
23156afa11
Add in most of the proxy flow ( #326 )
2020-09-03 13:24:34 -04:00
Todd Knight
37e56ab46b
Pathing updated to support new and old styles ( #323 )
2020-09-02 19:43:41 -07:00
Todd Knight
544e78b593
Target Handler and SDK CRUDL & add|set|remove-host-sets methods. ( #310 )
2020-09-01 15:05:46 -07:00
Jeff Mitchell
c4522aa813
Update host sets and auth system to new paradigm ( #319 )
2020-09-01 12:31:54 -04:00
Todd Knight
0aba6db720
Enable Split Cookies ( #318 )
2020-09-01 09:23:41 -07:00
Jeff Mitchell
17ecb6f2ce
Separate accounts/host catalogs/host sets into their own packages ( #311 )
2020-08-27 20:43:33 -04:00
Jeff Mitchell
490be8a7e4
Add ability to skip role creation on scope create ( #308 )
...
* Initial work on scope creation skipping
* Fix things
2020-08-26 23:27:25 -04:00
Todd Knight
c4d3414016
Add Host Set CUDLR handler and SDK ( #290 )
2020-08-21 10:57:30 -07:00
Todd Knight
d5678c4f80
Handler for Host CRUDL actions ( #287 )
2020-08-20 08:20:26 -07:00
Todd Knight
d86e58476f
Version can be passed through request body ( #281 )
...
* Scopes inline version into update request body.
* Users inline version into update request body.
* Group inline version into update and add|set|remove member request body.
* Role inline version into update and add|set|remove grant|principal request body.
* Auth method inline version into update request body.
* Auth Account inline version into update request body.
* host catalog version is inlined for update.
* Gen after merge.
* Submitting template changes for version handling.
2020-08-18 17:38:38 -07:00
Todd Knight
e14f968fc3
Account (Set|Change)Passsword ( #267 )
2020-08-17 09:37:15 -07:00
Jeff Mitchell
203e2b5dc2
Initial worker porting steps ( #232 )
2020-08-12 00:40:39 -04:00
Jeff Mitchell
4cfab04307
Migrate user name to login name ( #255 )
2020-08-11 17:25:00 -04:00
Jeff Mitchell
78d7f539c5
Add versioning to host catalogs/sets/hosts and fix up tests ( #247 )
...
* Start adding version to host resources and fixing up tests
* Add versioning to host resources and update API tests
* Fix nil in test
* Add missing update
2020-08-11 11:20:06 -04:00
Jeff Mitchell
565059ed63
Add versioning to auth methods and accounts ( #249 )
2020-08-11 11:19:29 -04:00
Jeff Mitchell
6661117d4c
The name. The name. The name!
2020-08-10 17:15:02 -04:00
Jeff Mitchell
0c18e35b9d
Fix group service proto for versions
2020-08-08 19:27:49 -04:00
Jeff Mitchell
827d86bef1
Update API role tests and fix the structure of the protos so versioning works
2020-08-08 17:46:41 -04:00
Jeff Mitchell
908a299ea3
Convert SDK to the new options API ( #238 )
2020-08-07 12:55:02 -04:00
Todd Knight
b7bf76a9ba
Auth Method API Handler for CRUDL (not updating password specific fields)( #239 )
2020-08-06 12:50:20 -07:00
Todd Knight
e5ec1f48b2
Account API handler for CRDL operations ( #228 )
2020-08-05 10:19:55 -07:00
Todd Knight
f47046f158
Update Watchtower to use grpc-gateway v2 ( #204 )
...
* Migration to grpc gateway v2.
2020-07-23 11:26:15 -07:00
Todd Knight
6de1f7ee16
Auth Token Read/List/Delete handler and Go SDK ( #199 )
...
* Creating Auth Token Get List and Delete API.
2020-07-23 09:53:37 -07:00
Todd Knight
ed05652729
Add Handlers for Add/Set/Remove Group Members ( #209 )
...
* Adding members to groups.
* Adding Group membership handler and API methods.
* Adding custom methods to permision actions list.
2020-07-22 15:10:21 -07:00