From d100245319a2f551f1f804301b33e6e4f662ef69 Mon Sep 17 00:00:00 2001 From: Paul Lorenz Date: Mon, 8 Nov 2021 14:48:31 -0500 Subject: [PATCH] Update deps and changelog --- CHANGELOG.md | 24 ++++++++++++++++++++++++ etc/ctrl.with.edge.yml | 1 + go.mod | 8 ++++---- go.sum | 14 ++++++++------ 4 files changed, 37 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 882f3223f..51eabc5d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +# Release 0.22.11 + +# What's New + +* Feature: API Session Events + +## API Session Events + +API Session events can now be configured by adding `edge.apiSessions` under event subscriptions. The events may be of type `created` and `deleted`. The event type can be filtered by adding an `include:` block, similar to edge sessions. + +The JSON output looks like: + +``` +{ + "namespace": "edge.apiSessions", + "event_type": "created", + "id": "ckvr2r4fs0001oigd6si4akc8", + "timestamp": "2021-11-08T14:45:45.785561479-05:00", + "token": "77cffde5-f68e-4ef0-bbb5-731db36145f5", + "identity_id": "76BB.shC0", + "ip_address": "127.0.0.1" +} +``` + # Release 0.22.10 # What's New diff --git a/etc/ctrl.with.edge.yml b/etc/ctrl.with.edge.yml index 656bcc8b6..e0c12f242 100644 --- a/etc/ctrl.with.edge.yml +++ b/etc/ctrl.with.edge.yml @@ -66,6 +66,7 @@ mgmt: # - type: edge.sessions # include: # - created +# - type: edge.apiSessions # - type: fabric.usage # - type: services # - type: fabric.usage diff --git a/go.mod b/go.mod index 0e4417b88..e9f60f10f 100644 --- a/go.mod +++ b/go.mod @@ -34,10 +34,10 @@ require ( github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d github.com/keybase/go-ps v0.0.0-20190827175125-91aafc93ba19 github.com/michaelquigley/pfxlog v0.6.3 - github.com/openziti/edge v0.20.120 - github.com/openziti/fabric v0.16.124 - github.com/openziti/foundation v0.16.3 - github.com/openziti/sdk-golang v0.15.112 + github.com/openziti/edge v0.20.122 + github.com/openziti/fabric v0.16.125 + github.com/openziti/foundation v0.16.4 + github.com/openziti/sdk-golang v0.15.113 github.com/pborman/uuid v1.2.0 github.com/pkg/errors v0.9.1 github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 diff --git a/go.sum b/go.sum index 3e8db09b6..b8ddc18ba 100644 --- a/go.sum +++ b/go.sum @@ -759,14 +759,16 @@ github.com/openziti/bbolt v1.3.6-0.20210317142109-547da822475e h1:ST9+54UtCr96S5 github.com/openziti/bbolt v1.3.6-0.20210317142109-547da822475e/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= github.com/openziti/dilithium v0.3.3 h1:PLgQ6PMNLSTzCFbX/h98cmudgz/cU6TmjdSv5NAPD8k= github.com/openziti/dilithium v0.3.3/go.mod h1:vsCjI2AU/hon9e+dLhUFbCNGesJDj2ASgkySOcpmvjo= -github.com/openziti/edge v0.20.120 h1:fSM4t7U3430DMyahwiAsLHqv37PGxCjKSPkLoz1MVfA= -github.com/openziti/edge v0.20.120/go.mod h1:2f3YflD5gLAu7iOHsAUiVt2J76EdRF7THnjhsiFyK1k= -github.com/openziti/fabric v0.16.124 h1:JtvHqQ/9Ez/HqhY4wAdaRQvv1mL77KmyyYJRffFMbWo= +github.com/openziti/edge v0.20.122 h1:ima+/9ZAsV3kyrwhWb3PqeNaQNYmmZK5wlTijnWghWM= +github.com/openziti/edge v0.20.122/go.mod h1:45pv86sSuG0qv6BVCEAayH6pbciJ3VQWqMN5ZQ50mBA= github.com/openziti/fabric v0.16.124/go.mod h1:FmFJ+1t4igiXHSAyFj2xXhpQZhCQrGdGfzN/vZ3MmtE= -github.com/openziti/foundation v0.16.3 h1:E3MSnqD0qvkjsCW/tXEkWaXRbsuamdkS61aPsGIRYZQ= +github.com/openziti/fabric v0.16.125 h1:nJXtqszV4NBVkkyu/3KnqSPD9ryNpl6lvu27h7Fmu8Y= +github.com/openziti/fabric v0.16.125/go.mod h1:5tewBNJNBGa2Yi9v46oSIgmvmV/CR8MIy0uFkoahYY0= github.com/openziti/foundation v0.16.3/go.mod h1:I2wfnrkaL5G8iWfRCvHRnPDT5PHJUcw0N9hE0s/f+b0= -github.com/openziti/sdk-golang v0.15.112 h1:YqIGp0Gd7keFDLUknX/ZuOa+uTBz6rf+hJeeD18/xZs= -github.com/openziti/sdk-golang v0.15.112/go.mod h1:7lxoSs3jQYyiGMuorfuzMM3vclcKWahYBHFipDivXiI= +github.com/openziti/foundation v0.16.4 h1:A2lrHbfDMjugxPzG1QLTN1JS7IECkoVlzU5D047aQq4= +github.com/openziti/foundation v0.16.4/go.mod h1:ZplfBuJd7oyvWc+X+Y6+nlb2yxWim8uH/r9SpYkYS+w= +github.com/openziti/sdk-golang v0.15.113 h1:ZE9Kfd9nU1KlSLTCCK3HioF6lpGZQEio3PdYJyzl12w= +github.com/openziti/sdk-golang v0.15.113/go.mod h1:R7adj9ForENBPNTOOkm/OIm2kz01cwO1C/ZzQSaMC0c= github.com/oracle/oci-go-sdk v24.2.0+incompatible/go.mod h1:VQb79nF8Z2cwLkLS35ukwStZIg5F66tcBccjip/j888= github.com/orcaman/concurrent-map v0.0.0-20190826125027-8c72a8bb44f6/go.mod h1:Lu3tH6HLW3feq74c2GC+jIMS/K2CFcDWnWD9XkenwhI= github.com/orcaman/concurrent-map v0.0.0-20210106121528-16402b402231 h1:fa50YL1pzKW+1SsBnJDOHppJN9stOEwS+CRWyUtyYGU=