Feature: add save type to audit event service
requested to merge gitlab-jh/jh-team/gitlab:feature/add_save_type_to_audit_event_service into master
What does this MR do and why?
In order to more accurately control the saving flow of events, I added an option to AuditEventService
.
By default, the event is sent to the database and stream at the same time.
In order to support more frequent events, we may need to only send data to stream, such as Git fetch events.
Relates to epic: &6973
Edited by Max Woolf