Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/background_migration/sync_scan_result_policies.rb')
-rw-r--r--lib/gitlab/background_migration/sync_scan_result_policies.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/gitlab/background_migration/sync_scan_result_policies.rb b/lib/gitlab/background_migration/sync_scan_result_policies.rb
new file mode 100644
index 00000000000..0b68e4312f3
--- /dev/null
+++ b/lib/gitlab/background_migration/sync_scan_result_policies.rb
@@ -0,0 +1,14 @@
+# frozen_string_literal: true
+
+module Gitlab
+ module BackgroundMigration
+ # Background migration to sync scan result policies from YAML to DB table by kicking off sync Sidekiq jobs
+ class SyncScanResultPolicies < BatchedMigrationJob
+ feature_category :security_policy_management
+
+ def perform; end
+ end
+ end
+end
+
+Gitlab::BackgroundMigration::SyncScanResultPolicies.prepend_mod