Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1deeea6e
Commit
1deeea6e
authored
Mar 24, 2022
by
Daniel Paul Searles
Committed by
Aleksei Lipniagov
Mar 24, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Static Analysis custom error budget targets
parent
24f7775a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
0 deletions
+12
-0
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+6
-0
app/controllers/projects/security/configuration_controller.rb
...controllers/projects/security/configuration_controller.rb
+1
-0
ee/app/controllers/ee/projects/pipelines_controller.rb
ee/app/controllers/ee/projects/pipelines_controller.rb
+2
-0
ee/app/controllers/ee/projects/security/configuration_controller.rb
...trollers/ee/projects/security/configuration_controller.rb
+2
-0
ee/app/controllers/projects/security/sast_configuration_controller.rb
...ollers/projects/security/sast_configuration_controller.rb
+1
-0
No files found.
app/controllers/projects/merge_requests_controller.rb
View file @
1deeea6e
...
@@ -87,6 +87,12 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
...
@@ -87,6 +87,12 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
:discussions
,
:discussions
,
:pipelines
:pipelines
]
]
urgency
:low
,
[
:codequality_mr_diff_reports
,
:codequality_reports
,
:sast_reports
,
:secret_detection_reports
]
def
index
def
index
@merge_requests
=
@issuables
@merge_requests
=
@issuables
...
...
app/controllers/projects/security/configuration_controller.rb
View file @
1deeea6e
...
@@ -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
)
...
...
ee/app/controllers/ee/projects/pipelines_controller.rb
View file @
1deeea6e
...
@@ -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
...
...
ee/app/controllers/ee/projects/security/configuration_controller.rb
View file @
1deeea6e
...
@@ -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
...
...
ee/app/controllers/projects/security/sast_configuration_controller.rb
View file @
1deeea6e
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment