Commit 4ea7ecf5 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch '343332_enable_security_report_ingestion_framework_by_default' into 'master'

Enable `security_report_ingestion_framework` FF by default

See merge request gitlab-org/gitlab!79364
parents 609fdc4f 17184621
---
name: security_report_ingestion_framework
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/66735
rollout_issue_url:
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/343332
milestone: '14.4'
type: development
group: group::threat insights
default_enabled: false
default_enabled: true
......@@ -18,7 +18,7 @@ class StoreSecurityReportsWorker # rubocop:disable Scalability/IdempotentWorker
Ci::Pipeline.find(pipeline_id).try do |pipeline|
break unless pipeline.project.can_store_security_reports?
if Feature.enabled?(:security_report_ingestion_framework, pipeline.project)
if Feature.enabled?(:security_report_ingestion_framework, pipeline.project, default_enabled: :yaml)
::Security::Ingestion::IngestReportsService.execute(pipeline)
else
::Security::StoreReportsService.new(pipeline).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