Skip to content

Add audit events for releases created, updated or deleted via the UI

Huzaifa Iftikhar requested to merge 418921_audit_events_for_releases_via_ui into master

What does this MR do and why?

  1. Audit events are created when releases are created, updated or deleted via the releases API.
  2. This MR adds audit events for releases created, updated or deleted via the UI by moving the logic of auditing to the service class instead of doing that from within the APIs.

Screenshots or screen recordings

image

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Ensure you have Ultimate license on your GDK.
  2. Create a project and visit its homepage
  3. Navigate to Deploy > Releases
  4. Create a new release
  5. Verify that a new audit event is created by navigating to the project's audit event dashboard via Secure > Audit events
  6. Go back and update the newly created release
  7. Verify that a new audit event is created when the release was updated.
  8. Delete the release.
  9. Verify that a new audit event is created after deleting the release.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #418921 (closed)

Edited by Huzaifa Iftikhar

Merge request reports