Skip to content

[New Audit Event]: Display project deletion in group audit event log

Summary

Currently the project events in the Audit Events Log includes "project deletion"

As a group owner, however, there's no way to retroactively determine who deleted a project unless the deletion is listed in the group Audit Event Log.

Steps to reproduce

  1. Create a group
  2. Create a project
  3. Delete the project
  4. Note the absence of the entry in the audit event log.

What is the current bug behavior?

Projects are deleted, but nothing is noted in the Audit Events Log

What is the expected correct behavior?

A note similar to:

Author Action Target At
Francesca User Deleted project path deleted-project-path, ip address 127.0.0.1 deleted-project-path 2019-12-05 05:09:36 UTC

Proposal

At a minimum, move the following event from being tracked at the project level, to the group level:

  • Project was deleted

Ideally, the following events should all be moved to the group level, given it's not easily accessible from the project audit log once they are performed:

  • Project created, deleted, renamed, moved
  • Project was archived
  • Project was unarchived
Edited by 🤖 GitLab Bot 🤖