Add audit event for deleting web hooks
What does this MR do and why?
Closes #458817 (closed)
This change introduces a new audit event for when a user deletes a system/group/project hook.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Add a system hook, group hook and project hook.
- Delete all the hooks created in step (1).
- Navigate to:
-
/admin/audit_logs
- you should see the hooks deleted here along with their contexts. - In the group, navigate to
Secure > Audit Events
- you should see the deleted group hook. - In the prokect, navigate to
Secure > Audit Events
- you should see the deleted prokect hook.
-
Edited by Anton Smith