Audit Events: Add merge request settings changes part 2
Problem to solve
Changes to project merge request settings could cause considerable impact. We would like to track these settings changes in audit events and potentially enable more automation around this area.
Intended users
User experience goal
Users can view audit events related the merge request settings changes under Project > Security & Compliance > Audit Events
.
Proposal
Capture audit events when users modify merge request settings via app and API
- Merge commit message template
- Squash commit message template
- Default description template for merge requests
- Status checks added / edited / deleted
Further details
Permissions and Security
Documentation
Availability & Testing
Available Tier
What does success look like, and how can we measure that?
What is the type of buyer?
Is this a cross-stage feature?
Links / references
- Current tracking of project changes is done via
Project::UpdateService
- Existing audit tracking results in a lot of unnecessary inserts. Every field change create one insert statement. We can leverage on the new
Audit::Auditor
to do a bulk insert.