Skip to content

Remove scanned_resources_count from security scan

What does this MR do?

Since #229522 (closed) scanned_resources_count is not used. This MR is the second step to delete it.

Migration output

Migrating:

== 20201026051643 RemoveScannedResourcesCountFromSecurityScans: migrating =====
-- remove_column(:security_scans, :scanned_resources_count)
   -> 0.0014s
== 20201026051643 RemoveScannedResourcesCountFromSecurityScans: migrated (0.0015s)

Rolling back:

== 20201026051643 RemoveScannedResourcesCountFromSecurityScans: reverting =====
-- add_column(:security_scans, :scanned_resources_count, :integer)
   -> 0.0035s
== 20201026051643 RemoveScannedResourcesCountFromSecurityScans: reverted (0.0035s)

This MR relates to #229773 (closed)

Screenshots (strongly suggested)

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
Edited by Craig Smith

Merge request reports