2020-09-16 14:09:47 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Placeholder class for model that is implemented in EE
|
|
|
|
class Vulnerability < ApplicationRecord
|
2020-11-17 16:09:19 -05:00
|
|
|
include IgnorableColumns
|
|
|
|
|
|
|
|
def self.link_reference_pattern
|
|
|
|
nil
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.reference_prefix
|
|
|
|
'[vulnerability:'
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.reference_postfix
|
|
|
|
']'
|
|
|
|
end
|
2020-09-16 14:09:47 -04:00
|
|
|
end
|
|
|
|
|
2021-05-11 17:10:21 -04:00
|
|
|
Vulnerability.prepend_mod
|