lib/dradis/plugins/wpscan/importer.rb in dradis-wpscan-4.3.0 vs lib/dradis/plugins/wpscan/importer.rb in dradis-wpscan-4.4.0
- old
+ new
@@ -1,6 +1,10 @@
module Dradis::Plugins::Wpscan
class Importer < Dradis::Plugins::Upload::Importer
+ def self.templates
+ { evidence: 'evidence', issue: 'vulnerability' }
+ end
+
# The framework will call this function if the user selects this plugin from
# the dropdown list and uploads a file.
# @returns true if the operation was successful, false otherwise
def import(params={})