Follow-up from "Use vulnerability finding report type for feedback category"
The following discussion from !44492 (merged) should be addressed:
-
@jschafer started a discussion: (+1 comment)
question: Are there tests we should update? Perhaps in
ee/spec/models/vulnerabilities/finding_spec.rb
?
Relevant code:
https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/models/vulnerabilities/finding.rb#L55-62
REPORT_TYPES = { sast: 0, dependency_scanning: 1, container_scanning: 2, dast: 3, secret_detection: 4, coverage_fuzzing: 5 }.with_indifferent_access.freeze
Edited by Jonathan Schafer