Andrew Martinez
1919b6b5a4
Merge branch 'main' into posture.multi.process
2021-04-28 11:08:28 -04:00
Andrew Martinez
41ff14688d
add PROCESS_MULTI to posture check types
2021-04-28 11:02:55 -04:00
Paul Lorenz
d313d39a80
When empty router name specified, return 4xx error instead of 5xx error
2021-04-23 14:18:40 -04:00
Shawn Carey
deef2bba6a
Fix issues with host.v1 config type schema ( #640 )
...
- require "low", "high" properties in portRange
- fixed allowedAddresses item type in json schema docs
2021-04-23 09:39:29 -04:00
Andrew Martinez
54af8801e7
adds posture check type PROCESS_MULTI
...
- adds a new posture check for dealing with multiple processes
- supports anyOf and allOf semantics
- does not require new posture responses, current process responses
suffice
- tests
2021-04-20 08:52:23 -04:00
Paul Lorenz
503e320b58
Fix file name
2021-04-14 16:10:22 -04:00
Paul Lorenz
fa56d0f487
Add test for cursor on-delete issue
2021-04-14 16:10:21 -04:00
Shawn Carey
0c281d998b
corrected definitions in host.v1
2021-04-13 08:01:12 -04:00
Shawn Carey
2110aba5c1
host.v1 configuration type schema changes ( #631 )
...
- Rename host.v1 dialIntercepted* properties to forward*
- Add allowed* properties to whitelist destinations that are dialed via forward*
- Add allowedSourceAddresses, which serves as a whitelist for source IPs/CIDRs and informs the hosting tunneler of the local routes to establish when hosting a service
2021-04-13 07:48:47 -04:00
Paul Lorenz
34c91e480c
Propagate router renames to fabric. Lookup identity by id, not name
2021-04-08 12:52:21 -04:00
Paul Lorenz
b493cce490
Add app data to identity and edge router. Add isSystem to ERP
2021-04-06 10:07:57 -04:00
Paul Lorenz
8f6234842e
Add per-service identity hosting precedence/costs
2021-04-06 09:51:22 -04:00
Paul Lorenz
038e9bdd91
Add support for host.v1. Add health checks to host.v1. Add host.v2 (multiple terminators). Add support for health events.
2021-03-25 15:43:07 -04:00
Andrew Martinez
27a361f776
check nil cursors for policy iteration
2021-03-24 14:06:09 -04:00
Paul Lorenz
680852f80e
Allow tunnel to run over xgress directly
2021-03-22 14:33:54 -04:00
Paul Lorenz
8f02a817af
Merge pull request #595 from openziti/remove-old-db-migrations
...
Remove migration data for versions prior to 0.17.1
2021-03-19 10:51:53 -04:00
Paul Lorenz
ec91503b7c
Remove migration data for versions prior to 0.17.1
2021-03-18 15:52:10 -04:00
Andrew Martinez
623681db87
add lastActivityAt
...
- as updates to API Sessions can now happen later than the last time
they were active, updatedAt is no longer the correct representation of
the last activity an API Session had
- move all logic that used updatedAt to lastActivityAt
- add migration to set lastActivityAt
2021-03-17 13:49:12 -04:00
Michael Quigley
3cfbe17c5b
Support for bbolt tracing.
2021-03-17 10:50:46 -04:00
Paul Lorenz
9df72e9627
Update deps and update for foundation api change
2021-03-08 13:18:52 -05:00
Paul Lorenz
ba97da239f
Update for system entity changes
2021-03-03 14:51:28 -05:00
Paul Lorenz
735eb1d80f
Move ApiError and FieldError to foundation
2021-03-03 14:44:26 -05:00
Paul Lorenz
8a160d93b1
Fix update terminator. Add test for terminator updates. Remove unused store_events
2021-02-26 09:04:32 -05:00
Andrew Martinez
5ec44c3d3e
add migration to remove api sessions/sessions on migration from 18->19
2021-02-19 09:54:55 -05:00
Andrew Martinez
35fa25d5af
use ast.BoolNodeTrue
2021-02-09 13:55:03 -05:00
Andrew Martinez
46166db9cc
fixes orphaned ottca enrollments
...
- deletes ottca enrollment when CA is deleted
- adds API tests
- adds migration to remove currently orphaned ottca enrollments
- migration tested on a v15 database with orphaned ottca enrollments
2021-02-09 13:55:03 -05:00
Andrew Martinez
c23bf9dbcf
fixes os PATCH for posture checks
...
PATCH requests were clearing OS fields as they were not respecting field
checker results.
2021-02-05 14:56:23 -05:00
Andrew Martinez
4051c47dd5
Merge branch 'main' into mfa
2021-01-26 13:52:59 -05:00
Paul Lorenz
891d8eb5ce
Add service events when configs are updated/deleted. Add service events test
2021-01-19 14:30:34 -05:00
Andrew Martinez
308d7f3a10
mfa initial
...
- add mfa read endpoints
- add mfa enroll enpoints
- fix mfa library timing issues
- adds mfa at tests
- adds admin mfa management endpoints
- adds admin mfa at tests
- improve at tests
- fix auth check vs auth query
- fix swagger for auth queryies
- fix swagger doc
- adds more api tests for validation
- redo auth query structure
- redo mfa endpoints
- move mfa verify to authenticate router:wq
- add recovery code support and tests
- add partial session authentication status
2021-01-19 08:36:27 -05:00
Andrew Martinez
65be49c609
Add appId and appVersion to sdkInfo
2021-01-18 10:38:43 -05:00
Paul Lorenz
803eb5d5d6
Move service policy enforcer to use service events
2021-01-15 15:28:59 -05:00
Paul Lorenz
2194d8a2e2
Implement service change notifications
2021-01-15 15:28:59 -05:00
Paul Lorenz
5efbbf0942
Add health check implementation for tunnelers and add default hosting precedence and cost to identity
2021-01-12 11:00:43 -05:00
Andrew Martinez
a3789c063a
adds support of API Session Certificates
...
- adds ability for any authenticated API Session to create ephemeral
certificates
- allows UPDB session connection
- adds create/delete/read of current api session certificates
- add session cert pem result on create and detail
- fixes ER not updating sessions with new certs from API session
- fixes naming of session vs apiSession on members, functions, etc
- organizes ER state manager functions into apiSession vs session
- adds api session ids to api sessions and sessions sent from the
controller to ERs
- ensure api and ns fingerprints are the same
- filter api session certs by valid periods
- clarify fingerprint func naming
2021-01-06 09:42:57 -05:00
Andrew Martinez
e0cf6a7ea5
fixes #397 and fixes #398
...
- isSigner is removed as it is not used
- process binary and signer hashes are case insensitive
2020-11-11 14:09:09 -05:00
Andrew
53f702c212
Merge pull request #369 from openziti/add.online.status
...
Add.online.status
2020-10-31 08:35:39 -04:00
Andrew Martinez
ac187ffa99
posture check implementation
...
- fix testing bugs
- remove testing timout function setters
- fixes deadlock due to posture data timeouts
- fix replace statements
- use map for posture data change tracking
2020-10-29 09:10:15 -04:00
Shawn Carey
4bb404e953
Ziti tunnel.cfgtype.v2.0 ( #357 )
...
* add client.v2.0 tunneler configuration type.
* renamed cfgtype
* set db version to 14
* added host.v1 configuration type
2020-10-26 12:14:29 -04:00
Andrew Martinez
7cc95e3456
fixes #372 ensures v13 dbs have posture check types
...
- adds posture check types to init
- on v12/v13 migrations, posture check types are checked and added if
necessary
2020-10-21 11:40:06 -04:00
Andrew Martinez
c726f158d6
fixes #365 adds hasApiSession and hasEdgeRouterConnection
2020-10-20 15:00:22 -04:00
Andrew Martinez
568eb129c7
address PR comments
...
- remove unused property: type
- add service policy plumbing for postureCheck roles
- add denomralization for posture check roles
- make encryptionRequired flag reqquired
2020-10-13 17:03:26 -04:00
Andrew Martinez
5e834504ec
adds Edge API routing
...
- adds mocked posture data for identities
- refines OS
- adds migrations for posture check types
2020-10-13 08:20:57 -04:00
Andrew Martinez
4fc4aee36c
swagger def for posture checks and types
...
- polymorphic posture checks with copied base entity properties
- go-swagger 0.25 generated api
2020-10-12 07:37:19 -04:00
Paul Lorenz
50bc204dd5
Add edge terminator validator
2020-09-29 09:27:05 -04:00
Paul Lorenz
50c6b3e4b3
Support identity dial/bind
2020-09-29 09:27:03 -04:00
Andrew Martinez
6814db98c1
adds public ip address for #226
2020-09-09 10:42:20 -04:00
Paul Lorenz
734e9a5542
Fix service policy migration. Update for terminator precendence changes. Log panic stacks. Fixes GH-291
2020-09-03 10:22:27 -04:00
Paul Lorenz
c179f87538
Improve session create performance. Closes GH-281
2020-08-20 12:35:04 -04:00
Paul Lorenz
e2ad712948
Add edge session events API. Closes GH-229
2020-08-11 14:00:57 -04:00