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:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-05 00:07:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-05 00:07:31 +0300
commit71221554dd9ddf30f73035c89f78164e001aa96d (patch)
treec56e0b2fc3dd16602183b78cb3f68aed211c5e77 /lib/gitlab/usage_data.rb
parentb41cd8cb92d53454b2b160ba922d33801933a9cf (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/usage_data.rb')
-rw-r--r--lib/gitlab/usage_data.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/gitlab/usage_data.rb b/lib/gitlab/usage_data.rb
index a0ff34c76e2..7268e11ff23 100644
--- a/lib/gitlab/usage_data.rb
+++ b/lib/gitlab/usage_data.rb
@@ -108,7 +108,8 @@ module Gitlab
services_usage,
approximate_counts,
usage_counters,
- user_preferences_usage
+ user_preferences_usage,
+ ingress_modsecurity_usage
)
}
end
@@ -170,6 +171,10 @@ module Gitlab
}
end
+ def ingress_modsecurity_usage
+ ::Clusters::Applications::IngressModsecurityUsageService.new.execute
+ end
+
# rubocop: disable CodeReuse/ActiveRecord
def services_usage
types = {