debian-mirror-gitlab/lib/banzai/reference_parser/vulnerability_parser.rb
2021-01-29 00:20:46 +05:30

16 lines
405 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_if_ee('::EE::Banzai::ReferenceParser::VulnerabilityParser')