Refactor audit events for Personal Access Tokens
requested to merge 374113-add-event-type-information-for-audit-events-using-auditeventservice-in-personal-access-tokens into master
What does this MR do and why?
Refactors Personal Access Token services to use Gitlab::Audit::Auditor for creating audit events. Adds new audit event types under ee/config/audit_events/types
.
How to set up and validate locally
- Create a personal access token in the user profile section of Gitlab.
- Verify the event is created in
admin/audit_events
.
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 #374113 (closed)
Edited by Aaron Huntsman