diff options
Diffstat (limited to 'app/models/vulnerability.rb')
-rw-r--r-- | app/models/vulnerability.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/models/vulnerability.rb b/app/models/vulnerability.rb index a4338c4e2bd..ab29afd0d08 100644 --- a/app/models/vulnerability.rb +++ b/app/models/vulnerability.rb @@ -2,6 +2,27 @@ # Placeholder class for model that is implemented in EE class Vulnerability < ApplicationRecord + include IgnorableColumns + + def self.link_reference_pattern + nil + end + + def self.reference_prefix + '[vulnerability:' + end + + def self.reference_prefix_escaped + '[vulnerability[' + end + + def self.reference_postfix + ']' + end + + def self.reference_postfix_escaped + ']' + end end Vulnerability.prepend_if_ee('EE::Vulnerability') |