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
e112ef64
Commit
e112ef64
authored
Apr 13, 2022
by
Thiago Figueiró
Committed by
Doug Stull
Apr 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable vulnerability_reads_table by default
Changelog: changed EE: true
parent
1ad684ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
config/feature_flags/development/vulnerability_reads_table.yml
...g/feature_flags/development/vulnerability_reads_table.yml
+1
-1
ee/lib/api/vulnerabilities.rb
ee/lib/api/vulnerabilities.rb
+1
-1
No files found.
config/feature_flags/development/vulnerability_reads_table.yml
View file @
e112ef64
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/348151
...
@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/348151
milestone
:
'
14.9'
milestone
:
'
14.9'
type
:
development
type
:
development
group
:
group::threat insights
group
:
group::threat insights
default_enabled
:
fals
e
default_enabled
:
tru
e
ee/lib/api/vulnerabilities.rb
View file @
e112ef64
...
@@ -12,7 +12,7 @@ module API
...
@@ -12,7 +12,7 @@ module API
helpers
do
helpers
do
def
vulnerabilities_by
(
project
)
def
vulnerabilities_by
(
project
)
if
Feature
.
enabled?
(
:vulnerability_reads_table
,
project
)
if
Feature
.
enabled?
(
:vulnerability_reads_table
,
project
,
default_enabled: :yaml
)
Security
::
VulnerabilityReadsFinder
.
new
(
project
).
execute
.
as_vulnerabilities
Security
::
VulnerabilityReadsFinder
.
new
(
project
).
execute
.
as_vulnerabilities
else
else
Security
::
VulnerabilitiesFinder
.
new
(
project
).
execute
Security
::
VulnerabilitiesFinder
.
new
(
project
).
execute
...
...
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