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
authorize_modify_auto_fix_setting!
end
feature_category :static_application_security_testing
feature_category :static_application_security_testing, [:show]
feature_category :dependency_scanning, [:auto_fix]
end
# rubocop:disable Gitlab/ModuleWithInstanceVariables
......
......@@ -1149,7 +1149,7 @@
:tags: []
- :name: security_auto_fix
:worker_name: Security::AutoFixWorker
:feature_category: :vulnerability_management
:feature_category: :dependency_scanning
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
......
......@@ -8,7 +8,7 @@ module Security
sidekiq_options retry: 3
feature_category :vulnerability_management
feature_category :dependency_scanning
idempotent!
......
......@@ -10,6 +10,8 @@ module Security
sidekiq_options retry: 3
include SecurityScansQueue
feature_category :vulnerability_management
# rubocop: disable CodeReuse/ActiveRecord
def perform(pipeline_id)
::Ci::Pipeline.find_by(id: pipeline_id).try do |pipeline|
......
......@@ -6,6 +6,8 @@ module Security
include ApplicationWorker
include SecurityScansQueue
feature_category :vulnerability_management
sidekiq_options retry: 1
data_consistency :always
worker_resource_boundary :cpu
......
......@@ -10,6 +10,8 @@ class StoreSecurityReportsWorker # rubocop:disable Scalability/IdempotentWorker
sidekiq_options retry: 3
include SecurityScansQueue
feature_category :vulnerability_management
worker_resource_boundary :cpu
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