Skip to content

Add target_type column to AuditEvent

Max Woolf requested to merge 220322-refactor-target-type-2 into master

What does this MR do?

Reintroduces the database migration part of the rolled back migration !36198 (merged)

The rest of the updates introduced in !36198 (merged) are included in !39462 (merged), which will be released in %13.4

Rational splitting the updates in that way is provided in the comments of the issue for the incident that caused the revert.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Mentions #220322 (closed)

Edited by Mayra Cabrera

Merge request reports