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
Jim
2437cdcc8d
OIDC: add support for account claim maps ( #1186 )
2021-05-04 08:41:04 -04:00
Jim
25e657fa51
Ongoing OIDC: support to request additional OIDC scopes from the IdP ( #1175 )
2021-04-28 06:53:13 -04:00
Jim
75108cbc8b
Ongoing OIDC: return the primary account info along with the user. ( #1145 )
2021-04-20 20:33:56 -04:00
Jim
358f5a61fb
bump protoc to v3.15.8 ( #1147 )
2021-04-18 21:34:25 -04:00
Jeff Mitchell
be10cc4b42
Update grpc/proto deps ( #1136 )
...
* Update grpc/proto deps
* Make gen
2021-04-15 14:11:23 -04:00
Jim
f8f66abcf4
regen proto ( #1109 )
2021-04-13 17:10:14 -04:00
Jeff Mitchell
90b30bad25
Use 202 for token polling endpoint instead of 204 ( #1103 )
2021-04-12 14:57:14 -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
Jeff Mitchell
fcbf372881
Bump proto/grpc deps ( #1017 )
...
* Bump proto/grpc deps
* Back out buf change
* Run make gen
2021-03-20 16:12:01 -04:00
Jeff Mitchell
09e57a6624
Dep update: ( #955 )
...
* grpc-gateway and friends
* buf
* go-swagger
* protoc-gen-go-grpc/genproto
2021-02-22 12:46:00 -05: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
717a3b52ee
Add worker tagging ( #862 )
...
This allows workers to have tags assigned to them, which can then be filtered to control which targets they are allowed to serve.
2021-01-21 16:27:20 -05:00
Jeff Mitchell
dcb15cffbd
Add authorized actions output on resources ( #870 )
2021-01-20 10:53:01 -05:00
Jeff Mitchell
27919ab11b
Groundwork for returning authorized actions ( #860 )
...
This returns authorized actions on targets to users when they perform an operation on a target, including listing. It also prevents users from seeing values in listing targets on which they have no permissions.
2021-01-13 14:42:37 -05:00
Jeff Mitchell
84c617dc49
Run make gen after the gofumpt update
2021-01-08 10:32:02 -05:00
Michael Gaffney and Jeff Mitchell
94cb79bbdd
See how Boundary would look with gofumpt applied ( #853 )
...
* See how Boundary would look with https://github.com/mvdan/gofumpt applied
Results of running `gofumpt -w -s .`
* Update tools file and Makefile for gofumpt
Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com >
2021-01-07 10:02:32 -05:00
Jeff Mitchell
11b821a200
Bump deps ( #818 )
2020-12-15 14:56:41 -05:00
Jeff Mitchell
d4a6efb363
Pass endpoint to the client ( #811 )
...
This allows us to automatically set TLS parameters, useful for `boundary
connect http` and some other features to come.
2020-12-09 14:45:53 -05:00
Todd Knight
aa4157639c
Change Format of API Error ( #784 )
...
This is a wire breaking change for json errors since we have removed and renamed a few fields, and changed part of the structure of the returned json error.
* Remove redundant fields in Status, details.error_id, details.TraceId and details.request_id from API errors.
* Added wrapped errors and "ops" field to indicate the internal operation of the errors returned by the API.
* Added error cli error reporting of Op and wrapped errors.
2020-12-07 14:25:16 -07:00
Jeff Mitchell
a37ba007f2
Update deps ( #772 )
...
* Update deps
This also updates for the new (and required) paradigm for registering
service implementations as spelled out in
https://github.com/grpc/grpc-go/issues/3385
* Roll back dockertest
2020-11-11 14:41:05 -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
7f00e61ab0
Migrate to newer grpc utilities and bump deps ( #593 )
...
* Migrate to newer grpc utilities and bump deps
* Revert grpc back as it was an accidental tag
2020-10-09 13:18:53 -04:00
Todd Knight
abe5e9b950
Add Termination Reason ( #573 )
2020-10-07 21:37:30 -04:00
Jeff Mitchell
ae3a9e32cf
Remove proxy command
...
You can now use -authz-token in `boundary connect` which also allows
using the connect subcommands when you already have a token.
2020-10-07 21:30:44 -04:00
Jeff Mitchell
0c3d90fdd6
Erp, forgot to make gen
2020-10-05 11:03:48 -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
Jeff Mitchell
63224d094e
Make gen
2020-09-26 06:49:45 -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
446286e251
Bump deps ( #435 )
2020-09-25 17:09:07 -04:00
Jeff Mitchell
e86c11db62
Add session lifecycle info to controller's INFO log. ( #431 )
...
This required some plumbing, but nothing major.
2020-09-24 14:12:34 -04:00
Todd Knight
2f8d7f0a32
API Errors: Hide and log internal errors ( #411 )
2020-09-23 08:10:27 -07:00
Jeff Mitchell
33b0021547
Add Sessions CLI command and add session cleanup to worker ( #388 )
2020-09-21 02:22:59 -04:00
Jeff Mitchell
7ff4b7f106
Send connected RPC to controller ( #386 )
2020-09-20 23:09:42 -04:00
Jeff Mitchell
4669c95999
Pass more session info around, make proxy UX nicer ( #385 )
2020-09-20 21:18:07 -04:00
Todd Knight
e937b0ea27
Sessions Read/List/Cancel API and SDK ( #369 )
2020-09-20 20:22:57 -04:00
Jeff Mitchell
edffc7863d
Change connection limit to -1 for unlimited so it works with TF ( #383 )
...
* Migrate connection limit unlimited value to -1
* Fix authorization check
2020-09-20 15:53:49 -04:00
Jeff Mitchell
5bf555cca2
Remove connection idle timeout seconds for now ( #379 )
2020-09-19 14:01:49 -04:00
Jeff Mitchell
0a3f9b8357
Rename connection idle timeout duration -> seconds and sessions max duration -> seconds ( #376 )
2020-09-19 11:32:38 -04:00