Events
Flipt supports sending audit events to configured sinks. Audit events have the following structure:version
: the version of the audit event structure. We don’t expect too many changes to the structure of the audit eventtype
: the type of the entity being acted upon (flag, variant, constraint, etc.)action
: the action taken upon the entity (created, deleted, updated, etc.)metadata
: extra information related to the audit event as a whole. Theactor
field will always be present containing some identity information of the source which initiated the audit eventpayload
: the actual payload used to interact with theFlipt
server for certain auditable eventstimestamp
: the time the event was created
- Log File: the audit events are JSON encoded and new-line delimited. You can find the configuration in the Audit Events - Log File section of the Configuration documentation.
- Webhook: the audit events are sent to a URL of your choice. You can find the configuration in the Audit Events - Webhook section of the Configuration documentation.
Event Filtering
Starting from v1.27.0, you can specify configuration for which events you would like to receive on your audit sink. An always up to date list of events supported is available in our GitHub repository. Events are specified in the format ofnoun:verb
. You can also specify a wild card for either the noun or the verb. For instance *:created
corresponds to all created
events for every entity. Furthermore, flag:*
corresponds to all flag
events, and *:*
corresponds to every single event.
Examples of configuring events include: