Problem Statement
Is it possible to be notified whenever a connection is created, changed, or deleted? We want to be able to trigger certain actions in our system when such events occur.
Solution
You can set up a log stream and filter for management API events. Ref: Log Stream Filters
To filter successful operations, set filter: Management API - Success
The successful create, update, and delete events will all be of log type sapi
. You can use the description
log attribute to determine the specific event.
Here is a list of the description values for each operation:
Create: “Create a connection”
Update: “Update a connection”
Delete: “Delete a connection”