Commit e112ef64 authored by Thiago Figueiró's avatar Thiago Figueiró Committed by Doug Stull

Enable vulnerability_reads_table by default

Changelog: changed
EE: true
parent 1ad684ad
...@@ -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