Stream audit event on merge request approval
What does this MR do and why?
Stream audit events that relate to merge approval actions performed within a project.
How to set up and validate locally
- run rails console and execute below code to enter destination url
group = group.find 1 #replace with your group id here
destination_url = 'https://hsandhu.requestcatcher.com/events'
AuditEvents::ExternalAuditEventDestination.create(namespace_id: group.id, destination_url: destination_url)
- Run
gdk start
and open a project's merge request. - Approve merge request.
- you can view audit event stream of approval action on https://hsandhu.requestcatcher.com/
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #271162 (closed)
Edited by Harsimar Sandhu