Add audit event for web hook creation
What does this MR do and why?
Closes #8068 (closed)
This change introduces a new audit event for when a user creates 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.
- Navigate to:
-
/admin/audit_logs
- you should see the hooks created here along with their contexts. - In the group, navigate to
Secure > Audit Events
- you should see the created group hook. - In the project, navigate to
Secure > Audit Events
- you should see the created project hook.
-
Edited by Anton Smith