debian-mirror-gitlab/lib/banzai/reference_parser/vulnerability_parser.rb
2021-06-08 01:23:25 +05:30

16 lines
402 B
Ruby

# 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_mod_with('Banzai::ReferenceParser::VulnerabilityParser')