Rotate access tokens should fire audit events
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Audit need
As a member of security team, I would like to know when a user has rotated existing group or project access token to make sure the activity is tracked and is traceable.
Audit events are already emitted for project/group access token creation, deletion, created_failed and deletion_failed.
Proposal
Integrate agent access token rotation into the audit events framework.
Streaming-only event or normal event?
Streaming-only event is sufficient for the intended use case. There may be other use cases where it may seem relevant to persist this in gitlab's database.
Edited by 🤖 GitLab Bot 🤖