Add audit events for releases created, updated or deleted via the UI
What does this MR do and why?
- Audit events are created when releases are created, updated or deleted via the releases API.
- 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
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.
- Ensure you have Ultimate license on your GDK.
- Create a project and visit its homepage
- Navigate to
Deploy > Releases
- Create a new release
- Verify that a new audit event is created by navigating to the project's audit event dashboard via
Secure > Audit events
- Go back and update the newly created release
- Verify that a new audit event is created when the release was updated.
- Delete the release.
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Closes #418921 (closed)
Edited by Huzaifa Iftikhar