Skip to content

Resolve "Add a meaningful audit event name for `path` in Project"

What does this MR do and why?

Adds event type information in streaming audit event when we update Project path

How to set up and validate locally

  1. Setup external destination using https://docs.gitlab.com/ee/administration/audit_event_streaming.html#use-the-gitlab-ui or https://docs.gitlab.com/ee/administration/audit_event_streaming.html#use-the-api .
  2. Create protected project https://docs.gitlab.com/ee/user/project/working_with_projects.html#create-a-project
  3. Check audit event is created and streamed with correct event type. Also check audit event is visible at http://localhost:3000/admin/audit_logs and log is present in audit_json.log.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #369271 (closed)

Edited by Nate Rosandich

Merge request reports