Skip to content

Add audit event for deleting web hooks

Anton Smith requested to merge feature/delete-webhooks-audit-event into master

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.

image

image

image

How to set up and validate locally

  1. Add a system hook, group hook and project hook.
  2. Delete all the hooks created in step (1).
  3. 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

Merge request reports