Commit Graph

225 Commits

Author SHA1 Message Date
Paul Lorenz db5c73b33b Refactor edge events to follow model established in fabric 2022-09-16 12:47:46 -04:00
Paul Lorenz 1f71f952d7 Update to usage v3 2022-09-16 12:41:36 -04:00
Andrew Martinez 60fc51253d fixes #1176 patching externalIdClaim on CA 2022-09-15 11:18:41 -04:00
Paul Lorenz 0d1dfb9779 Fixes for raft command encoding and decoding 2022-08-18 12:22:30 -04:00
Paul Lorenz 2e578ab784 Update identities to use raft commands. Fixes #1131 2022-08-09 14:58:23 -04:00
Paul Lorenz fc2ac0dee4 Add missing lock in events test 2022-08-04 10:14:39 -04:00
Paul Lorenz fe1b0463d7 Update authenticators to use raft commands. Fixes #1099 2022-08-04 10:14:21 -04:00
Paul Lorenz 1fb3339bb1 Update for changes to fabric events model 2022-07-19 11:18:08 -04:00
Paul Lorenz bae7e40b61 Update for foundation changes 2022-07-01 15:55:30 -04:00
Paul Lorenz 12df770d04 Update copyright 2022-06-30 17:45:08 -04:00
Andrew Martinez 39460988df adds identity enrollments endpoint
- removes unused details field
- adds tests, adds validation formats
2022-06-08 13:53:23 -04:00
Andrew Martinez 9ae2eb825c adds jwks support
- ext-jwt-signers now support jwks endpoints in addition to static
  certificates
- ext-jwt-signers now require either kid+cert or jkwsEndpoint
- ext-jwt-signers now requires issuer and audience fields
- jwksEndpoints are initially cached and will be revalidated on invalid
  auth once every 5s at most
- adds more external id tests
2022-06-07 09:57:22 -04:00
Andrew Martinez 0014b39f7e update xweb to v2 2022-06-06 14:33:42 -04:00
Paul Lorenz 2f6a3bc828 Update handler -> manager for base types and config 2022-06-02 00:05:54 -04:00
Paul Lorenz 7cf9dc135d Initial support for raft and command style architecture 2022-06-01 23:52:07 -04:00
Andrew Martinez 6fcde2ee3c fix scenarios where nil or non map is provided in data causes a panic
- fixes edge #1020
- adds higher level error
- adds store level error
2022-05-26 17:03:43 -04:00
Andrew Martinez c5f156dd9e adds x509 claims support for external ids to CAs
- adds REST API CA external id field
- adds rest api for external fields
- refactors authentication interfaces for federation
- alters authentication moduels to return AuthResult interfaces
- allows AuthResults to provide external x509 certs as session certs
2022-05-23 13:08:16 -04:00
Andrew a1d9aec518 Merge pull request #1010 from openziti/add.enrollment.create
adds the ability to create identity enrollments
2022-05-16 09:02:01 -04:00
Paul Lorenz 5a7e1a8cab Add goroutine pool metrics 2022-05-13 14:29:12 -04:00
Andrew Martinez 72729fd731 adds the ability to create identity enrollments 2022-05-12 12:40:49 -04:00
Paul Lorenz 2b2726ca32 Update to go 1.18 and transport/v2 2022-05-10 13:11:12 -04:00
Andrew de9cd7298f Merge pull request #985 from openziti/adds.authenticator.enrollment.reissue
Adds authenticato re-enrollment
2022-05-06 10:37:53 -04:00
Paul Lorenz 0243212f83 Use ZitiSession const from golang sdk instead of foundation (so we can remove it from foundation) 2022-05-02 17:20:03 -04:00
Andrew Martinez 3b9aeba68c move cert test out of updb test 2022-04-21 15:03:04 -04:00
Andrew Martinez fb1bff0083 adds re-enrollment for existing authenticators
- REST API Endpoints in Management API
- adds JWT to Management API enrollments endpoint
2022-04-21 15:01:28 -04:00
Andrew Martinez 642dec4c25 adds refresh expired enrollment logic and tests 2022-04-20 16:13:41 -04:00
Andrew Martinez 01bba9a4d1 fix test, shutdown lost transit router 2022-04-14 09:45:31 -04:00
Andrew Martinez 8d8a2503e4 fixes issues where external ids were not handled on display/update 2022-04-12 09:46:41 -04:00
Andrew c32fa95ca8 Merge pull request #961 from openziti/add.ext.jwt.aud.iss.checks
adds optional issuer and audience properties to ext jwt signers
2022-04-12 08:54:53 -04:00
Andrew Martinez 63f3971d25 adds patch tests for is admin 2022-04-08 13:45:45 -04:00
Andrew Martinez ec51635f26 adds optional issuer and audience properties to ext jwt signers 2022-04-06 15:48:17 -04:00
Paul Lorenz 01bea19e1f Update to use transport and storage libs. Use fabric config instead of foundation/config 2022-03-30 22:49:46 -04:00
Andrew Martinez e602a9da61 fixed missing property on detail for auth policies 2022-03-30 14:52:10 -04:00
Andrew Martinez ba84d2fae9 adds settable kid to ext jwt signers, fixes default auth policy 2022-03-30 13:51:23 -04:00
Andrew Martinez 5129f3c8d7 adds partial authentication enforcement
- required ext jwt signer requires bearer token on requests
- adds auth query output for ext jwt
- enforces requireTotp auth policy
- allows partial auth to setup MFA but not remove
2022-03-30 10:10:52 -04:00
Andrew Martinez 708dcfe0c9 adds auth policy / disabled identity auth logic 2022-03-29 14:26:04 -04:00
Andrew Martinez a34ae130b8 adds externalId, plumbs auth url, use external id
- adding tests and boundaries to values
- updating foundation
- squash, rebase
2022-03-28 10:54:27 -04:00
Andrew Martinez 99e3b283b6 adds auth policy CRUD, does not affect authentication 2022-03-25 14:40:07 -04:00
Andrew Martinez 3380807334 adds ext-jwt authenticator
- enables /authenticate?method=ext-jwt
- adds ext-jwt to OpenAPI schema
- rebase to main, squash
2022-03-08 10:01:38 -05:00
Paul Lorenz ce3b70ce2f Update for link changes 2022-03-07 14:23:35 -05:00
Andrew Martinez 3e5f08c99f adds cert authenticator extension endpoint
- adds endpoint POST /edge/management/v1/authenticator/{id}/extend
- adds endpoint POST /edge/management/v1/authenticator/{id}/extend-verify
- adds endpoint POST /edge/client/v1/authenticator/{id}/extend
- adds endpoint POST /edge/client/v1/authenticator/{id}/extend-verify
- add logic that allows a client endpoint to extend the valid period for
  their current certificate authenticator
- requires clients to use their existing client cetificate for extension
- requires clients to verify they have received the new public key
- allows clients to use a new private key if desired
- allows only 1st party certificate authenticators to extend
- adds authenticatorId to apiSession for persistence, model, api model
- add session cert to already authenticated session on extend
- removes empty test stub
2022-03-02 09:20:08 -05:00
Andrew Martinez d40f53d486 update comments, add patch updatedAt test 2022-02-10 11:06:54 -05:00
Andrew Martinez 52b0c7acab alters posture query updateAt to also indicate query state changes
- formerly posture queries only had an updatedAt time copied from the
  source posture check which. For MFA posture checks this is only
  correct when not using promptOnWake/Unlock
- prompt timer reductions due to wake/unlock now update postureQuery
  updatedAt values
- subsequent reconfigurations to the posture check (i.e. patching a
  posture check) is also taken into account - latest time.Time wins
- test for MFA posture check no longer use gabs and instead use the
  relevant input/output rest_model.* structures
2022-02-09 16:30:54 -05:00
Andrew Martinez 6d48a962de adds criteria output to service request failures for MFA posture checks
- adds all criteria for mfa evaluation to failure for model/REST API
2022-02-04 15:23:39 -05:00
Paul Lorenz f14ff5e0ed Update xgress edge to updated channel library/api 2022-01-31 22:24:38 -05:00
Andrew Martinez 1f784d89ce adds asynchronous eventer to controller
- emits events for processing progress/state for metric instrumentation
- emits events for eventual event backlog state for metrics
- alters Trigger() to return a channel that can be waited upon
- adds ability to add eventual events within a specific bbolt
  transaction
- splits session lookup and delete into view/update transactions
- add eventual event gauge
- use CascadeCreateUpdate
- adds named functions
- documentation for 500us timeout
- grammar fixes
2022-01-18 14:19:36 -05:00
Andrew Martinez cf20c2dfa8 adds api tests 2022-01-03 15:54:51 -05:00
Paul Lorenz a21b147b0b Add fabric auth tests 2021-12-01 16:12:29 -05:00
Paul Lorenz 96cdde0227 Enrolment -> Enrollment in spec 2021-11-10 13:19:08 -05:00
Andrew Martinez 1f9ca6878a changes client cert validation
- adds test for client cert validation expectations
- adds certificat authenticator create
2021-11-05 10:10:17 -04:00