Commit 512eb662 authored by Tetiana Chupryna's avatar Tetiana Chupryna Committed by Doug Stull

Assign feature category for Composition analysis features

parent 7bfa0963
...@@ -21,7 +21,8 @@ module EE ...@@ -21,7 +21,8 @@ module EE
authorize_modify_auto_fix_setting! authorize_modify_auto_fix_setting!
end end
feature_category :static_application_security_testing feature_category :static_application_security_testing, [:show]
feature_category :dependency_scanning, [:auto_fix]
end end
# rubocop:disable Gitlab/ModuleWithInstanceVariables # rubocop:disable Gitlab/ModuleWithInstanceVariables
......
...@@ -1149,7 +1149,7 @@ ...@@ -1149,7 +1149,7 @@
:tags: [] :tags: []
- :name: security_auto_fix - :name: security_auto_fix
:worker_name: Security::AutoFixWorker :worker_name: Security::AutoFixWorker
:feature_category: :vulnerability_management :feature_category: :dependency_scanning
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :unknown
......
...@@ -8,7 +8,7 @@ module Security ...@@ -8,7 +8,7 @@ module Security
sidekiq_options retry: 3 sidekiq_options retry: 3
feature_category :vulnerability_management feature_category :dependency_scanning
idempotent! idempotent!
......
...@@ -10,6 +10,8 @@ module Security ...@@ -10,6 +10,8 @@ module Security
sidekiq_options retry: 3 sidekiq_options retry: 3
include SecurityScansQueue include SecurityScansQueue
feature_category :vulnerability_management
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
def perform(pipeline_id) def perform(pipeline_id)
::Ci::Pipeline.find_by(id: pipeline_id).try do |pipeline| ::Ci::Pipeline.find_by(id: pipeline_id).try do |pipeline|
......
...@@ -6,6 +6,8 @@ module Security ...@@ -6,6 +6,8 @@ module Security
include ApplicationWorker include ApplicationWorker
include SecurityScansQueue include SecurityScansQueue
feature_category :vulnerability_management
sidekiq_options retry: 1 sidekiq_options retry: 1
data_consistency :always data_consistency :always
worker_resource_boundary :cpu worker_resource_boundary :cpu
......
...@@ -10,6 +10,8 @@ class StoreSecurityReportsWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -10,6 +10,8 @@ class StoreSecurityReportsWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: 3 sidekiq_options retry: 3
include SecurityScansQueue include SecurityScansQueue
feature_category :vulnerability_management
worker_resource_boundary :cpu worker_resource_boundary :cpu
def perform(pipeline_id) def perform(pipeline_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment