Commit a2e869a4 authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'use_findings_report_types_for_feedback' into 'master'

Use vulnerability finding report type for feedback category

See merge request gitlab-org/gitlab!44492
parents ac0af237 4b7bb588
......@@ -15,7 +15,7 @@ module Vulnerabilities
attr_accessor :vulnerability_data
enum feedback_type: { dismissal: 0, issue: 1, merge_request: 2 }, _prefix: :for
enum category: { sast: 0, dependency_scanning: 1, container_scanning: 2, dast: 3, secret_detection: 4, coverage_fuzzing: 5, api_fuzzing: 6 }
enum category: ::Vulnerabilities::Finding::REPORT_TYPES
validates :project, presence: true
validates :author, presence: true
......
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