Skip to content

Fix security scan query timeout

Pavel Shutsin requested to merge 335190-fix-security-scan-query-timeout into master

What does this MR do?

Removes security scan metric if query timeouts, so it doesn't block other metrics from being calculated. This metric will be substituted with other smaller metrics soon.

Migration output

== 20210714125029 ChangeDevopsAdoptionSecurityScanNull: reverting =============
-- change_column_null(:analytics_devops_adoption_snapshots, :security_scan_succeeded, false)
   -> 0.0061s
== 20210714125029 ChangeDevopsAdoptionSecurityScanNull: reverted (0.0084s) ====

== 20210714125029 ChangeDevopsAdoptionSecurityScanNull: migrating =============
-- change_column_null(:analytics_devops_adoption_snapshots, :security_scan_succeeded, true)
   -> 0.0054s
== 20210714125029 ChangeDevopsAdoptionSecurityScanNull: migrated (0.0054s) ====

Screenshots or Screencasts (strongly suggested)

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

Related to #335190 (closed)

Edited by Michael Kozono

Merge request reports

Loading