Add event names for changes in Protected Branches settings
requested to merge 369318-add-a-meaningful-audit-event-name-for-allow_force_push-in-protected-branches into master
What does this MR do and why?
This MR adds a meaningful audit event name in Project CICD settings when ever a setting is updated
Solves:
- Add a meaningful audit event name for `allow_fo... (#369318 - closed)
- Add a meaningful audit event name for `code_own... (#369319 - closed)
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Setup audit event streaming on a group https://docs.gitlab.com/ee/administration/audit_event_streaming.html#add-a-new-streaming-destination
- Hint: use https://webhook.site/
- Create a new project https://docs.gitlab.com/ee/user/project/working_with_projects.html#create-a-project
- Change the settings for
Allowed to force push:
andRequire approval from code owners:
in protected Branches settings https://docs.gitlab.com/ee/user/project/protected_branches.html#configure-a-protected-branch - Check audit event is streamed with correct event name.
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.
Related to #369318 (closed)
Edited by Amparo Luna