Welcome to mirror list, hosted at ThFree Co, Russian Federation.

vulnerability_parser.rb « reference_parser « banzai « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 143f2605927e2728776555a446648fabf3bb1ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Banzai
  module ReferenceParser
    # The actual parser is implemented in the EE mixin
    class VulnerabilityParser < IssuableParser
      self.reference_type = :vulnerability

      def records_for_nodes(_nodes)
        {}
      end
    end
  end
end

Banzai::ReferenceParser::VulnerabilityParser.prepend_if_ee('::EE::Banzai::ReferenceParser::VulnerabilityParser')