Commit 1b4c2032 authored by Michael Kozono's avatar Michael Kozono

Merge branch '335083-cleanup-dependeny-scanning-feature-flag' into 'master'

[Devops Adoption] Remove temporary feature flags

See merge request gitlab-org/gitlab!65544
parents 0cdf0bb8 d7049bc4
---
name: analytics_devops_adoption_dependency_scanning
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64624
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/335083
milestone: '14.1'
type: development
group: group::optimize
default_enabled: false
---
name: analytics_devops_adoption_sastdast
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/63868
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/333550
milestone: '14.0'
type: development
group: group::optimize
default_enabled: true
......@@ -96,20 +96,14 @@ module Analytics
end
def sast_enabled_count
return unless Feature.enabled?(:analytics_devops_adoption_sastdast, enabled_namespace.namespace, default_enabled: :yaml)
projects_count_with_artifact(Ci::JobArtifact.sast_reports)
end
def dast_enabled_count
return unless Feature.enabled?(:analytics_devops_adoption_sastdast, enabled_namespace.namespace, default_enabled: :yaml)
projects_count_with_artifact(Ci::JobArtifact.dast_reports)
end
def dependency_scanning_enabled_count
return unless Feature.enabled?(:analytics_devops_adoption_dependency_scanning, enabled_namespace.namespace, default_enabled: :yaml)
projects_count_with_artifact(Ci::JobArtifact.dependency_list_reports)
end
......
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