Skip to content

Add overridden_uuid column to security_findings

rossfuhrman requested to merge add_overriden_uuid_column into master

What does this MR do?

This is the first step of https://gitlab.com/gitlab-org/gitlab/-/issues/336149

This migration adds the overridden_uuid column to the security_findings table.

$ rake db:migrate:up VERSION=20210722210041
== 20210722210041 AddOverriddenUuidToSecurityFindings: migrating ==============
-- add_column(:security_findings, :overridden_uuid, :uuid, {:null=>true})
   -> 0.0022s
== 20210722210041 AddOverriddenUuidToSecurityFindings: migrated (0.0110s) =====

$ rake db:migrate:down VERSION=20210722210041
== 20210722210041 AddOverriddenUuidToSecurityFindings: reverting ==============
-- remove_column(:security_findings, :overridden_uuid)
   -> 0.0016s
== 20210722210041 AddOverriddenUuidToSecurityFindings: reverted (0.0092s) =====

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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
Edited by rossfuhrman

Merge request reports