Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

emit entity change events #629

Closed
Russell-Allen opened this issue Apr 9, 2021 · 1 comment · Fixed by #1440 or #1449
Closed

emit entity change events #629

Russell-Allen opened this issue Apr 9, 2021 · 1 comment · Fixed by #1440 or #1449
Labels
controller enhancement New feature or request

Comments

@Russell-Allen
Copy link

There is no mechanism that I am aware of for an integration to observe ziti entities for change (other than polling the controller API.)

As an integrator, I'd like to be able to 'subscribe' to receive change events such that whenever an entity matching my subscription is modified (created, updated, deleted), then my integration is notified.

Notification mechanism could be via web socket, web hook, or simply written to a journal file which can be monitored by a co-located process (ie filebeat.)

Subscriptions filters: by entity type? include system entities yes/no? by change type (creates y/n, updates y/n, deletes y/n)? I'm not sure if there would need to be some abstract 'level' filter to eliminate noise ... as in, level=primary would only event if an entities main properties were changed and would ignore noise in tertiary properties.

Ideally the event would contain some form of identifier of who initiated the change as well as an indication of the changed values (plus the obvious entity type and id.)

@andrewpmartinez andrewpmartinez added controller enhancement New feature or request labels Apr 21, 2021
@Russell-Allen
Copy link
Author

This is becoming an urgent need.

With the introduction of tunneler enabled routers, Ziti now creates, updates and deletes Identities and Edge Router Policies on its own. Without change events, any integration platform must constantly poll the controller management API and perform an expensive full scan to compare the platforms version of truth to that of Ziti.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
controller enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants