Commit Graph

313 Commits (5fe40bc7bd200788e34d8bcf4ce1dfd1da5bbad2)

Author SHA1 Message Date
Jeff Mitchell 8d8a7358f8
Add AdditionalVerification function (#423)
6 years ago
Todd Knight 278902db1a
Allow target type field to be included in an update. (#412)
6 years ago
Todd Knight 2f8d7f0a32
API Errors: Hide and log internal errors (#411)
6 years ago
Jeff Mitchell dd06615c2e
Add database initialization command (#400)
6 years ago
Jeff Mitchell 7e3c174b70
Disallow deletion of r_default (#398)
6 years ago
Jeff Mitchell f25186f78a
Standardize on one spelling of "canceled" (#399)
6 years ago
Jeff Mitchell 6a09e0966e Fix some broken tests that were expecting nil but are now getting an empty struct
6 years ago
Todd Knight 21f5cc274f
Don't return nil, nil for API service methods. Add tests for updating w/ wrong version. (#396)
6 years ago
Jeff Mitchell 1adbe64160
Update some tests that are failing due to 300 nano difference in time comparisons between create and lookup (#393)
6 years ago
Jeff Mitchell 27d728875c
Cleanup session state enum (#394)
6 years ago
Jeff Mitchell 5747ea603e Fix nil pointer with revamped chosen host ID logic
6 years ago
Jeff Mitchell 9cbc7b5c3d
Add connection close call from worker to controller (#387)
6 years ago
Jeff Mitchell 7ff4b7f106
Send connected RPC to controller (#386)
6 years ago
Jeff Mitchell 4669c95999
Pass more session info around, make proxy UX nicer (#385)
6 years ago
Todd Knight e937b0ea27
Sessions Read/List/Cancel API and SDK (#369)
6 years ago
Jeff Mitchell f7e48ec836
Plumb connection limit to proxy and output it (#384)
6 years ago
Jeff Mitchell 697ea561e0 Fix breakage from dual merges
6 years ago
Jeff Mitchell edffc7863d
Change connection limit to -1 for unlimited so it works with TF (#383)
6 years ago
Jeff Mitchell 5214f14105
Work on connection authorization (#381)
6 years ago
Jeff Mitchell 5bf555cca2
Remove connection idle timeout seconds for now (#379)
6 years ago
Jeff Mitchell e002326293
Plumb timeouts to worker and set appropriate deadlines (#378)
6 years ago
Jeff Mitchell 0a3f9b8357
Rename connection idle timeout duration -> seconds and sessions max duration -> seconds (#376)
6 years ago
Jeff Mitchell 62baef1b7e
Add multi connection parameters through targets and into session creation (#375)
6 years ago
Jeff Mitchell 07a7e9750a
Tie together the database-driven session handling with the worker and add relevant CLI comands (#370)
6 years ago
Jeff Mitchell ff8ce053e1 Don't try to recreate resources when adding test cluster members
6 years ago
Jim 611288bdc7
basic sessions (#337)
6 years ago
Jeff Mitchell a67d5c8abb When logging urls, also log method
6 years ago
Jeff Mitchell 37e9fed2e3
Allow not destroying dev databases (#366)
6 years ago
Jeff Mitchell c4e2b88022
Add database URL. (#365)
6 years ago
Todd Knight f96fa25157
Add Auth Account id to Auth Token response (#363)
6 years ago
Jeff Mitchell f4ad22b247
Move default port to a TCP target attribute (#361)
6 years ago
Jeff Mitchell eb88d0381a Fix default port update handling
6 years ago
Jeff Mitchell a00ee7a948
Add Result types to Go SDK and properly populate body/map fields (#358)
6 years ago
Jeff Mitchell 6201357902
Use scope-specific token DEKs (#342)
6 years ago
Todd Knight b998591add
Adding and updating host address validation checks (#350)
6 years ago
Todd Knight 33e7b4538e
WorkerCoordination and GetSession API refactoring (#354)
6 years ago
Jeff Mitchell 2914b4c14c
Use base58 for a few more user-facing values (#356)
6 years ago
Jeff Mitchell 41ed95bdec
Remove old-style pathing (#353)
6 years ago
Jeff Mitchell 60396e4384
Properly populate ScopeInfo from group member actions (#340)
6 years ago
Jeff Mitchell f8237fb945 Move some packages into SDK, out of internal
6 years ago
Jeff Mitchell f94f21fd97
Update API codes (#336)
6 years ago
Todd Knight 99d5456d7a
Scopes type field and types in updates allowed (#335)
6 years ago
Todd Knight c3ecea172d
Generate new version of SDK resources and Add Tests (#331)
6 years ago
Todd Knight 1c2c078e0a
Adding Authz checks that support new pathing (#328)
6 years ago
Jim 3d944a616f
fix name typo (#330)
6 years ago
Jeff Mitchell 23156afa11
Add in most of the proxy flow (#326)
6 years ago
Todd Knight c55153ff3d
Fix allowed scope checks and added tests for creating in global scope. (#327)
6 years ago
Todd Knight 37e56ab46b
Pathing updated to support new and old styles (#323)
6 years ago
Todd Knight 544e78b593
Target Handler and SDK CRUDL & add|set|remove-host-sets methods. (#310)
6 years ago
Todd Knight 24ec9620ca fix: Correct missed name updates to OutgoingInterceptor.
6 years ago
Jeff Mitchell c4522aa813
Update host sets and auth system to new paradigm (#319)
6 years ago
Todd Knight 0aba6db720
Enable Split Cookies (#318)
6 years ago
Jeff Mitchell 20aef738c4
Add host-catalogs CLI command. (#312)
6 years ago
Jeff Mitchell 17ecb6f2ce
Separate accounts/host catalogs/host sets into their own packages (#311)
6 years ago
Jeff Mitchell 274afa6b02
Shave off an IAM lookup if the user is the anonymous user (#305)
6 years ago
Jeff Mitchell b53812a5c1
Add ability to skip automatic auth method creation (#306)
6 years ago
Jeff Mitchell 490be8a7e4
Add ability to skip role creation on scope create (#308)
6 years ago
Todd Knight e4da5e9ab5
add|set|remove-hosts for host-sets SDK and API (#304)
6 years ago
Michael Gaffney 9ca8a4ec20
Host set members (#301)
6 years ago
Jeff Mitchell 39721047e4 Fix CORS test
6 years ago
Jeff Mitchell 8f579c75c3
paum -> ampw (#303)
6 years ago
Jeff Mitchell 74544f6324
Encrypt tokens on the way out and decrypt on the way in (#302)
6 years ago
Jeff Mitchell ac4d9fa311
Add nonce storage and replay prevention test (#293)
6 years ago
Jeff Mitchell a1490228b8 Add address to worker status tracing
6 years ago
Todd Knight c4d3414016
Add Host Set CUDLR handler and SDK (#290)
6 years ago
Todd Knight e423b6589e
Request Validation logic moved into a helper (#296)
6 years ago
Jeff Mitchell b47cca0329
Add (non-db aspects of) the recovery key workflow (#286)
6 years ago
Todd Knight d5678c4f80
Handler for Host CRUDL actions (#287)
6 years ago
Todd Knight 7474e956dd
List Catalogs for Repo and API Handler (#288)
6 years ago
Jim 9570897032
basic keys mgmt repo (#264)
6 years ago
Todd Knight eaae887bbe
Don't require type for children of subtyped resources. (#285)
6 years ago
Todd Knight d86e58476f
Version can be passed through request body (#281)
6 years ago
Jeff Mitchell 282177afc2
Remove the default org (#270)
6 years ago
Todd Knight e14f968fc3
Account (Set|Change)Passsword (#267)
6 years ago
Jeff Mitchell 7b36571788
Change auth validity feedback (#273)
6 years ago
Todd Knight 23b437894a
Masks can now update attribute fields. (#271)
6 years ago
Jeff Mitchell fff15bc9f3 Rename KMS purpose 'controller' to 'root'
6 years ago
Jeff Mitchell bb6b189513
Create a default role on new scope creation (#265)
6 years ago
Jeff Mitchell e89e9d1349
Add groups CLI command (#266)
6 years ago
Jeff Mitchell 5d104a7a01 Migrate off Vault's internalshared folder to the separated-out repo
6 years ago
Todd Knight 245c7fbb44
Add Account Update handler (#257)
6 years ago
Jeff Mitchell 203e2b5dc2
Initial worker porting steps (#232)
6 years ago
Jeff Mitchell 73a38b1433
Remove some unneeded resource types and fix the resource typing for default role in global scope (#256)
6 years ago
Jeff Mitchell 4cfab04307
Migrate user name to login name (#255)
6 years ago
Jeff Mitchell 78d7f539c5
Add versioning to host catalogs/sets/hosts and fix up tests (#247)
6 years ago
Jeff Mitchell 565059ed63
Add versioning to auth methods and accounts (#249)
6 years ago
Jeff Mitchell 6661117d4c The name. The name. The name!
6 years ago
Jeff Mitchell 0c18e35b9d Fix group service proto for versions
6 years ago
Jeff Mitchell 827d86bef1 Update API role tests and fix the structure of the protos so versioning works
6 years ago
Jeff Mitchell bbd200101f
Move update versioning to query parameter, and fix up scope API tests (#244)
6 years ago
Jeff Mitchell 0d0660b061 Fix some tests I broke
6 years ago
Jeff Mitchell df4730b1a0
Minor fixes and first API test changeover (#243)
6 years ago
Todd Knight f84991c0f1
Use authenticate and Auth Method repo functions (#242)
6 years ago
Jeff Mitchell 908a299ea3
Convert SDK to the new options API (#238)
6 years ago
Todd Knight b5acf6afdf
Connecting the auth method service to the api handler. (#241)
6 years ago
Todd Knight b7bf76a9ba
Auth Method API Handler for CRUDL (not updating password specific fields)(#239)
6 years ago
Todd Knight e5ec1f48b2
Account API handler for CRDL operations (#228)
6 years ago
Todd Knight f47046f158
Update Watchtower to use grpc-gateway v2 (#204)
6 years ago
Todd Knight 6de1f7ee16
Auth Token Read/List/Delete handler and Go SDK (#199)
6 years ago
Todd Knight ed05652729
Add Handlers for Add/Set/Remove Group Members (#209)
6 years ago
Todd Knight 078376da07 Fixing some errors.
6 years ago
Jeff Mitchell e8325a9f59
Don't rely on token for scopes collection actions (#210)
6 years ago
Jeff Mitchell 388a13b10d
Convert scopes to the new paradigm (#206)
6 years ago
Todd Knight 168ae3a726
Create MaskManager to guarantee wire/storage update mask consistency (#121)
6 years ago
Todd Knight 5bb13e71fe
Include Principals and Grants on Roles When Updating the Role. (#203)
6 years ago
Jeff Mitchell 99653727bb
Migrate grants to more structured output (#194)
6 years ago
Jeff Mitchell 1a1d3058c9
Move verification to a shared package (#197)
6 years ago
Todd Knight 28dbcd84bd
Authenticate Handler API and SDK, and much more (#183)
6 years ago
Jeff Mitchell acce195dcb
Organizations -> orgs consistency (#189)
6 years ago
Jim e1afed75ff
fix dbMask and role tests... (#188)
6 years ago
Todd Knight 847ca1cc78
Grant management added to Roles API and SDK (#185)
6 years ago
Jeff Mitchell f30d4d08ef
Pass grant scope ID through API handlers (#184)
6 years ago
Jeff Mitchell bcdcaffa6f
Port over 162 and 165 to master (#176)
6 years ago
Todd Knight 1ddc59f81e
Adding principal custom methods to roles handler. (#180)
6 years ago
Todd Knight 2ce9affeea
Don't use repo to check impossible token requests and repo doesn't return error on token value mismatch. (#171)
6 years ago
Jeff Mitchell 4decf9502a Fix handler test by moving it to a new file with a build tag
6 years ago
Jeff Mitchell 8987d8d435
Separate out ui handler under build tag (#170)
6 years ago
Todd Knight c44a4c4795
Tools for auth token interception and authentication (#152)
6 years ago
Todd Knight bb4a185412
Pushing test db cleanup up to where the database objects are created using t.Cleanup. (#166)
6 years ago
Todd Knight c017da7087
Add ListUsers handler implementation. (#160)
6 years ago
Jeff Mitchell c965cf1bc5
Attempt to fix content-length header in index (#159)
6 years ago
Todd Knight 9a1539867e
Adding SDK ability to do CRUD operations on groups and roles under the project scope. (#157)
6 years ago
Jeff Mitchell 8da4effd5e
Add mechanism for bundling UI assets. (#153)
6 years ago
Todd Knight 8399764442
Roles and Groups Handlers Support Project Scope (#154)
6 years ago
Todd Knight 08e9a027fa
API for authenticate/deauthenticate (#151)
6 years ago
Jeff Mitchell d8f11af4d7
Move actions, resource (types), and scopes to packages. (#149)
6 years ago
Jeff Mitchell 9d1d0ba08e
Simplify UI passthrough logic (#148)
6 years ago
Jeff Mitchell 8de5371499
Enable UI handling logic with dev passthrough directories. (#145)
6 years ago
Jeff Malnick 6c2a17c845
feat: use root path for passthrough (#141)
6 years ago
Todd Knight a02222c1f0
Adding List functionality for projects. (#140)
6 years ago
Todd Knight 766c174fe9
Implement List Groups (#133)
6 years ago
Todd Knight 5b1e4a680d
Create Role CUDLR API and SDK (#135)
6 years ago
Todd Knight 0a0d37668d
Org List and Get API Methods (#132)
6 years ago
Todd Knight 6ea448a7f3
Adding Groups API endpoint and SDK (#122)
6 years ago
Todd Knight df6ca5289f
Create User Service Handler and SDK (#106)
6 years ago
Todd Knight 2c3fbe3024
Invalid Argument errors provide per field details. (#110)
6 years ago
Todd Knight 6804c98b0b
Applying Host Catalog comments to Projects (#105)
6 years ago
Todd Knight 7f6e78e66e
Handler hostcatalogs (#86)
6 years ago
Todd Knight 40c14d8232
Adding field names into the table driven test and removed zero values. (#85)
6 years ago
Todd Knight 6dd083fa42
Change 501 errors to 405 (#80)
6 years ago
Todd Knight 44152ae63e
Add API Error Handler (#74)
6 years ago
Jeff Mitchell 1e78d01c6b Fix panic in handler test by providing empty config
6 years ago
Jeff Mitchell 374a3991a2
Add a passthrough directory feature. (#76)
6 years ago
Jeff Mitchell fafdcbbfa4
CORS support (#73)
6 years ago
Todd Knight ba00b511e7
Add Project Delete to API (#66)
6 years ago
Todd Knight 95d29c3e95
Allow the TestController to be referenced externally (#65)
6 years ago
Todd Knight 7f0dfa2344
Fix Update Project Logic (#54)
6 years ago
Todd Knight ff705bf3b2 Revert "Allow the TestController to be used outside of our module."
6 years ago
Todd Knight e1010ba055 Allow the TestController to be used outside of our module.
6 years ago
Jim 980a55a4e3
Added DeleteScope() with tests and TestVerifyOplog() for easier testing (#49)
6 years ago
Jim ee46266893
ErrRecordNotFound from LookupWhere() when no rows found (#59)
6 years ago
Jeff Mitchell f8b456f3a7
Add TestController (#50)
6 years ago
Jeff Mitchell f287a268e8 Update project service against changed repo
6 years ago
Todd Knight c0c6a9b0b8
Handler project (#44)
6 years ago
Jeff Mitchell 4d1b916348
Remove AllLoggers (#39)
6 years ago
Jeff Mitchell 6254e18698 Fix compilation of command
6 years ago
Todd Knight c7126ae69b
Static Catalog Api definition (#12)
6 years ago
Jeff Mitchell 5e82db8a2d Minor bugfixes and cleanup
6 years ago
Jeff Mitchell cad3c24f54
Add auth over ALPN (#5)
6 years ago
Jeff Mitchell 5acda6a0b1
Begin purpose-based listener refactoring (#4)
6 years ago
Jeff Mitchell 07032f6908
Refactoring and the worker is more distinct now (#3)
6 years ago
Michael Gaffney 5e5a56cac0
Refactor names to avoid stutter (#1)
6 years ago
Jeff Mitchell 482b4d56dd Initial commit
6 years ago