Fix few event types not getting streamed for group push rules changes
What does this MR do and why?
Fix few event types not getting streamed for group push rules changes even though they had an audit event type YML file because these were not added to EVENT_TYPE_PER_ATTR
hash in GroupPushRulesChangesAuditor
.
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.
- Setup audit event streaming destination for a group.
- Visit the group setting > repository and then expand the 'Pre-defined push rules' section.
- Update the following settings and ensure that a correct
event_type
is streamed.- Reject unverified users
- Reject unsigned commits
- Reject commits that aren't DCO certified
- Do not allow users to remove Git tags with git push
- Check whether the commit author is a GitLab user
- Prevent pushing secret files
- Branch name (regex)
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 #414569 (closed)