Add Direct Transfer export audit events
What does this MR do and why?
This MR adds audit events for Direct Transfer relations export initiation and download. It also skips audit event generation if user is an admin and 'silent admin exports' setting is enabled for the instance.
References
Screenshots or screen recordings
| Project | Group |
|---|---|
|
|
| Before | After |
|---|---|
How to set up and validate locally
- Create a project and a group
- Initiate project relations export
- Verify audit event (under Secure -> Audit Events) for project export initiation is created
- Download project relations export
- Verify audit event (under Secure -> Audit Events) for project export download is created
- Perform the same steps for group
- Go to instance settings under Import/Export enable 'silent export for admins'
- Using admin user, perform project/group export initiation/download
- Verify audit events are not created for admin user
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by George Koltsov

