Commit 2fb01fd5 authored by Doug Stull's avatar Doug Stull

Merge branch 'thiagocsf-master-patch-48536' into 'master'

Enable vulnerability_reads_table by default

See merge request gitlab-org/gitlab!84905
parents 855a4095 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: false default_enabled: true
...@@ -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
......
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