Commit 4bfa8a0e authored by Aleksei Lipniagov's avatar Aleksei Lipniagov

Merge branch 'static-analysis-custom-targets' into 'master'

Add Static Analysis custom error budget targets

See merge request gitlab-org/gitlab!82774
parents 3c1b5fd9 1deeea6e
...@@ -87,6 +87,12 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo ...@@ -87,6 +87,12 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
:pipelines, :pipelines,
:test_reports :test_reports
] ]
urgency :low, [
:codequality_mr_diff_reports,
:codequality_reports,
:sast_reports,
:secret_detection_reports
]
def index def index
@merge_requests = @issuables @merge_requests = @issuables
......
...@@ -6,6 +6,7 @@ module Projects ...@@ -6,6 +6,7 @@ module Projects
include SecurityAndCompliancePermissions include SecurityAndCompliancePermissions
feature_category :static_application_security_testing, [:show] feature_category :static_application_security_testing, [:show]
urgency :low, [:show]
def show def show
render_403 unless can?(current_user, :read_security_configuration, project) render_403 unless can?(current_user, :read_security_configuration, project)
......
...@@ -18,6 +18,8 @@ module EE ...@@ -18,6 +18,8 @@ module EE
feature_category :license_compliance, [:licenses] feature_category :license_compliance, [:licenses]
feature_category :vulnerability_management, [:security] feature_category :vulnerability_management, [:security]
feature_category :code_quality, [:codequality_report] feature_category :code_quality, [:codequality_report]
urgency :low, [:codequality_report]
end end
def security def security
......
...@@ -24,6 +24,8 @@ module EE ...@@ -24,6 +24,8 @@ module EE
feature_category :static_application_security_testing, [:show] feature_category :static_application_security_testing, [:show]
feature_category :dependency_scanning, [:auto_fix] feature_category :dependency_scanning, [:auto_fix]
urgency :low, [:show]
end end
# rubocop:disable Gitlab/ModuleWithInstanceVariables # rubocop:disable Gitlab/ModuleWithInstanceVariables
......
...@@ -9,6 +9,7 @@ module Projects ...@@ -9,6 +9,7 @@ module Projects
alias_method :vulnerable, :project alias_method :vulnerable, :project
feature_category :static_application_security_testing feature_category :static_application_security_testing
urgency :low
def show def show
end end
......
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